Don't use deprecated setup.py build_sphinx

This commit is contained in:
Adam Turner committed 2022-04-16 19:08:27 +01:00
1 parent 301c7bdf57
commit ec0c13c26d
3 files changed
+3 -6

No files matched your search

+2 -2
View File
@@ -148,9 +148,9 @@ def linkify_issues_in_changelog(app, docname, source):
# this path trickery is needed because this script can
# be invoked with different working directories:
# * running make in docs/
# * running python setup.py build_sphinx in the repo root dir
# * running tox -e docs in the repo root dir
with open(changelog_path) as f:
with open(changelog_path, encoding="utf-8") as f:
changelog = f.read()
def linkify(match):
-3
View File
@@ -9,9 +9,6 @@ tag_date = true
release = egg_info -Db ''
upload = upload --sign --identity=36580288
[build_sphinx]
warning-is-error = 1
[extract_messages]
mapping_file = babel.cfg
output_file = sphinx/locale/sphinx.pot
+1 -1
View File
@@ -83,7 +83,7 @@ description =
extras =
docs
commands =
python setup.py build_sphinx {posargs}
python -m sphinx -M html ./doc ./build/sphinx -W
[testenv:docslint]
basepython = python3