Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.9]
python-version: [3.13]

steps:
- name: Checkout code
Expand All @@ -20,15 +20,8 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install Dependencies
run: pip install -e .[docs]

- name: Check Sphinx Documentation build minimally
working-directory: ./docs
run: sphinx-build -E -W source build
run: make docs

- name: Check for documentation style errors
working-directory: ./docs
run: ./scripts/doc8_style_check.sh


run: make check
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ version: 2

# Build in latest ubuntu/python
build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.11"
python: "3.13"

# Build PDF & ePub
formats:
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ conf:

docs: conf
rm -rf docs/build/
@${ACTIVATE} sphinx-build docs/source docs/build/
@${ACTIVATE} sphinx-build -E -W docs/source docs/build/

check:
@${ACTIVATE} doc8 --max-line-length 100 docs/source/ --ignore D000 --quiet

clean:
@echo "-> Clean the Python env"
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[metadata]
name = aboutcode
version = 0.0.1
license = Apache-2.0

# description must be on ONE line https://github.com/pypa/setuptools/issues/1390
Expand Down Expand Up @@ -29,7 +30,7 @@ license_files =
[options]
zip_safe = false
setup_requires = setuptools_scm[toml] >= 4
python_requires = >=3.7
python_requires = >=3.10
install_requires =


Expand Down