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 .. }