diff options
author | Adam Turner <9087854+AA-Turner@users.noreply.github.com> | 2022-04-16 19:02:38 +0100 |
---|---|---|
committer | Adam Turner <9087854+AA-Turner@users.noreply.github.com> | 2022-04-16 19:08:27 +0100 |
commit | ec0c13c26dfa33a9caa21cc6ea3186da08c7e094 (patch) | |
tree | 39ec21752dfdae33e723455881da90b7db7b42ed /doc/conf.py | |
parent | 301c7bdf57eee47426c9ad4d96392bff623ee6c3 (diff) | |
download | sphinx-git-ec0c13c26dfa33a9caa21cc6ea3186da08c7e094.tar.gz |
Don't use deprecated `setup.py build_sphinx`
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py index af84b2f5d..8da5f4b16 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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): |