Commit Graph
62 Commits
Author SHA1 Message Date
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
ErickSkrauch 6e015fe318 Resolves #4. Fix oauth user's info code example. Fix capitalized parameters names in the minecraft-auth article 2020-04-10 16:27:24 +03:00
Nik-mmzdandErickSkrauch 4aebf1a446 Update authlib tutorial (#3)
* replaced static authlib links with ely.by/load link

* removed unused authlibs from static

* Replace authlib installation example image. Final polishing of texts

Co-authored-by: ErickSkrauch <erickskrauch@ely.by>
2019-12-31 01:55:22 +03:00
ErickSkrauch 7df9fc0118 Update docs about minecraft auth 2019-09-02 00:55:00 +03:00
ErickSkrauch f0d7bae0a9 add google analytics 2019-05-29 17:37:24 +03:00
ErickSkrauchanderickskrauch 381b7a3051 English translation of skins system article (#2)
* Added English translation of skins system article

* Apply suggestions from code review

Co-Authored-By: erickskrauch <erickskrauch@ely.by>

* Update English skins system article according to the Russian article

* Apply review recommendations
2019-05-04 19:19:37 +03:00
ErickSkrauch dd6b338807 Improved Russian skins system article 2019-05-04 16:34:00 +03:00
ErickSkrauch 847226207a Fix russian skins system article 2019-05-02 20:27:00 +03:00
ErickSkrauch e7f157d0fd Update skins system docs (#1)
* Draft rewrite of skins system docs

* Second draft of skins system docs rewrite

* Final version of the article

* Apply suggestions from code review

Co-Authored-By: erickskrauch <erickskrauch@ely.by>

* Update source/ru/skins-system.rst

Co-Authored-By: erickskrauch <erickskrauch@ely.by>
2019-05-02 16:39:54 +03:00
ErickSkrauch ebbe82351a Update some strings 2019-02-24 01:15:45 +03:00
ErickSkrauch d9e058254c Use https fonts 2019-02-22 23:13:34 +03:00
ErickSkrauch 46d5d3c6b7 Improve static files copier 2019-02-22 23:13:02 +03:00
ErickSkrauch 5b80c9d439 Include _config.yml 2019-02-22 21:55:42 +03:00
ErickSkrauch e088d9ede5 Add cache for the pip dependencies 2019-02-22 18:21:11 +03:00
ErickSkrauch c3eac31ccc Remove python version 2019-02-22 18:01:17 +03:00