Skip to content

Commit

Permalink
Docs: use strict prefixing in intersphinx
Browse files Browse the repository at this point in the history
This is not yet merged feature in Sphinx, see
sphinx-doc/sphinx#8981
  • Loading branch information
nijel committed Mar 11, 2021
1 parent e69525f commit b4f6348
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Expand Up @@ -197,6 +197,8 @@ def setup(app):
"pip": ("https://pip.pypa.io/en/stable/", None),
"compressor": ("https://django-compressor.readthedocs.io/en/stable/", None),
}
# See https://github.com/sphinx-doc/sphinx/pull/8981
intersphinx_strict_prefix = True

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

0 comments on commit b4f6348

Please sign in to comment.