Skip to content

Commit e0b8c19

Browse files
Update RTD docs builds
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 0ca1881 commit e0b8c19

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

.github/workflows/docs-ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
max-parallel: 4
1111
matrix:
12-
python-version: [3.9]
12+
python-version: [3.13]
1313

1414
steps:
1515
- name: Checkout code
@@ -20,12 +20,8 @@ jobs:
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222

23-
- name: Install Dependencies
24-
run: pip install -e .[docs]
25-
2623
- name: Check Sphinx Documentation build minimally
27-
working-directory: ./docs
28-
run: sphinx-build -E -W source build
24+
run: make docs
2925

3026
- name: Check for documentation style errors
3127
working-directory: ./docs

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ version: 2
77

88
# Build in latest ubuntu/python
99
build:
10-
os: ubuntu-22.04
10+
os: ubuntu-24.04
1111
tools:
12-
python: "3.11"
12+
python: "3.13"
1313

1414
# Build PDF & ePub
1515
formats:

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ conf:
99

1010
docs: conf
1111
rm -rf docs/build/
12-
@${ACTIVATE} sphinx-build docs/source docs/build/
12+
@${ACTIVATE} sphinx-build -E -W docs/source docs/build/
13+
14+
check:
15+
@${ACTIVATE} doc8 --max-line-length 100 docs/source/ --ignore D000 --quiet
1316

1417
clean:
1518
@echo "-> Clean the Python env"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ license_files =
2929
[options]
3030
zip_safe = false
3131
setup_requires = setuptools_scm[toml] >= 4
32-
python_requires = >=3.7
32+
python_requires = >=3.10
3333
install_requires =
3434

3535

0 commit comments

Comments
 (0)