Skip to content

Commit 8cf5b2b

Browse files
committed
build(docs): we can use doc8 again
1 parent 865e2b4 commit 8cf5b2b

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

doc/requirements.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ sphinx-code-tabs
1515
sphinxcontrib-restbuilder
1616

1717
# These aren't compatible atm with other library versions:
18-
#doc8
18+
doc8
1919
#pyenchant
2020
#sphinxcontrib-spelling

doc/requirements.pip

+13-1
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ cogapp==3.3.0
2424
# via -r doc/requirements.in
2525
colorama==0.4.6
2626
# via sphinx-autobuild
27+
doc8==1.1.1
28+
# via -r doc/requirements.in
2729
docutils==0.20.1
2830
# via
31+
# doc8
32+
# restructuredtext-lint
2933
# sphinx
3034
# sphinx-rtd-theme
3135
idna==3.6
@@ -46,12 +50,18 @@ mdurl==0.1.2
4650
# via markdown-it-py
4751
packaging==23.2
4852
# via sphinx
53+
pbr==6.0.0
54+
# via stevedore
4955
pygments==2.17.2
50-
# via sphinx
56+
# via
57+
# doc8
58+
# sphinx
5159
requests==2.31.0
5260
# via
5361
# scriv
5462
# sphinx
63+
restructuredtext-lint==1.4.0
64+
# via doc8
5565
scriv==1.5.1
5666
# via -r doc/requirements.in
5767
six==1.16.0
@@ -88,6 +98,8 @@ sphinxcontrib-restbuilder==0.3
8898
# via -r doc/requirements.in
8999
sphinxcontrib-serializinghtml==1.1.10
90100
# via sphinx
101+
stevedore==5.2.0
102+
# via doc8
91103
tornado==6.4
92104
# via livereload
93105
urllib3==2.2.1

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ allowlist_externals =
7575
commands =
7676
# If this command fails, see the comment at the top of doc/cmd.rst
7777
python -m cogapp -cP --check --verbosity=1 doc/*.rst
78-
;doc8 -q --ignore-path 'doc/_*' doc CHANGES.rst README.rst
78+
doc8 -q --ignore-path 'doc/_*' doc CHANGES.rst README.rst
7979
sphinx-build -b html -aEnqW doc doc/_build/html
8080
rst2html.py --strict README.rst doc/_build/trash
8181
- sphinx-build -b html -b linkcheck -aEnq doc doc/_build/html

0 commit comments

Comments
 (0)