0.1.3 • Published 7 years ago
documentor v0.1.3
A super intuitive doc generator from Markdown files
Installation
npm -g i documentoror for yarn users: yarn global add documentor
Quick Usage
documentor init # initialisation of the documentationdocumentor ./docs-folder -o output.html # render the documentation to output.htmlDocumentation
Please check the documentation for more details.
Command Line Usage
-i,--input: Input folder (optional flag)-o,--output: Write in file-t,--to: Output format-c,--config: Configuration file-w,--watch: Watch docs files with partial generation-v,--verbose: Configuration file--var,--variable: Set or override config variable(s)-h,--help: Show help
Examples
Generate project.html from ./docs folder
documentor ./docs -o out.htmlOutput html to STDOUT from ./docs folder and read the configuration file conf.yml
documentor docs -c conf.ymlGenerate "out.html" with a custom name and footer
documentor ./docs -o out.html --var.name "My Project" --var.footer "(c) Project 1.0"Watch the "docs" folder and regenerate "out.html" on change
documentor docs -o out.html -wDev
yarn installTest
yarn testScreenshot
TODO
- Embed images from markdown