Authoring Guide
This guide explains the everyday workflow for writers who create and maintain documentation.
Overview
-
Write content in AsciiDoc.
-
Validate locally (Vale for style, htmltest for links, build preview).
-
Commit and open a pull request.
-
CI produces HTML / PDF / DOCX and runs QA checks.
-
Multiversion site per Git tags. Each version exposes its own downloads in
_downloads
.
Project structure
docs/
├── en/ # English component
│ ├── antora.yml # Component metadata
│ └── modules/ROOT/ # Default Antora module
│ ├── pages/ # AsciiDoc pages
│ ├── assets/ # Static assets
│ │ └── images/ # Local images
│ └── attachments/ # Files for download (go to _downloads)
└── ru/ # Russian component
├── antora.yml # Component metadata
└── modules/ROOT/
├── pages/ # AsciiDoc pages
├── assets/ # Static assets
│ └── images/ # Local images
└── attachments/ # Files for download (go to _downloads)
Each language is an independent Antora component; titles and versions may differ.
Environment setup
-
Complete Installation & Setup.
-
Clone the repository and install Node.js packages:
npm ci --no-audit --no-fund
-
Perform an initial build to verify the tool-chain:
make build-all
Build modes
Local — default. Builds only the current branch HEAD or the branch set by BUILD_REF.
make build-all
make build-all BUILD_REF=my-feature
Tags — multiversion build over all Git tags.
make build-all BUILD_SCOPE=tags
Make variables: BUILD_SCOPE = local or tags, BUILD_REF defaults to HEAD.
Artefacts and layout
Daily workflow
-
Edit
.adoc
files in the appropriate language directory. -
Preview the site:
make build-html
-
Validate style and links:
make test
-
Produce all formats when you need review packages:
make build-all
-
Inspect artefacts in
build/
and downloads undersite/<locale>/<version>/_downloads
.
Pre-commit validation
Run the core checks before every commit:
vale docs/
make build-html
htmltest -c .htmltest.yml build/site
Pull-request flow
-
Create a feature branch:
git checkout -b feat/short-description
-
Make changes and run a local build:
make build-all && make test
-
Commit, push, and open a PR.
CI attaches vale.xml
and htmltest.log
to the run.
CI pipelines
Translation workflow
-
Write or update the English page.
-
Copy it to the mirror path under
docs/ru/
and translate. -
Verify cross-references in both languages.
-
Run
make build-html
and confirm search results appear. -
Open a pull request.
Tool summary
Category | Tools / Key files |
---|---|
Editing |
AsciiDoc-aware editor |
Validation |
Vale, htmltest, Shellcheck |
Build |
|
Config |
|
CI |
|