From b3cf1db3907114eb6b492dfebaeb9b449be2d9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernst=20W=C3=BCrger?= Date: Tue, 1 Oct 2024 15:08:52 +0200 Subject: [PATCH] docs: Fix `requirements.txt` (#117) --- .github/workflows/docs.yml | 3 --- docs/.readthedocs.yaml | 8 +++++++- docs/requirements.txt | 15 --------------- 3 files changed, 7 insertions(+), 19 deletions(-) delete mode 100644 docs/requirements.txt diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 62b41a8d..df553490 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -25,9 +25,6 @@ jobs: - name: Install dependencies run: | python -m pip install '.[docs]' - - name: Auto-generate APIDOC sources - run: |- - sphinx-apidoc --output-dir docs/source/code --force . - name: Create docs run: | make -C docs html diff --git a/docs/.readthedocs.yaml b/docs/.readthedocs.yaml index 364c163b..509f6131 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 6242edf9..00000000 --- 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