Skip to content

Commit 66ecd7f

Browse files
authored
docs: Lock <5 dependent sphinx extension versions (#119)
1 parent a0d5d1f commit 66ecd7f

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

Diff for: pyproject.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,17 @@ dependencies = [
4646
[project.optional-dependencies]
4747
docs = [
4848
"enum-tools",
49-
"sphinx",
49+
"sphinx>=4.0.0,<5",
5050
"sphinx-autobuild",
5151
"sphinx-toolbox",
5252
"sphinxcontrib_trio",
5353
"sphinxext-opengraph",
5454
"sphinx-book-theme==0.3.3",
55+
"sphinxcontrib-applehelp==1.0.4",
56+
"sphinxcontrib-devhelp==1.0.2",
57+
"sphinxcontrib-htmlhelp==2.0.1",
58+
"sphinxcontrib-qthelp==1.0.3",
59+
"sphinxcontrib-serializinghtml==1.1.5",
5560
]
5661
dev = [
5762
"mypy>=0.982,<2",

Diff for: table2ascii/exceptions.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class FooterColumnCountMismatchError(ColumnCountMismatchError):
4040
This class is a subclass of :class:`ColumnCountMismatchError`.
4141
4242
Attributes:
43-
footer (:class:`Sequence <collections.abc.Sequence>`\ [:class:`SupportsStr`]):
43+
footer (:class:`Sequence <collections.abc.Sequence>` [:class:`SupportsStr`]):
4444
The footer that caused the error
4545
expected_columns (:class:`int`): The number of columns that were expected
4646
"""
@@ -64,10 +64,10 @@ class BodyColumnCountMismatchError(ColumnCountMismatchError):
6464
This class is a subclass of :class:`ColumnCountMismatchError`.
6565
6666
Attributes:
67-
body (:class:`Sequence <collections.abc.Sequence>`\ [\ :class:`Sequence <collections.abc.Sequence>`\ [:class:`SupportsStr`]]):
67+
body (:class:`Sequence <collections.abc.Sequence>` [ :class:`Sequence <collections.abc.Sequence>` [:class:`SupportsStr`]]):
6868
The body that caused the error
6969
expected_columns (:class:`int`): The number of columns that were expected
70-
first_invalid_row (:class:`Sequence <collections.abc.Sequence>`\ [:class:`SupportsStr`]):
70+
first_invalid_row (:class:`Sequence <collections.abc.Sequence>` [:class:`SupportsStr`]):
7171
The first row with an invalid column count
7272
"""
7373

@@ -93,7 +93,7 @@ class AlignmentCountMismatchError(ColumnCountMismatchError):
9393
This class is a subclass of :class:`ColumnCountMismatchError`.
9494
9595
Attributes:
96-
alignments (:class:`Sequence <collections.abc.Sequence>`\ [:class:`Alignment`]):
96+
alignments (:class:`Sequence <collections.abc.Sequence>` [:class:`Alignment`]):
9797
The alignments that caused the error
9898
expected_columns (:class:`int`): The number of columns that were expected
9999
"""
@@ -117,7 +117,7 @@ class ColumnWidthsCountMismatchError(ColumnCountMismatchError):
117117
This class is a subclass of :class:`ColumnCountMismatchError`.
118118
119119
Attributes:
120-
column_widths (:class:`Sequence <collections.abc.Sequence>`\ [:data:`Optional <typing.Optional>`\ [:class:`int`]]):
120+
column_widths (:class:`Sequence <collections.abc.Sequence>` [:data:`Optional <typing.Optional>` [:class:`int`]]):
121121
The column widths that caused the error
122122
expected_columns (:class:`int`): The number of columns that were expected
123123
"""

0 commit comments

Comments
 (0)