From aa7df884c43e38a121f874a496f2e062af9ecbbc Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Thu, 25 Apr 2013 15:27:26 +0200 Subject: [PATCH] Small fixes in doc --- README.rst | 8 +++----- doc/changes.rst | 12 +++++------- github/MainClass.py | 1 + github/Requester.py | 1 + 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.rst b/README.rst index d99494d5..90aafcc3 100644 --- a/README.rst +++ b/README.rst @@ -13,17 +13,15 @@ What's new? `Version 1.14.1 `_ (April 25th, 2013) ------------------------------------------------------------------------------------------------------------ -* Set the default User-Agent header to "PyGithub/Python". (Github has `enforced the User Agent header `_ yesterday.) -Thank you `jjh42 `_ for `the fix `_, -thank you `jasenmh `_ and `pconrad `_ for reporting `the issue `_. +* Set the default User-Agent header to "PyGithub/Python". (Github has `enforced the User Agent header `_ yesterday.) Thank you `jjh42 `_ for `the fix `_, thank you `jasenmh `_ and `pconrad `_ for reporting `the issue `_. `Version 1.14.0 `_ (April 22nd, 2013) ------------------------------------------------------------------------------------------------------------ * `Improve `_ gist edition. Thank you `jasonwiener `_ for asking: - * Delete a file with `gist.edit(files={"name.txt": None})` - * Rename a file with `gist.edit(files={"old_name.txt": github.InputFileContent(gist.files["old_name.txt"].content, new_name="new_name.txt")})` + * Delete a file with ``gist.edit(files={"name.txt": None})`` + * Rename a file with ``gist.edit(files={"old_name.txt": github.InputFileContent(gist.files["old_name.txt"].content, new_name="new_name.txt")})`` * `Raise `_ specific exceptions. Thank you `pconrad `_ for giving me the idea diff --git a/doc/changes.rst b/doc/changes.rst index e9d76636..5259ad6c 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -7,17 +7,15 @@ Stable versions `Version 1.14.1 `_ (April 25th, 2013) ------------------------------------------------------------------------------------------------------------ -* Set the default User-Agent header to "PyGithub/Python". (Github has `enforced the User Agent header `_ yesterday.) -Thank you `jjh42 `_ for `the fix `_, -thank you `jasenmh `_ and `pconrad `_ for reporting `the issue `_. +* Set the default User-Agent header to "PyGithub/Python". (Github has `enforced the User Agent header `_ yesterday.) Thank you `jjh42 `_ for `the fix `_, thank you `jasenmh `_ and `pconrad `_ for reporting `the issue `_. `Version 1.14.0 `_ (April 22nd, 2013) ------------------------------------------------------------------------------------------------------------ * `Improve `_ gist edition. Thank you `jasonwiener `_ for asking: - * Delete a file with `gist.edit(files={"name.txt": None})` - * Rename a file with `gist.edit(files={"old_name.txt": github.InputFileContent(gist.files["old_name.txt"].content, new_name="new_name.txt")})` + * Delete a file with ``gist.edit(files={"name.txt": None})`` + * Rename a file with ``gist.edit(files={"old_name.txt": github.InputFileContent(gist.files["old_name.txt"].content, new_name="new_name.txt")})`` * `Raise `_ specific exceptions. Thank you `pconrad `_ for giving me the idea @@ -31,7 +29,7 @@ Version 1.13.1 (March 28nd, 2013) * `Fix `_ for Python 3 on case-insensitive file-systems. Thank you `ptwobrussell `_ for reporting * `Expose `_ raw data returned by Github for all objects. Thank you `ptwobrussell `_ for asking -* `Add `_ a property ``Github.per_page`` (and a parameter to the constructor) to change the number of items requested in paginated requests. Thank you again `ptwobrussell `_ for asking +* `Add `_ a property :attr:`github.MainClass.Github.per_page` (and a parameter to the constructor) to change the number of items requested in paginated requests. Thank you again `ptwobrussell `_ for asking * `Implement `_ the first part of the `Notifications `_ API. Thank you `pgolm `_ * `Fix `_ automated tests on Python 3.3. Thank you `bkabrda `_ for reporting @@ -49,7 +47,7 @@ Version 1.12.1 (February 20th, 2013) --------------------------------------------------------------------------------------------------------------- * Much better documentation: http://jacquev6.github.com/PyGithub -* `Implement `_ :meth:`github.Repository.Repository.get_gir_contents`. Thank you `ksookocheff-va `_ for asking +* `Implement `_ :meth:`github.Repository.Repository.get_dir_contents`. Thank you `ksookocheff-va `_ for asking `Version 1.11.1 `_ (February 9th, 2013) (London edition) ------------------------------------------------------------------------------------------------------------------------------- diff --git a/github/MainClass.py b/github/MainClass.py index 91463836..73aa1123 100644 --- a/github/MainClass.py +++ b/github/MainClass.py @@ -2,6 +2,7 @@ # Copyright 2013 Peter Golm golm.peter@gmail.com # Copyright 2013 Vincent Jacques vincent@vincent-jacques.net +# Copyright 2013 Jonathan J Hunt hunt@braincorporation.com # This file is part of PyGithub. http://jacquev6.github.com/PyGithub/ diff --git a/github/Requester.py b/github/Requester.py index 403b6173..f65a99f7 100644 --- a/github/Requester.py +++ b/github/Requester.py @@ -8,6 +8,7 @@ # Copyright 2012 Vincent Jacques vincent@vincent-jacques.net # Copyright 2012 Zearin zearin@gonk.net # Copyright 2013 Vincent Jacques vincent@vincent-jacques.net +# Copyright 2013 Jonathan J Hunt hunt@braincorporation.com # This file is part of PyGithub. http://jacquev6.github.com/PyGithub/