-
Notifications
You must be signed in to change notification settings - Fork 120
docs: generate new samples/README.md, README.md #268
Conversation
Codecov Report
@@ Coverage Diff @@
## master #268 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 1 1
Lines 3 3
=====================================
Hits 3 3 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than that small nit wanting to make sure the version change is okay, LGTM
If a yoshi expert deems it good, I trust them :)
samples/quickstart.js
Outdated
@@ -16,7 +16,7 @@ | |||
'use strict'; | |||
|
|||
// [START translate_quickstart] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The region tag here should be moved right before the // Imports the Google Cloud...
Inside of the main
function, after we instantiate the client, create an async quickstart
method that takes no params. Then call it!
npm install | ||
``` | ||
|
||
#### Run the Tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Silly question - why are we telling developers how to run the sample tests in the README? That feels like something for CONTRIBUTING at best.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not silly - is that where we're putting them in other repos? My argument for leaving the command in the README (perhaps in addition to CONTRIBUTING?) is that not all users are contributors, and I see it as a teaching tool to promote TDD
switch to new auto-generated README and samples/README.md.