Skip to content

Commit 023167e

Browse files
Merge pull request #210 from aboutcode-org/fix-rtd-pages
Fix failing RTD docs builds
2 parents 0ca1881 + ee57758 commit 023167e

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

.github/workflows/docs-ci.yml

Lines changed: 3 additions & 10 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,15 +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
31-
working-directory: ./docs
32-
run: ./scripts/doc8_style_check.sh
33-
34-
27+
run: make check

.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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[metadata]
22
name = aboutcode
3+
version = 0.0.1
34
license = Apache-2.0
45

56
# description must be on ONE line https://github.com/pypa/setuptools/issues/1390
@@ -29,7 +30,7 @@ license_files =
2930
[options]
3031
zip_safe = false
3132
setup_requires = setuptools_scm[toml] >= 4
32-
python_requires = >=3.7
33+
python_requires = >=3.10
3334
install_requires =
3435

3536

0 commit comments

Comments
 (0)