Skip to content

Commit 171f71c

Browse files
committed
Refer to package as github2 throughout.
It is apparently quite confusing to read the docs with python-github2/github2 used in various places.
1 parent 86e2d06 commit 171f71c

15 files changed

Lines changed: 35 additions & 30 deletions

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
================================================================================
2-
python-github2 - Github API v2 library for Python.
2+
github2 - Github API v2 library for Python.
33
================================================================================
44

55
:Authors:

doc/api/client.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. module:: github2.client
2+
13
Creating a client
24
=================
35

doc/api/commit.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
.. module:: github2.commits
2+
13
Commit
24
======
35

4-
.. py:currentmodule:: github2.commits
5-
66
.. autoclass:: Commit(type)
77

88
.. autoclass:: Commits(type)

doc/api/core.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
.. module:: github2.core
2+
13
Core
24
====
35

4-
.. py:currentmodule:: github2.core
5-
66
.. note::
77
This module contains functionality that isn't useful to general users
8-
of the ``python-github2`` package, but it is documented to aid contributors
8+
of the :mod:`github2` package, but it is documented to aid contributors
99
to the package.
1010

1111
.. autofunction:: ghdate_to_datetime

doc/api/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ API documentation
1212
commit
1313
object
1414

15-
Additionally the following documentation may be useful to ``python-github2``
15+
Additionally the following documentation may be useful to :mod:`github2`
1616
contributors:
1717

1818
.. toctree::

doc/api/issues.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
.. module:: github2.issues
2+
13
Issues
24
======
35

4-
.. py:currentmodule:: github2.issues
5-
66
.. autoclass:: Issue(type)
77

88
.. autoclass:: Comment(type)

doc/api/repos.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
.. module:: github2.repositories
2+
13
Repository
24
==========
35

4-
.. py:currentmodule:: github2.repositories
5-
66
.. autoclass:: Repository(type)
77

88
.. autoclass:: Repositories(type)

doc/api/request.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
.. module:: github2.request
2+
13
Requests
24
========
35

4-
.. py:currentmodule:: github2.request
5-
66
.. note::
77
This module contains functionality that isn't useful to general users
8-
of the ``python-github2`` package, but it is documented to aid contributors
8+
of the :mod:`github2` package, but it is documented to aid contributors
99
to the package.
1010

1111
.. autodata:: GITHUB_URL

doc/api/users.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
.. module:: github2.users
2+
13
Users
24
=====
35

4-
.. py:currentmodule:: github2.users
5-
66
.. autoclass:: User(type)
77

88
.. autoclass:: Users(type)

doc/bugs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Reporting bugs
22
==============
33

4-
If you think you've found a bug, or inconsistency, in ``python-github`` please
4+
If you think you've found a bug, or inconsistency, in :mod:`github2` please
55
`report an issue`_.
66

77
.. note::

0 commit comments

Comments
 (0)