Skip to content

Commit 77cf606

Browse files
committed
Doc style fixing.
1 parent b063c76 commit 77cf606

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Usage
77

88
The extension currently provides a single Sphinx `role`:
99

10-
.. role:: kw
10+
.. rst:role:: kw
1111
1212
Link to the current JSON Schema specification's definition of the keyword
1313
provided.

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ Issues = "https://github.com/python-jsonschema/sphinx-json-schema-spec/issues/"
4747
Funding = "https://github.com/sponsors/Julian"
4848
Source = "https://github.com/python-jsonschema/sphinx-json-schema-spec"
4949

50+
[tool.doc8]
51+
max-line-length=1000
52+
5053
[tool.isort]
5154
from_first = true
5255
include_trailing_comma = true

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ commands = {envpython} -m sphinx -b spelling {toxinidir}/docs/ {envtmpdir}/build
8080
deps = {[testenv:docs-dirhtml]deps}
8181

8282
[testenv:docs-style]
83-
commands = doc8 {posargs} {toxinidir}/docs
83+
commands = doc8 --config {toxinidir}/pyproject.toml {posargs} {toxinidir}/docs
8484
deps =
8585
doc8
8686
pygments

0 commit comments

Comments
 (0)