Skip to content

Commit 654d79c

Browse files
committed
Adding undocumented modules to Sphinx.
Missing: - gcloud.__init__ - gcloud.connection - gcloud.credential - gcloud.datastore.api
1 parent 0372d90 commit 654d79c

File tree

4 files changed

+41
-3
lines changed

4 files changed

+41
-3
lines changed

docs/datastore-api.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,16 @@ Connections
2323
:undoc-members:
2424
:show-inheritance:
2525

26+
Interacting with the API
27+
~~~~~~~~~~~~~~~~~~~~~~~~
28+
29+
.. automodule:: gcloud.datastore.api
30+
:members:
31+
:undoc-members:
32+
:show-inheritance:
33+
2634
Helper functions
2735
~~~~~~~~~~~~~~~~
2836

2937
.. automodule:: gcloud.datastore.helpers
30-
:members:
38+
:members:

docs/gcloud-api.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.. toctree::
2+
:maxdepth: 1
3+
:hidden:
4+
5+
GCloud Package
6+
--------------
7+
8+
:mod:`gcloud`
9+
~~~~~~~~~~~~~
10+
11+
.. automodule:: gcloud.__init__
12+
:members:
13+
:undoc-members:
14+
:show-inheritance:
15+
16+
Connections
17+
~~~~~~~~~~~
18+
19+
.. automodule:: gcloud.connection
20+
:members:
21+
:undoc-members:
22+
:show-inheritance:
23+
24+
Credentials
25+
~~~~~~~~~~~
26+
27+
.. automodule:: gcloud.credentials
28+
:members:
29+
:undoc-members:
30+
:show-inheritance:

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
:maxdepth: 0
33
:hidden:
44

5+
gcloud-api
56
datastore-api
67
datastore-entities
78
datastore-keys

gcloud/credentials.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ def get_credentials():
2727
2828
Checks environment in order of precedence:
2929
- Google App Engine (production and testing)
30-
- Environment variable GOOGLE_APPLICATION_CREDENTIALS pointing to
31-
a file with stored credentials information.
30+
- Env. var. GOOGLE_APPLICATION_CREDENTIALS pointing to stored credentials.
3231
- Stored "well known" file associated with ``gcloud`` command line tool.
3332
- Google Compute Engine production environment.
3433

0 commit comments

Comments
 (0)