File tree 3 files changed +15
-1
lines changed 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,12 @@ docs:
154
154
rm -rf docs/_build/
155
155
@${ACTIVATE} sphinx-build docs/source docs/_build/
156
156
157
+ check_docs :
158
+ @echo " Check Sphinx Documentation build minimally"
159
+ @${ACTIVATE} sphinx-build -E -W docs/source build
160
+ @echo " Check for documentation style errors"
161
+ @${ACTIVATE} doc8 --max-line-length 100 docs/source --ignore D000 --quiet
162
+
157
163
docker-images :
158
164
@echo " -> Build Docker services"
159
165
docker-compose build
Original file line number Diff line number Diff line change 32
32
python_versions : ['3.10', '3.11', '3.12']
33
33
test_suites :
34
34
all : make test
35
+
36
+ - template : etc/ci/azure-posix.yml
37
+ parameters :
38
+ job_name : ci_documentation
39
+ image_name : ubuntu-22.04
40
+ python_versions : ['3.10']
41
+ test_suites :
42
+ all : make check_docs
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ CUSTOM_PACKAGES=""
31
31
32
32
# Requirement arguments passed to pip and used by default or with --dev.
33
33
REQUIREMENTS=" $CUSTOM_PACKAGES --editable purldb-toolkit/ --editable purl2vcs/ --editable . --constraint requirements.txt"
34
- DEV_REQUIREMENTS=" $CUSTOM_PACKAGES --editable purldb-toolkit/[testing] --editable .[testing] --editable purl2vcs/[testing] --constraint requirements.txt --constraint requirements-dev.txt"
34
+ DEV_REQUIREMENTS=" $CUSTOM_PACKAGES --editable purldb-toolkit/[testing] --editable .[testing,docs ] --editable purl2vcs/[testing] --constraint requirements.txt --constraint requirements-dev.txt"
35
35
DOCS_REQUIREMENTS=" $CUSTOM_PACKAGES --editable purldb-toolkit/ --editable .[docs] --constraint requirements.txt"
36
36
37
37
# where we create a virtualenv
You can’t perform that action at this time.
0 commit comments