yaml-doc-bootstrap
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i yaml-doc-bootstrap

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

358 kB

Total Files

9

Last publish

Collaborators

  • enepomnyaschih