Socket
Socket
Sign inDemoInstall

nightdocs

Package Overview
Dependencies
5
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nightdocs

The nightdocs documentation site generator


Version published
Maintainers
1
Install size
767 kB
Created

Readme

Source

nightdocs

A lightweight blazingly-fast markdown-powered static site generator for your next project.

A simple static site generator for your next project's documentation. Converts a folder of Markdown to static HTML that you can host on a web server.

Getting Started

Install with npm:

npm install --save-dev nightdocs

Organise your documentation like this:

  • docs/
    • README.md - Contents of the left-hand sidebar
    • some.md
    • more.md
    • documentation.md
    • files.md

Then, write a toml config file like this:

[template]
project_name = "Sheep Counter Plus"
logo_src = "https://bobsrockets.com/favicon.png"

[directories]
# Path to docs (input) folder
docs = "./docs" # Default value
# Path to build (output) folder
output = "./__nightdocs" # Default value

[theme]
# Define only 1 of the following:

# Use a built-in theme. Possible values: nightdocs (default), basic
builtin = "nightdocs"
# Use a specific file instead
file = "path/to/theme.css"


Then execute:

node_modules/.bin/nightdocs --config path/to/config.toml

Contributing

Contributions are welcome! Simply fork this repository, make your changes, and submit a Pull Request (aka Merge Request).

All contributions must be declared to have the Mozilla Public License 2.0 (the same license that this repository is under).

License

The lantern build engine is licensed under the Mozilla Public License 2.0 (MPL-2.0). This license can be found in the LICENSE file in this repository, along with a link to an easy-to-read summary.

Keywords

FAQs

Last updated on 27 Feb 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc