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

#827: Use short form imports in pubsub docs #844

Merged
merged 2 commits into from
Apr 29, 2015
Merged

#827: Use short form imports in pubsub docs #844

merged 2 commits into from
Apr 29, 2015

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Apr 29, 2015

Uses #847 as a base.

Per #827.

@jgeewax, PTAL (particuarly at 4e1d2c9).

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 29, 2015
@dhermes
Copy link
Contributor

dhermes commented Apr 29, 2015

Does this have another PR as a diffbase?

Overall LGTM.

I noticed you added a forgotten method to pubsub-usage. Any reason we don't just use the Sphinx autodoc features so we don't have to worry about stuff like that?

@@ -45,16 +45,16 @@ List topics for the default project:

.. doctest::

>>> from gcloud import pubsub
>>> [topic.name for topic in pubsub.list_topics()] # API request
>>> from gcloud.pubsub import list_topics

This comment was marked as spam.

This comment was marked as spam.

@jgeewax
Copy link
Contributor

jgeewax commented Apr 29, 2015

LGTM

@tseaver
Copy link
Contributor Author

tseaver commented Apr 29, 2015

Does this have another PR as a diffbase?

#847 (the original description says so.

Overall LGTM.

I noticed you added a forgotten method to pubsub-usage. Any reason we don't just use the Sphinx
autodoc features so we don't have to worry about stuff like that?

This isn't API reference documentation -- it is "common pattern" / usage docs.

tseaver added a commit that referenced this pull request Apr 29, 2015
@tseaver tseaver merged commit d21bc3f into googleapis:master Apr 29, 2015
@tseaver tseaver deleted the 827-pubsub_docs_short_form_imports branch April 29, 2015 19:57
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling e59bf11 on tseaver:827-pubsub_docs_short_form_imports into 9568703 on GoogleCloudPlatform:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants