-
Notifications
You must be signed in to change notification settings - Fork 603
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
docs: Configuration objects do not show inner properties #2783
Comments
November 1, 2017 4:44 PMThat seems to be the case for all methods on Bucket. I don't know the spec on this, but maybe marking * @param {object} [options] Configuration options.
- * @param {string|File} [options.destination] The place to save
+ * @param {string|File} options.destination The place to save |
@jmdobry I don't think that's the problem. When you run |
December 19, 2017 6:04 PMDoes another team need to take a look into why these aren't showing up? |
This popped up in another issue: googleapis/nodejs-firestore#91 This issue affects all of our APIs. None of the nested properties of an object are documented. For any given method, the user can only see that an "options" object is required, but none of the properties that must be specified within it. For example, see the Firestore constructor. You must use the examples to deduce the correct way to authenticate the client. This pattern repeats for all methods, and we usually don't show all possible configuration options in the example block, since that would be overwhelming. @alexander-fenster @jmdobry - who can take a look at this? |
It appears to be an issue with our documentation generator. |
What can we do? |
@hegemonic and I need to look at hegemonic/jsdoc-baseline and figure out why the nested properties on params aren't showing up. |
Already reported, it looks like: hegemonic/jsdoc-baseline#185 |
I've made a note to look into this, but I probably won't have time until next week. @jmdobry, if you have time to investigate now, please feel free to take this issue. |
ping @alexander-fenster this seems pretty important :) |
FYI, hegemonic/jsdoc-baseline#185 is now fixed (thanks, @jmdobry!). |
I've republished all the API ref docs for all the latest versions of our Node.js Cloud client libraries |
It looks great! |
Copied from original issue: googleapis/nodejs-storage#75
@jmdobry
November 1, 2017 4:41 PM
The options are documented in the source code, but for some reason don't show up on cloud.google.com
The text was updated successfully, but these errors were encountered: