@elliottsencan/easydocs
v1.0.3
Published
Parse your project for documentation coverage and generate beautiful docs sites out of them
Downloads
5
Readme
Getting Started
Use easydocs on any npm package!
Prerequisites
- npm
npm install easy-docs -g
then add the following to your package.json
- npm
"scripts": { "generate-docs-coverage-report": "easydocs-coverage-report", "build-docs-site": "easydocs-build-docs", }
and add a configuration file called ".easydocsconfig.json"
- npm
{ "build": { "source": "./js/src", "target": "./docs" }, "meta": { "docsDescription": "Test Description", "docsName": "Easy Docs", "github": "https://www.github.com", "author": "Elliott Sencan" }, "coverage": { "required": ["FunctionDeclaration"] } }
Usage
To generate a coverage report, run
- npm
npm run generate-docs-coverage-report
To build a docs site, run
- npm
npm run build-docs-site
License
Distributed under the MIT License. See LICENSE.txt
for more information.
Contact
Elliott Sencan - [email protected]