@webdoc/legacy-template

2.2.0 • Public • Published

© 2020-2022 webdoc Labs

@webdoc/legacy-template

This package is a direct port of JSDoc's default template to webdoc. The publish script has significant changes due to the poor structure of the JSDoc project. Specifically, functions from jsdoc/templateHelper.js have been imported into the package and refactored to be compatible with webdoc. The template and static files have also been heavily refactored.

A significant part of the JSDoc template code has been moved to @webdoc/template-library!

Usage

Install the webdoc CLI and this template:

npm install -D @webdoc/cli @webdoc/legacy-template

Create a webdoc.conf.json file in the root directory of your project:

{
    "sourceFiles": {
        "includePattern": "./**/*.js"
    },
    "opts": {
        "template": "@webdoc/legacy-template"
    }
}

Run webdoc (this will automatically detect the configuration file; if not, use -c <conf-file.json> to pass it manually):

webdoc

Package Sidebar

Install

npm i @webdoc/legacy-template

Weekly Downloads

790

Version

2.2.0

License

The Prosperity Public License 3.0.0

Unpacked Size

1.05 MB

Total Files

44

Last publish

Collaborators

  • shukantpal