GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add ability to pull snippets when generating JSON documentation · Issue #1951 · googleapis/google-cloud-python

Add ability to pull snippets when generating JSON documentation #1951

New issue
Copy link
New issue
Copy link
Closed
Closed
Add ability to pull snippets when generating JSON documentation#1951
Copy link
Assignees
daspecster

Description

@daspecster
daspecster
opened on Jul 1, 2016
Issue body actions

We have a lot of great snippet code that we should be able to include when we generate docs.

See: pubsub_snippets.py

Activity

  1. daspecster
    added
    docs
    on Jul 1, 2016
  2. tseaver commented on Jul 8, 2016

    @tseaver
    tseaver
    on Jul 8, 2016
    Contributor
    More actions

    FTR, those snippets are embedded into Sphinx narrative docs and into docstrings via the .. literalinclude: directives.

  3. daspecster commented on Jul 8, 2016

    @daspecster
    daspecster
    on Jul 8, 2016
    ContributorAuthor
    More actions

    Yeah, I will need to recreate the literalinclude directive functionality and add the ability to parse the files and START and END sections.

  4. daspecster commented on Jul 12, 2016

    @daspecster
    daspecster
    on Jul 12, 2016
    ContributorAuthor
    More actions

    Currently the generator isn't pulling in any RST files. Grabs the doc strings from the modules/classes/methods/functions.

    What I'm thinking of doing just for right now is just grabbing the snippets and populating the examples = [] with the snippets.

    @tseaver, do you think it would be possible to move the snippets to the module/class/etc doc strings later on or would that make things too messy?

  5. daspecster
    added a commit that references this issue on Jul 13, 2016

    Add snippets to base service module. closes googleapis#1951

    This issue will close once commit b621d1f is merged into the 'master' branch.
    b621d1f
  6. daspecster commented on Jul 13, 2016

    @daspecster
    daspecster
    on Jul 13, 2016
    ContributorAuthor
    More actions

    Added to #1775.

  7. daspecster
    closed this as completedon Jul 13, 2016
  8. daspecster
    added 3 commits that reference this issue on Jul 20, 2016

    Add snippets to base service module. closes googleapis#1951

    This issue will close once commit 7ffd691 is merged into the 'master' branch.
    7ffd691

    Initial update to generate json docs

    This issue will close once commit d606735 is merged into the 'master' branch.
    d606735

    Initial update to generate json docs

    This issue will close once commit de3d16f is merged into the 'master' branch.
    de3d16f
  9. JustinBeckwith
    assigned
    daspecster
    on Feb 1, 2021
  10. parthea
    added a commit that references this issue on Nov 24, 2025

    chore(deps): update all dependencies (#1951)

    5c0fbbd
  11. parthea
    added a commit that references this issue on Mar 2, 2026

    chore: Migrate gsutil usage to gcloud storage (#1951)

    49221b0
  12. parthea
    added a commit that references this issue on Apr 1, 2026

    chore: always write all metrics (#1951)

    da7f6ff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @daspecster
    daspecster

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.