Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding docs for the Runtime Config API. #2689

Merged
merged 1 commit into from
Nov 4, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@
speech-sample
speech-alternative

.. toctree::
:maxdepth: 0
:hidden:
:caption: Runtime Configuration

runtimeconfig-usage
Client <runtimeconfig-client>
runtimeconfig-config
runtimeconfig-variable

.. toctree::
:maxdepth: 0
:hidden:
Expand Down
13 changes: 13 additions & 0 deletions docs/runtimeconfig-client.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Runtime Configuration Client
============================

.. automodule:: google.cloud.runtimeconfig.client
:members:
:show-inheritance:

Connection
~~~~~~~~~~

.. automodule:: google.cloud.runtimeconfig.connection
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/runtimeconfig-config.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Configuration
~~~~~~~~~~~~~

.. automodule:: google.cloud.runtimeconfig.config
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/runtimeconfig-usage.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Using the API
=============

.. automodule:: google.cloud.runtimeconfig
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/runtimeconfig-variable.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Variables
~~~~~~~~~

This comment was marked as spam.

This comment was marked as spam.


.. automodule:: google.cloud.runtimeconfig.variable
:members:
:show-inheritance:
1 change: 1 addition & 0 deletions scripts/verify_included_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
'monitoring',
'pubsub',
'resource_manager',
'runtimeconfig',
'speech',
'storage',
'translate',
Expand Down
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ deps =
{toxinidir}/vision
{toxinidir}/translate
{toxinidir}/speech
{toxinidir}/runtimeconfig
pytest
covercmd =
py.test --quiet \
Expand Down Expand Up @@ -110,6 +111,12 @@ covercmd =
--cov-append \
--cov-config {toxinidir}/.coveragerc \
speech/unit_tests
py.test --quiet \
--cov=google.cloud \
--cov=unit_tests \
--cov-append \
--cov-config {toxinidir}/.coveragerc \
runtimeconfig/unit_tests
coverage report --show-missing --fail-under=100

[testenv]
Expand Down