Commit Graph
9 Commits
Author SHA1 Message Date
ErickSkrauch d4b75f50f1 Replace the navbar logo with the Ely.by wordmark 2026-10-28 23:01:54 +01:00
ErickSkrauch 640150ad08 Restore the favicon of the old documentation and add bigger icons 2026-10-28 22:37:09 +01:00
ErickSkrauch 28baa947cc Use .mdx for all docs and render captioned images as figures 2026-10-28 21:07:17 +01:00
ErickSkrauch 4f8945412e Substitute the copyright year at build time 2026-10-28 20:49:02 +01:00
ErickSkrauch 930c7e63e2 Integrate Crowdin and restore CI
- Add crowdin.yml for the Docusaurus layout: documentation pages and UI strings
  (navbar, footer) with Russian as the source language. Docusaurus theme strings
  (code.json) are excluded, since the theme already has translations
- Add the CI workflow: uploads sources to Crowdin and downloads translations on
  master, builds and deploys to GitHub Pages, nightly rebuild with fresh translations.
  Local translations (i18n/en) are uploaded to Crowdin only on demand: with
  "[crowdin upload translations]" in the commit message or via a manual run
- Publish languages other than Russian and English only when their translation
  progress in Crowdin is at least 60% (scripts/crowdin-locales.mjs, DOCS_LOCALES)
- Add Chinese (zh-Hans, served under /zh/) to the locales configuration
- Generate the root index.html and robots.txt from the actually built locales
- Keep only the English translation in the repository, other i18n dirs are generated
2026-10-28 20:42:03 +01:00
ErickSkrauch b128b92941 Preserve URLs of the old Sphinx-based documentation
Build each locale into its own prefix (/ru/, /en/) with trailingSlash: false,
so pages are generated as build/<locale>/<page>.html exactly like the old
documentation and the existing URLs (e.g. /ru/api.html) keep working on
GitHub Pages without any redirects.

The site root is assembled by the postbuild script:
- index.html redirects to /ru/ or /en/ based on the browser language
- 404.html is copied from the default locale (GitHub Pages only uses the root one)
- CNAME, .nojekyll and robots.txt pointing to per-locale sitemaps
2026-10-28 18:38:44 +01:00
ErickSkrauch b63b9aa606 Update dependencies: Docusaurus 3.10, React 19, image-zoom 3
- Bump @docusaurus/* to 3.10 (constraint ^3.9: markdown.hooks requires it)
- Bump React to 19, TypeScript to 5.9, docusaurus-plugin-image-zoom to 3.x
- Relax version constraints to major versions
- Move onBrokenMarkdownLinks to markdown.hooks (deprecated option)
- Require Node.js 20+ (Docusaurus 3.10 requirement)
2026-10-28 18:25:46 +01:00
McModder aa2f5a343f ru docs seems to be done 2025-02-05 18:03:09 +03:00
McModder ea1227cdf9 started docs migration to docusaurus 2025-02-05 16:49:22 +03:00