diff --git a/.readthedocs.yaml b/.readthedocs.yaml index aa9cb86..7fb2c9b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -18,7 +18,7 @@ build: - UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv pip install . build: html: - - zensical build + - zensical build --strict post_build: - mkdir -p $READTHEDOCS_OUTPUT/html/ - cp --recursive site/* $READTHEDOCS_OUTPUT/html/ diff --git a/pyproject.toml b/pyproject.toml index 1f3b2e7..c2ea7a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ dev = [ ] docs = [ "mkdocstrings[python]~=1.0.2", - "zensical==0.0.37", + "zensical==0.0.38", ] lint = [ "ruff>=0.15.0", @@ -140,7 +140,7 @@ commands = [ description = "build the documentation" deps = [ "-r ./requirements/docs.requirements.txt" ] commands = [ - [ "zensical", { replace = "posargs", default = [ "build" ], extend = true } ], + [ "zensical", { replace = "posargs", default = [ "build", "--strict" ], extend = true } ], ] [tool.pytest.ini_options] diff --git a/requirements/docs.requirements.txt b/requirements/docs.requirements.txt index f959a76..87a212a 100644 --- a/requirements/docs.requirements.txt +++ b/requirements/docs.requirements.txt @@ -76,5 +76,5 @@ tomli==2.4.1 # via zensical watchdog==6.0.0 # via mkdocs -zensical==0.0.37 +zensical==0.0.38 # via python-backoff (pyproject.toml:docs)