diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 97cf712..7d09883 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -4,10 +4,16 @@ build: os: ubuntu-22.04 tools: python: "3.12" + jobs: + post_create_environment: + - apt-get update && apt-get install -y gettext + post_install: + - sphinx-build -b gettext . _build/gettext + - sphinx-intl update -p _build/gettext -l en + +sphinx: + configuration: docs/conf.py python: install: - requirements: docs/requirements.txt - -sphinx: - configuration: docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index 0a39acb..dadabd2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -9,7 +9,7 @@ project = "Argenta" copyright = "2025, kolo" author = "kolo" -master_doc = "root/index" +root_doc = "root/index" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/docs/root/quickstart.rst b/docs/root/quickstart.rst index 07b0f2e..cf0cc5c 100644 --- a/docs/root/quickstart.rst +++ b/docs/root/quickstart.rst @@ -22,6 +22,6 @@ 4. **Запуск приложения**, запускаем приложение как обычный процесс. -.. image:: https://github.com/koloideal/Argenta/blob/docs/create_docs/imgs/mock_app_preview5.png?raw=true +.. image:: https://github.com/koloideal/Argenta/blob/docs/create_docs/imgs/mock_app_preview6.png?raw=true :alt: Quickstart Example \ No newline at end of file