From 6981929c3b24d61756dc4affbe267f8f6a9be878 Mon Sep 17 00:00:00 2001 From: Lars Reimann Date: Sat, 4 Jan 2025 19:18:05 +0100 Subject: [PATCH] ci: use default build steps of ReadTheDocs again --- readthedocs.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/readthedocs.yml b/readthedocs.yml index 2267c9b98..cb5320f32 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -4,12 +4,13 @@ build: os: ubuntu-22.04 tools: python: '3.11' - commands: - - pip install poetry - - poetry config virtualenvs.create false - - cd docs && poetry install - - cd docs && cat mkdocs.yml - - cd docs && mkdocs build --clean --site-dir $READTHEDOCS_OUTPUT/html --config-file mkdocs.yml + jobs: + # https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-poetry + post_create_environment: + - cd docs && pip install poetry + - cd docs && poetry config virtualenvs.create false + post_install: + - cd docs && poetry install --with docs mkdocs: configuration: mkdocs.yml