From 87dbb94cee719cc7cafa8a183dd9e541cc25e4bf Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Sun, 2 Mar 2014 21:01:34 -0800 Subject: [PATCH] Fix doc (#224) --- .gitignore | 2 ++ github/MainClass.py | 2 +- manage.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 08f89ba1..41bec3ec 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ /PyGithub.egg-info/ /.coverage /developer.github.com/ +/gh-pages/ +/doc/doctrees/ diff --git a/github/MainClass.py b/github/MainClass.py index fd611e31..e75fb945 100644 --- a/github/MainClass.py +++ b/github/MainClass.py @@ -397,7 +397,7 @@ class Github(object): def search_code(self, query, sort=github.GithubObject.NotSet, order=github.GithubObject.NotSet, **qualifiers): """ - :calls: `GET /search/issues `_ + :calls: `GET /search/code `_ :param query: string :param sort: string ('indexed') :param order: string ('asc', 'desc') diff --git a/manage.sh b/manage.sh index 3026b7a8..0654819a 100755 --- a/manage.sh +++ b/manage.sh @@ -54,7 +54,7 @@ function doc { cd gh-pages git add . --all || exit - git commit --message "Generation doc of v1" || exit + git commit --message "Generate doc of v1" || exit git push origin gh-pages || exit cd .. }