
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@diplodoc/cli
Advanced tools
english | русский
Yfm-docs lets you build a full-fledged documentation project: with navigation, internal transitions, and full Yandex Flavored Markdown (YFM) support.

Node 22+
npm i @diplodoc/cli -g
npm run start -- -i ./input-folder -o ./output-folder -v "{\"name\":\"Alice\"}"
yfm initInitialize a new Diplodoc documentation project.
yfm init [options]
Running without flags in a terminal starts an interactive wizard. Pass --skip-interactive to use flags and defaults only.
| Option | Default | Description |
|---|---|---|
-o, --output <path> | . | Directory to create the project in |
--name <string> | directory basename | Project name |
--langs <string> | en | Comma-separated list of languages, e.g. en,ru |
--default-lang <string> | first of --langs | Default language |
--template <string> | minimal | minimal or full |
--header | true | Add navigation header with controls to toc.yaml |
--force | false | Overwrite existing output directory |
--dry-run | false | Preview files without writing |
--skip-interactive | false | Skip wizard |
minimal
<output>/
├── .yfm
├── toc.yaml
└── index.md
full — adds presets.yaml, pc.yaml and extended .yfm with pdf, search, vcs, authors config.
For multilingual projects (--langs en,ru) content is placed in per-language subdirectories:
<output>/
├── .yfm
├── presets.yaml
├── en/
│ ├── toc.yaml
│ └── index.md
└── ru/
├── toc.yaml
└── index.md
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:
cd cli
npm ci && npm run build
MIT
FAQs
Make documentation using yfm-docs in Markdown and HTML formats
The npm package @diplodoc/cli receives a total of 1,699 weekly downloads. As such, @diplodoc/cli popularity was classified as popular.
We found that @diplodoc/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.