How to use the documentation-fork.formats function in documentation-fork

To help you get started, we’ve selected a few documentation-fork examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github be-fe / react-mobx-vm / scripts / doc.js View on Github external
var bName = b.name || ''
    return aName.localeCompare(bName)
  })
  comments = comments.map(function (comment) {
    delete comment.author
    if (comment.errors && comment.errors.length) {
      console.error(
        'ERROR:\n'
        + comment.errors.map(function (c) { return c.message }).join('\n')
        + '\n'
      )
    }
    return comment
  })

  return documentation.formats.md.call(this, comments)
}

documentation-fork

a documentation generator

ISC
Latest version published 6 years ago

Package Health Score

61 / 100
Full package analysis

Popular documentation-fork functions