Coder Social home page Coder Social logo

barchart / documentation-generator Goto Github PK

View Code? Open in Web Editor NEW
2.0 17.0 6.0 1.23 MB

Command-line tool for generating technical documentation sites

License: Other

JavaScript 76.40% CSS 0.24% Handlebars 23.36%
documentation best-practices public-repository command-line-tool open-api swagger jsdoc nodejs cli

documentation-generator's Introduction

@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 14. This tool has not been tested with Node.js version 16.

Package Managers

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

License

This software is provided under the MIT license.

documentation-generator's People

Contributors

bryaningl3 avatar dependabot[bot] avatar dzmitryafanasenka avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.