Skip to content

Commit 8d0812f

Browse files
committed
Show network data related methods in network.rst.
1 parent a5a3be3 commit 8d0812f

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

doc/api/client.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ Creating a client
33

44
.. autoclass:: github2.client.Github
55
:members:
6-
:exclude-members: get_all_blobs, get_blob_info, get_tree
6+
:exclude-members:
7+
get_network_meta, get_network_data, get_all_blobs, get_blob_info, get_tree
78

89
Examples
910
--------

doc/api/network.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
Network
22
=======
33

4+
.. py:currentmodule:: github2.client
5+
6+
.. automethod:: Github.get_network_meta
7+
8+
.. automethod:: Github.get_network_data
9+
10+
Examples
11+
--------
12+
413
Network Meta
5-
-------------
14+
''''''''''''
615

716
>>> github.get_network_meta("ask/chishop")
817

918
Network Data
10-
------------
19+
''''''''''''
1120

1221
>>> github.get_network_data("schacon/simplegit",
1322
... nethash="fa8fe264b926cdebaab36420b6501bd74402a6ff")

0 commit comments

Comments
 (0)