@diplodoc/cli
TypeScript icon, indicating that this package has built-in type declarations

5.0.12 • Public • Published

english | русский


NPM version

yfm-docs

Yfm-docs lets you build a full-fledged documentation project: with navigation, internal transitions, and full Yandex Flavored Markdown (YFM) support.

Example of displaying a documentation page

Documentation

ydocs.tech

Usage

npm i @diplodoc/cli -g
npm run start -- -i ./input-folder -o ./ouput-folder -v "{\"name\":\"Alice\"}"

Source files

Preparation

You need to add .env file into repo root with data below:

GITHUB_OWNER=
GITHUB_REPO= # docs
GITHUB_TOKEN= # personal access token
GITHUB_BASE_URL= # for ex: https://api.github.com
VCS_CONNECTOR_TYPE= # github

or you can update .yfm file into docs repo

connector:
    type:
    github:
        endpoint:
        token:
        owner:
        repo:

Build from source

cd cli
npm ci && npm run build

License

MIT

Package Sidebar

Install

npm i @diplodoc/cli

Weekly Downloads

1,050

Version

5.0.12

License

MIT

Unpacked Size

116 MB

Total Files

323

Last publish

Collaborators

  • rndnm
  • robot-dataui-npm
  • alexey_w100
  • 3y3
  • martyanov-av
  • vsesh
  • makhnatkin