mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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.
7 lines
190 B
Python
7 lines
190 B
Python
extensions = ['sphinx.ext.extlinks']
|
|
extlinks = {
|
|
'user': ('https://github.com/%s', '@%s'),
|
|
'repo': ('https://github.com/%s', 'project %s'),
|
|
}
|
|
extlinks_detect_hardcoded_links = True
|