Skip to content

Создавай документацию с помощью yfm-docs в Markdown и HTML форматах

License

Notifications You must be signed in to change notification settings

QIWI-API/yfm-docs

 
 

Repository files navigation

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

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:

Installation

cd yfm-docs
npm ci && npm run build

Usage

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

License

MIT

About

Создавай документацию с помощью yfm-docs в Markdown и HTML форматах

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.9%
  • JavaScript 3.0%
  • SCSS 0.1%