diff options
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.py | 6 |
1 files changed, 6 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 new file mode 100644 index 0000000..f463449 --- /dev/null +++ b/tests/roots/test-ext-extlinks-hardcoded-urls-multiple-replacements/conf.py @@ -0,0 +1,6 @@ +extensions = ['sphinx.ext.extlinks'] +extlinks = { + 'user': ('https://github.com/%s', '@%s'), + 'repo': ('https://github.com/%s', 'project %s'), +} +extlinks_detect_hardcoded_links = True |