Closed Redsandro closed 7 years ago
Well, one way is to tweak the partial:
body.hbs
). {{>authors~}}
and {{>copyright~}}
linesjsdoc2md --partial tweaks/body.hbs
The other way is to run .getTemplateData() to get the template data, manually strip out the unwanted fields, then pass the data (as options.data
) into .render().
Thank you! :+1:
Say I want to slim down documentation and remove e.g. author and copyright because they are 500 times the same. Can I specify somewhere to ignore them, rather than copy and edit the partials?
Using
jsdoc-to-markdown
.