pull/11/head
Timothée Rebours 3 years ago
parent efef10e0e9
commit c2651faeba
  1. 4
      jsdoc2md.js

@ -22,9 +22,9 @@ fs.mkdirSync(outputDir) // make docs dir
const templateData = jsdoc2md.getTemplateDataSync(getJsdocDataOptions) const templateData = jsdoc2md.getTemplateDataSync(getJsdocDataOptions)
/* reduce templateData to an array of class names */ /* reduce templateData to an array of class names */
const classNames = templateData.filter(({kind}) => kind === 'class').map(({name}) => name) const classNames = templateData.filter(({ kind }) => kind === 'class').map(({ name }) => name)
const moduleNames = templateData.filter(({kind}) => kind === 'module').map(({name}) => name) const moduleNames = templateData.filter(({ kind }) => kind === 'module').map(({ name }) => name)
/* create a documentation file for each class */ /* create a documentation file for each class */
for (const className of classNames) { for (const className of classNames) {

Loading…
Cancel
Save