Improve JSDoc for snippets functions
Background
We'd like to have the Snippets documentation generated. Since the snippets functions are documented using jsdoc, why not generate it from that. So we need to add a few more meta data.
What to change
In lib/content/snippets.js
,
- mark private functions with
@private
- tag snippets functions with
@since
to indicate when the snippets appear first. - mark snippets entry point with
@alias
so that the snippet name appears.
Testing
No code change.
Edited by Hubert Figuière