mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Make extlinks more flexible: use string substitution to build the full URL.
This commit is contained in:
+5
-2
@@ -6,7 +6,7 @@ sys.path.append(os.path.abspath('.'))
|
||||
|
||||
extensions = ['ext', 'sphinx.ext.autodoc', 'sphinx.ext.jsmath',
|
||||
'sphinx.ext.coverage', 'sphinx.ext.todo',
|
||||
'sphinx.ext.autosummary']
|
||||
'sphinx.ext.autosummary', 'sphinx.ext.extlinks']
|
||||
|
||||
jsmath_path = 'dummy.js'
|
||||
|
||||
@@ -16,7 +16,7 @@ master_doc = 'contents'
|
||||
source_suffix = '.txt'
|
||||
|
||||
project = 'Sphinx <Tests>'
|
||||
copyright = '2008, Georg Brandl & Team'
|
||||
copyright = '2010, Georg Brandl & Team'
|
||||
# If this is changed, remember to update the versionchanges!
|
||||
version = '0.6'
|
||||
release = '0.6alpha1'
|
||||
@@ -53,6 +53,9 @@ coverage_c_regexes = {'cfunction': r'^PyAPI_FUNC\(.*\)\s+([^_][\w_]+)'}
|
||||
|
||||
autosummary_generate = ['autosummary']
|
||||
|
||||
extlinks = {'issue': ('http://bugs.python.org/issue%s', 'issue '),
|
||||
'pyurl': ('http://python.org/%s', None)}
|
||||
|
||||
# modify tags from conf.py
|
||||
tags.add('confpytag')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user