Skip to content

Commit

Permalink
Adding undocumented modules to Sphinx.
Browse files Browse the repository at this point in the history
Missing:
- gcloud.__init__
- gcloud.connection
- gcloud.credential
- gcloud.datastore.api
  • Loading branch information
dhermes committed Jan 15, 2015
1 parent d922f1d commit 2529b69
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 3 deletions.
10 changes: 9 additions & 1 deletion docs/datastore-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,16 @@ Connections
:undoc-members:
:show-inheritance:

Interacting with the API
~~~~~~~~~~~~~~~~~~~~~~~~

.. automodule:: gcloud.datastore.api
:members:
:undoc-members:
:show-inheritance:

Helper functions
~~~~~~~~~~~~~~~~

.. automodule:: gcloud.datastore.helpers
:members:
:members:
30 changes: 30 additions & 0 deletions docs/gcloud-api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.. toctree::
:maxdepth: 1
:hidden:

GCloud Package
--------------

:mod:`gcloud`
~~~~~~~~~~~~~

.. automodule:: gcloud.__init__
:members:
:undoc-members:
:show-inheritance:

Connections
~~~~~~~~~~~

.. automodule:: gcloud.connection
:members:
:undoc-members:
:show-inheritance:

Credentials
~~~~~~~~~~~

.. automodule:: gcloud.credentials
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
:maxdepth: 0
:hidden:

gcloud-api
datastore-api
datastore-entities
datastore-keys
Expand Down
3 changes: 1 addition & 2 deletions gcloud/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ def get_credentials():
Checks environment in order of precedence:
- Google App Engine (production and testing)
- Environment variable GOOGLE_APPLICATION_CREDENTIALS pointing to
a file with stored credentials information.
- Env. var. GOOGLE_APPLICATION_CREDENTIALS pointing to stored credentials.
- Stored "well known" file associated with ``gcloud`` command line tool.
- Google Compute Engine production environment.
Expand Down

0 comments on commit 2529b69

Please sign in to comment.