Skip to content

Commit 071d38d

Browse files
committed
Upgrade sphinx dependency, adjust docs setup to account for api changes
1 parent e39960f commit 071d38d

4 files changed

Lines changed: 14 additions & 23 deletions

File tree

doc/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,4 +210,6 @@
210210
]
211211

212212
# Example configuration for intersphinx: refer to the Python standard library.
213-
intersphinx_mapping = {'https://docs.python.org/': None}
213+
intersphinx_mapping = {'python': ('https://docs.python.org/', None)}
214+
215+
coverage_statistics_to_report = False

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ def doc_cover(session):
233233
session.run('cat', report_file, external=True)
234234

235235
with open('build/coverage/python.txt') as fd:
236-
# If there is no undocumented files, the report should have only 2 lines (header)
237-
if sum(1 for _ in fd) != 2:
236+
# If there is no undocumented files, the report should have only 3 lines (header)
237+
if sum(1 for _ in fd) != 3:
238238
session.error('sphinx coverage has failed')
239239

240240

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ release = [
7272
]
7373
doc = [
7474
"sadisplay>=0.4.9",
75-
"sphinx>=5.3.0, <6",
75+
"sphinx>=7.4.7, <8",
7676
"sphinx-autobuild>=2021.3.14",
7777
"sphinx-rtd-theme>=2.0.0",
7878
"sphinx-autodoc-typehints>=1.23.0",

0 commit comments

Comments
 (0)