summaryrefslogtreecommitdiff
path: root/tests/roots/test-ext-extlinks-hardcoded-urls-multiple-replacements/conf.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2022-01-22 11:59:09 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2022-03-27 15:22:11 +0900
commitc6230dc4db7b4517db5f5f5c690d813b01c04d1a (patch)
tree506adffe16fa72aedca773e53a89f68101535376 /tests/roots/test-ext-extlinks-hardcoded-urls-multiple-replacements/conf.py
parenta0679463a11487286595f13ca927598dee9b370f (diff)
downloadsphinx-git-c6230dc4db7b4517db5f5f5c690d813b01c04d1a.tar.gz
extlinks: Disable hardcoded links detector by default (refs: #10126)
The hardcoded links detector added since 4.4.0 causes troubles in many projects. Therefore, this disables it by default, and adds a new configuration `extlinks_detect_hardcoded_links` to enable it explicitly.
Diffstat (limited to 'tests/roots/test-ext-extlinks-hardcoded-urls-multiple-replacements/conf.py')
-rw-r--r--tests/roots/test-ext-extlinks-hardcoded-urls-multiple-replacements/conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/roots/test-ext-extlinks-hardcoded-urls-multiple-replacements/conf.py b/tests/roots/test-ext-extlinks-hardcoded-urls-multiple-replacements/conf.py
index f97077300..f46344971 100644
--- a/tests/roots/test-ext-extlinks-hardcoded-urls-multiple-replacements/conf.py
+++ b/tests/roots/test-ext-extlinks-hardcoded-urls-multiple-replacements/conf.py
@@ -3,3 +3,4 @@ extlinks = {
'user': ('https://github.com/%s', '@%s'),
'repo': ('https://github.com/%s', 'project %s'),
}
+extlinks_detect_hardcoded_links = True