Skip to content

Commit b4f6348

Browse files
committed
Docs: use strict prefixing in intersphinx
This is not yet merged feature in Sphinx, see sphinx-doc/sphinx#8981
1 parent e69525f commit b4f6348

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ def setup(app):
197197
"pip": ("https://pip.pypa.io/en/stable/", None),
198198
"compressor": ("https://django-compressor.readthedocs.io/en/stable/", None),
199199
}
200+
# See https://github.com/sphinx-doc/sphinx/pull/8981
201+
intersphinx_strict_prefix = True
200202

201203
# Ignore missing targets for the http:obj <type>, it's how we declare the types
202204
# for input/output fields in the API docs.

0 commit comments

Comments
 (0)