Socket
Socket
Sign inDemoInstall

@barchart/documentation-generator

Package Overview
Dependencies
479
Maintainers
14
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @barchart/documentation-generator

A command-line tool that generates technical documentation websites


Version published
Weekly downloads
3
decreased by-50%
Maintainers
14
Created
Weekly downloads
 

Readme

Source

@barchart/documentation-generator

AWS CodeBuild NPM

A command-line tool that quickly generates easy-to-maintain websites for technical documentation adhering to Barchart's guidelines for content, style, and layout.

Basic Features

  • Emits a single-page web application using Docsify, with:
    • a standard cover page,
    • a standard sidebar,
    • a standard page structure, and
    • a standard stylesheet.
  • Creates skeleton of pages, with:
    • placeholder pages (written using Markdown).
  • Auto-generates SDK documentation from your code, as follows:
    • parses your JavaScript files,
    • extracts JSDoc comments, and
    • emits markdown pages.
  • Auto-generates API documentation for your web service, as follows:
    • parses your OpenAPI file (or URL), and
    • emits markdown pages.
  • Easy to deploy and maintain using GitHub Pages.

Example Sites

These Barchart products were documented using this tool; the sites are hosted on GitHub Pages:

Usage Guide

This tool was used to document itself (see the docs folder). The resulting site has been published here:

https://barchart.github.io/documentation-generator/#/

If you're pathologically incapable of reading documentation — which would be ironic, considering the purpose of this tool — just execute the following shell commands:

npm install -g @barchart/documentation-generator

mkdir my-first-documentation-site
cd my-first-documentation-site

documentation init
documentation serve

Compatibility

This tool should be compatible with Node.js version 20.

Package Managers

This tool is a public package on NPM, named @barchart/documentation-generator.

License

This software is provided under the MIT license.

FAQs

Last updated on 09 Apr 2024

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