Socket
Socket
Sign inDemoInstall

yaml-doc-bootstrap

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaml-doc-bootstrap

Bootstrap template for yaml-doc.


Version published
Maintainers
1
Created
Source

yaml-doc-bootstrap

Bootstrap template for YAML-based software documentation generator.

Examples of output:

yaml-doc-bootstrap is available as npm package.

npm i yaml-doc-bootstrap

To apply the template, create a simple NodeJS script like this:

const fs = require("fs"),
    path = require("path"),
    parseYamlDocProject = require("yaml-doc").default,
    applyBootstrapTemplate = require("yaml-doc-bootstrap").default;

const project = parseYamlDocProject(path.resolve(__dirname, "project.yaml")),
  dist = path.resolve(__dirname, "dist");
fs.rmdirSync(dist, {recursive: true});
applyBootstrapTemplate(project, dist);

Create yaml-doc-compatible project.yaml in the same folder. To compile the documentation, run:

node compile.js

Project license is MIT.

FAQs

Package last updated on 26 Apr 2020

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