8000 first pass at documenting Users · bmoar/github3.py@fd327ed · GitHub
[go: up one dir, main page]

Skip to content

Commit fd327ed

Browse files
committed
first pass at documenting Users
1 parent 92238f3 commit fd327ed

File tree

1 file changed

+31
-16
lines changed

1 file changed

+31
-16
lines changed

docs/index.rst

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,22 @@ In depth documentation
6464
----------------------
6565

6666
Organized using GitHub's documentation
67-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67+
--------------------------------------
68+
69+
Users (`http://developer.github.com/v3/users/ <http://developer.github.com/v3/users/>`_)
70+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71+
72+
.. I'm not sure I like this or if i should use :mod:`users`
73+
74+
If you want to manage a user, use the `Users`_ module:
75+
76+
.. _Users: modules/users.html
77+
78+
but if you want a list of all users in order they signed up to GitHub, use:
79+
80+
.. similarly to above, perhaps :func:`iter_all_users` would be better suited inline?
81+
82+
.. autofunction:: github3.iter_all_users
6883

6984
.. one-to-one correspondence with developer.github.com/v3
7085
@@ -81,20 +96,20 @@ Modules
8196
.. toctree::
8297
:maxdepth: 1
8398

84-
api
85-
auths
86-
events
87-
gists
88-
git
89-
github
90-
issues
91-
models
92-
orgs
93-
pulls
94-
repos
95-
search_structs
96-
structs
97-
users
99+
modules/api
100+
modules/auths
101+
modules/events
102+
modules/gists
103+
modules/git
104+
modules/github
105+
modules/issues
106+
modules/models
107+
modules/orgs
108+
modules/pulls
109+
modules/repos
110+
modules/search_structs
111+
modules/structs
112+
modules/users
98113

99114
Internals
100115
~~~~~~~~~
@@ -105,7 +120,7 @@ feel the need to contribute to the project.
105120
.. toctree::
106121
:maxdepth: 1
107122

108-
models
123+
modules/models
109124
decorators
110125

111126

0 commit comments

Comments
 (0)
0