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

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

Closed
vsubramani opened this issue Aug 26, 2015 · 6 comments
Closed

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

vsubramani opened this issue Aug 26, 2015 · 6 comments
Assignees
Labels
type: question Request for information or clarification. Not an issue.

Comments

@vsubramani
Copy link

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)

@jgeewax
Copy link
Contributor

jgeewax commented Aug 26, 2015

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)

@jgeewax 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? Aug 26, 2015
@jgeewax
Copy link
Contributor

jgeewax commented Aug 26, 2015

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

@jgeewax jgeewax added the type: question Request for information or clarification. Not an issue. label Aug 26, 2015
@callmehiphop
Copy link
Contributor

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.

@jgeewax
Copy link
Contributor

jgeewax commented Aug 27, 2015

@vsubramani : Does this answer your question ?

@stephenplusplus
Copy link
Contributor

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

@vsubramani
Copy link
Author

This answers my question. Thanks folks.

sofisl pushed a commit that referenced this issue Nov 11, 2022
🤖 I have created a release \*beep\* \*boop\*
---
## [4.1.0](https://www.github.com/googleapis/nodejs-dialogflow/compare/v4.0.0...v4.1.0) (2021-06-15)


### Features

* added Automated agent reply type and allow cancellation flag for partial response feature ([#825](https://www.github.com/googleapis/nodejs-dialogflow/issues/825)) ([5b128d9](https://www.github.com/googleapis/nodejs-dialogflow/commit/5b128d97eeb63e7d7666e800e5a62789f6f56a65))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
sofisl pushed a commit that referenced this issue Jan 17, 2023
…ncy versions (#826)

This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/d923dd20-12e5-4e58-82e9-642b59bc9fd4/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@fdd03c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

4 participants