1.0.3 • Published 3 years ago

@ridesz/usual-documentation-generator v1.0.3

Weekly downloads
63
License
MIT
Repository
gitlab
Last release
3 years ago

@ridesz/usual-documentation-generator

Gitlab pipeline status Libraries.io dependency status for latest release NPM npm type definitions npm

The typical documentation generator config I use for my TypeScript projects.

How to use

package.json setup

Just please add this scripts tag part to your package.json file too:

{
    "doc": "npx @ridesz/usual-documentation-generator",
}

GitLab CI config

Please add the necessary parts to your .gitlab-ci.yml file:

image: node:lts

stages:
    - documentation

documentation:
    stage: documentation
    script:
        - npm install
        - npm run doc
    artifacts:
        paths:
            - reports/docs
        expire_in: 1 week

This would use the latest node image and do the documentation generation as part of the documentation stage.

Running manually

If you would like to run the documentation generation manually then you can use the following command:

npm run doc

Some implementation details

The documentation is generated into the reports/docs folder.

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.3

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago