diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 519e8b04..168ae73e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -13,13 +13,14 @@ build: - asdf plugin add uv - asdf install uv latest - asdf global uv latest + - git fetch --tags --force create_environment: - uv venv "${READTHEDOCS_VIRTUALENV_PATH}" install: - UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group docs build: html: - - UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv run --group docs zensical build + - UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv run --group docs python scripts/run_docs.py build post_build: - mkdir -p "${READTHEDOCS_OUTPUT}/html" - cp -a docs/build/. "${READTHEDOCS_OUTPUT}/html/" diff --git a/docs/theme_overrides/base.html b/docs/theme_overrides/base.html new file mode 100644 index 00000000..10190a6e --- /dev/null +++ b/docs/theme_overrides/base.html @@ -0,0 +1,271 @@ +{#- + This file was automatically generated - do not edit +-#} +{% import "partials/language.html" as lang with context %} + + +
+ {% block site_meta %} + + + {% if page.meta and page.meta.description %} + + {% elif config.site_description %} + + {% endif %} + {% if page.meta and page.meta.author %} + + {% elif config.site_author %} + + {% endif %} + {% if page.canonical_url %} + + {% endif %} + {% if page.previous_page %} + + {% endif %} + {% if page.next_page %} + + {% endif %} + {% if config.extra.alternate is iterable %} + {% for alt in config.extra.alternate %} + + {% endfor %} + {% endif %} + {% set href = config.theme.favicon | d("assets/images/favicon.png") %} + + + {% endblock %} + {% block htmltitle %} + {% if page.meta and page.meta.title %} +