Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

documentor

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

documentor

Documentation generator

  • 0.0.4
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Documentor

A super intuitive doc generator from Markdown

Command Line Usage

  • -i, --input: Input folder (optional flag)
  • -o, --output: Write in file
  • -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.html

Output html to STDOUT from ./docs folder and read the configuration file conf.yml

documentor docs -c conf.yml

Generate "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 -w

Configuration

  • name – Name of the project. It will be the main title for the html page.
  • version – Version of the project.
  • logo – Main logo of the project.
  • icon – Icon of the project, will typically be used for the favicon of the htmlpage.
  • footer – The content of the footer.
  • template – By default Documentator uses the alchemy template. To use a custom template path, start with ./ for a relative path or / for an absolute path.
    • Exampletemplate: ./mytemplate
  • htmlHeader – List of html element to add in the header
  • htmlBody – List of html element to add in the body

Dev

yarn install

// TODO

Test

FAQs

Package last updated on 14 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc