Files
docs/root/robots.txt
T
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

6 lines
112 B
Plaintext

User-agent: *
Allow: /
Sitemap: https://docs.ely.by/ru/sitemap.xml
Sitemap: https://docs.ely.by/en/sitemap.xml