diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 024fae6..77bb53f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -29,8 +29,6 @@ jobs: - name: Install dependencies run: | python -m pip install '.[docs]' - - name: Auto-generate APIDOC sources - run: make -C docs apidoc - name: Create docs env: SPHINXOPTS: ${{ github.ref != 'refs/heads/master' && '-W' || '' }} diff --git a/docs/.readthedocs.yaml b/docs/.readthedocs.yaml index 364c163..509f613 100644 --- a/docs/.readthedocs.yaml +++ b/docs/.readthedocs.yaml @@ -10,10 +10,16 @@ build: os: ubuntu-22.04 tools: python: "3.12" + jobs: + pre_build: + - make -C docs html sphinx: configuration: docs/source/conf.py python: install: - - requirements: docs/requirements.txt + - method: pip + path: . + extra_requirements: + - docs diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index 6242edf..0000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,15 +0,0 @@ -# SPDX-FileCopyrightText: Copyright DB InfraGO AG and contributors -# SPDX-License-Identifier: CC0-1.0 - -furo==2024.1.29 -Sphinx==7.2.6 -sphinx-argparse-cli==1.13.1 -sphinx-basic-ng==1.0.0b2 -sphinx-copybutton==0.5.2 -sphinxcontrib-applehelp==1.0.8 -sphinxcontrib-devhelp==1.0.6 -sphinxcontrib-htmlhelp==2.0.5 -sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.7 -sphinxcontrib-serializinghtml==1.1.10 -tomli==2.0.1