Commit Graph
76 Commits
Author SHA1 Message Date
ErickSkrauch bc3245cd34 Cleanup project 2026-10-29 01:11:01 +01:00
ErickSkrauch a308aa1c10 Reduce logo size 2026-10-29 01:10:47 +01:00
ErickSkrauch 40b382d4d5 Enable theme following 2026-10-29 00:55:09 +01:00
ErickSkrauch b8cdc6ec99 Enable fastly mode and overall modernize headers 2026-10-29 00:54:09 +01:00
ErickSkrauch b69892a30b Translate code examples into English, use example.com and restore the integrity warning 2026-10-29 00:14:49 +01:00
ErickSkrauch 1483395b62 Merge the locale sitemaps into a single sitemap in the site root 2026-10-29 00:04:41 +01:00
ErickSkrauch 88a4733743 Restore the documentation content lost during the migration from Sphinx 2026-10-29 00:04:41 +01:00
ErickSkrauch 7aa148f5df Describe how to work with the project in the README 2026-10-28 23:53:56 +01:00
ErickSkrauch 5de5d9bb0f Clean up the leftovers of the Docusaurus template in the config 2026-10-28 23:53:55 +01:00
ErickSkrauch b589fd1cf2 Use a separate directory for the generated files of the build 2026-10-28 23:13:42 +01:00
ErickSkrauch 507e815455 Remove unused leftovers of the Docusaurus template 2026-10-28 23:01:54 +01:00
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 c05e92fa23 Disable content segmentation for the documentation in Crowdin 2026-10-28 22:18:07 +01:00
ErickSkrauch b8bb6f5d80 Use the ids of the old documentation for the headings instead of legacy anchors 2026-10-28 22:18:07 +01:00
ErickSkrauch d4d42b429d Use 4 spaces indentation for JS, TS and JSON files 2026-10-28 21:19:06 +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 a5dac3b611 Fix anchors parity with the old documentation
- Preserve section ids of the old Sphinx-based documentation with invisible
  anchors (install-server, vanilla, authorization-code-grant, uuid, etc.),
  so existing external links still lead to the right section
- Set explicit ids for all headings, so anchors are the same in both locales
  instead of locale-dependent auto-generated slugs
- Link to minecraft-auth by the file path, so the link is validated on build
2026-10-28 18:40:23 +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 9d700ec276 en docs seems to be finished 2025-02-05 21:00:55 +03: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
ErickSkrauch 64fdb01e11 Quote Python version 2024-12-02 15:11:43 +01:00
ErickSkrauch 6aad1e5735 Try Python 3.10 2024-12-02 15:09:39 +01:00
ErickSkrauch ff0b0f7f34 Try to install packages mentioned in the error 2024-12-02 13:47:08 +01:00
ErickSkrauch 2276548a7c Try to upgrade CI Python to 3.12 2024-12-02 13:35:17 +01:00
ErickSkrauch 83f217a683 Fix hasJoined request example 2024-12-02 12:51:01 +01:00
GGSkyOneandErickSkrauch ce5cf5c6f6 Suggest community Node.js library for Ely.by API (#21)
* Suggest my npm library

Suggest my npm library as an unofficial library for ely.by for node.js

* Fix link

---------

Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru>
2024-08-14 17:14:41 +02:00
ErickSkrauch bb30974d09 Fixes #19. Reword outdated paragraphs 2024-01-24 14:50:47 +01:00
ErickSkrauch 9dcdbc9bb6 Add stupid v prefix 🙃 2024-01-24 02:38:52 +01:00
ErickSkrauch 1d39173246 Upgrade CI pipeline 2024-01-24 02:35:40 +01:00
ErickSkrauch 6e82e995e9 Fixes #17. Mention code param during OAuth 2.0 finishing 2024-01-24 02:12:10 +01:00
ErickSkrauch 8035787d87 Allow to run CI manually 2024-01-23 21:52:53 +01:00
ErickSkrauch 3ae7caa6ba Redeploy 2024-01-23 21:47:59 +01:00
ErickSkrauch 6ec0936a02 Add git fetch step to periodic CI 2021-03-25 02:14:59 +01:00
dependabot[bot]andErickSkrauch 6a037bbca8 Bump lxml from 4.6.2 to 4.6.3 (#11)
* Bump lxml from 4.6.2 to 4.6.3

Bumps [lxml](https://github.com/lxml/lxml) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.2...lxml-4.6.3)

Signed-off-by: dependabot[bot] <support@github.com>

* Reduce lock file changes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru>
2021-03-23 15:07:19 +01:00
ErickSkrauch cafd31f43e Add schedule to update translations of the documentation 2021-03-23 14:43:54 +01:00
ErickSkrauch ccc10f1850 Merge branch 'upgrade' 2021-03-23 14:38:44 +01:00
ErickSkrauch 5cebcf8abe Completely upgrade project:
- removed all translations and used Russian as the base language
- integrated crowdin
- new multilang site layout
- upgraded sphinx
- fixed search, now it correctly handles articles language
2021-03-20 03:27:22 +01:00
ErickSkrauch bc43bce964 Migrate to the GitHub Actions.
Replace pip with pipenv
2021-03-13 13:55:24 +01:00
ErickSkrauch b40d38a91e Add an article about authlib-injector 2021-03-12 12:23:53 +01:00
Nik-mmzdandErickSkrauch aee48912b1 Fix auth docs for the BungeeCord (#10)
* Russian docs update: BungeeCord instructions

* Russian docs update: BungeeCord: fix note about online-mode=false

* Edit

Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru>
2021-03-10 16:49:06 +01:00
ErickSkrauch f3ffd362b5 Update an article about Minecraft authentication 2021-03-09 12:35:49 +01:00
ErickSkrauch 1b7395da49 Document new endpoints in the skinsystem articles (#9)
* Resolves #8. Document new endpoints in the skinsystem articles

* Fix english translation after review
2021-03-05 12:22:27 +01:00
Nik-mmzdandErickSkrauch ef1bcf6348 Updated russian article about Minecraft authorization (#7)
* improved russian server installation docs

* some rephrases, removed unused anchors

* Polish russian article

Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru>
2021-03-04 12:56:54 +01:00
ErickSkrauch edcdf0022f Fix travis warnings 2020-04-10 16:33:44 +03:00
ErickSkrauch d170090980 Update dependencies versions and use more strict versions ranges 2020-04-10 16:27:43 +03:00