-
Notifications
You must be signed in to change notification settings - Fork 151
Home
Lloyd Brookes edited this page Sep 1, 2024
·
54 revisions
- Some real world examples
- Document a CommonJS module
- Document an ES2015 module
- Document an AMD module
- Document ES2017 features like
async
andawait
- Document TypeScript
- Listing namepaths
- Documenting .mjs, .jsx or files with any other extension
- Give your module, class or namespace a @typicalname.
- Promises (@fulfil and @reject)
- Todo lists (@todo and @done)
- Linking to external resources (using @external and @see)
- @chainable
- Custom tags
@param
list formats - table and list.-
@property
list formats - table and list. - Member index formats
- Module index formats
- Global index formats
- Output standard markdown (rather than Github-flavoured)
- Initial heading depth
- Default
@example
language
--template
example: create a project README.md--partial
example: tweak the output with a custom partial-
--helper
example: register custom helpers for use in your template - Cherry-picking which documentation appears in output
- Create a plugin
- Existing plugin list
First, check the troubleshooting page. If still have questions, post your question in an issue or the jsdoc2md chat room, i'll get back to you as soon as I can!
- Home
- How jsdoc2md works
- Additional jsdoc tags supported
- Cherry picking which documentation appears in output
- Showcase ...
- Create ...
- How To ...
- How to use with npm run
- How to use with gulp
- How to create one output file per class
- How to document a AMD module
- How to document a CommonJS module (exports)
- How to document a CommonJS module (module.exports)
- How to document an ES2015 module (multiple named exports)
- How to document an ES2015 module (single default export)
- How to document Promises (using custom tags)
- How to document a ToDo list
- How to document ES2017 features
- How to document TypeScript
- The @typicalname tag
- Linking to external resources
- Param list format options
- Listing namepaths
- Troubleshooting