mirror of
https://github.com/elyby/docs.git
synced 2026-11-29 19:03:23 +05:30
29d27a2ded6a59b7d3f94631fe81fe9226cb9b17
Ely.by Docs
Source of docs.ely.by, built with Docusaurus.
Development
Requires Node.js 22.
npm ci
npm run start
The dev server shows the Russian version. To check another language, download the translations from Crowdin (requires the CROWDIN_PERSONAL_TOKEN environment variable) and start the server for that locale:
npm run write-translations -- --locale ru --override
npx @crowdin/cli@4 download
npm run start -- --locale en
npm run build builds the whole site into build/, npm run serve serves it.
Writing
- Pages are written in Russian in
docs/(MDX). Don't wrap lines: one paragraph is one line. Use soft-wrap with your preferred line width. - Translations are made only on Crowdin. The
i18n/directory is generated and not committed.
Languages
Python
50.3%
Makefile
23.2%
Batchfile
22.3%
CSS
2.7%
HTML
1.5%