Skip to content

Commit 08e8a96

Browse files
webknjazseifertm
authored andcommitted
Wire Sphinx builds into the RTD config via tox
Resolves #917 Adjust test paths to new doc location.
1 parent 69540bf commit 08e8a96

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+62
-73
lines changed

.readthedocs.yaml

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,29 @@
11
---
2-
# Read the Docs configuration file for Sphinx projects
3-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
42

53
version: 2
4+
65
build:
7-
os: ubuntu-22.04
6+
os: ubuntu-24.04
87
tools:
9-
python: '3.12'
10-
11-
sphinx:
12-
configuration: docs/source/conf.py
13-
fail_on_warning: true
14-
15-
python:
16-
install:
17-
- requirements: dependencies/default/constraints.txt
18-
- requirements: dependencies/docs/constraints.txt
19-
- path: .
8+
python: >-
9+
3.12
10+
commands:
11+
- >-
12+
PYTHONWARNINGS=error
13+
python3 -Im venv "${READTHEDOCS_VIRTUALENV_PATH}"
14+
- >-
15+
PYTHONWARNINGS=error
16+
"${READTHEDOCS_VIRTUALENV_PATH}"/bin/python -Im
17+
pip install tox
18+
- >-
19+
PYTHONWARNINGS=error
20+
"${READTHEDOCS_VIRTUALENV_PATH}"/bin/python -Im
21+
tox -e docs --notest -vvvvv
22+
- >-
23+
PYTHONWARNINGS=error
24+
"${READTHEDOCS_VIRTUALENV_PATH}"/bin/python -Im
25+
tox -e docs --skip-pkg-install -q
26+
--
27+
"${READTHEDOCS_OUTPUT}"/html
28+
-b html
29+
-D language=en

docs/Makefile

Lines changed: 0 additions & 20 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)