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 — How are the examples and code snippets mastered and processed? · Issue #826 · googleapis/google-cloud-node

How are the examples and code snippets mastered and processed? #826

New issue
Copy link
New issue
Copy link
Closed
Closed
How are the examples and code snippets mastered and processed?#826
Copy link
Assignees
stephenplusplus
Labels
type: questionRequest for information or clarification. Not an issue.

Description

@vsubramani
vsubramani
opened on Aug 26, 2015
Issue body actions

I am looking into understanding how gcloud-node handles documentation and code examples, to learn more about where the doc example snippets are mastered and how they are automatically validated etc.

JJ mentioned that the best way to reach the team was to open a github issue. Would one of the owners be able to reach me so that we can a quick 30 min sync?

(JJ: removing confidential content)

Activity

  1. jgeewax commented on Aug 26, 2015

    @jgeewax
    jgeewax
    on Aug 26, 2015
    Contributor
    More actions

    How about we just answer here.... Do you have specific questions that you want answered?

    (I also removed confidential stuff -- sorry for editing your comment out from under you)

  2. jgeewax
    changed the title [-]Need information around how the examples and code snippets are mastered and processed[/-] [+]How are the examples and code snippets mastered and processed?[/+] on Aug 26, 2015
  3. jgeewax commented on Aug 26, 2015

    @jgeewax
    jgeewax
    on Aug 26, 2015
    Contributor
    More actions

    Also -- what do you mean by "mastered"?

  4. jgeewax
    added
    type: questionRequest for information or clarification. Not an issue.
    on Aug 26, 2015
  5. callmehiphop commented on Aug 26, 2015

    @callmehiphop
    callmehiphop
    on Aug 26, 2015
    Contributor
    More actions

    Our example code is tested when we run npm run test, this does the following:

    • Transforms JSDoc into JSON using dox (via shell script)
    • Runs all unit tests via Mocha.

    There is a documentation spec file that then parses all the JSON generated via dox and proceeds to run all of the @example sections within a sandboxed environment created using Node's vm module and mitm.

  6. jgeewax commented on Aug 27, 2015

    @jgeewax
    jgeewax
    on Aug 27, 2015
    Contributor
    More actions

    @vsubramani : Does this answer your question ?

  7. stephenplusplus
    added
    docs
    on Aug 31, 2015
  8. stephenplusplus commented on Aug 31, 2015

    @stephenplusplus
    stephenplusplus
    on Aug 31, 2015
    Contributor
    More actions

    Feel free to continue discussing if you have more questions @vsubramani. Thanks for asking!

  9. stephenplusplus
    closed this as completedon Aug 31, 2015
  10. vsubramani commented on Aug 31, 2015

    @vsubramani
    vsubramani
    on Aug 31, 2015
    Author
    More actions

    This answers my question. Thanks folks.

  11. JustinBeckwith
    assigned
    stephenplusplus
    on Feb 1, 2021
  12. sofisl
    added a commit that references this issue on Nov 11, 2022

    chore: release 4.1.0 (#826)

    9a7885e
  13. sofisl
    added a commit that references this issue on Jan 17, 2023

    build(test): recursively find test files; fail on unsupported depende…

    ec3f802
  14. miguelvelezsa
    added a commit that references this issue on Jan 28, 2026

    chore: release 6.4.1 (#826)

    0c28472
  15. sofisl
    added a commit that references this issue on Feb 5, 2026

    chore: release 6.4.1 (#826)

    0bf1b01
  16. sofisl
    added a commit that references this issue on Feb 17, 2026

    chore: release 6.4.1 (#826)

    f6ea7b2
  17. sofisl
    added a commit that references this issue on Mar 5, 2026

    build: fix path in generator test (#826)

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

Metadata

Metadata

Assignees

  • @stephenplusplus
    stephenplusplus

Labels

type: questionRequest for information or clarification. Not an issue.

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.