2015-12-20 03:29:56 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
extensions = [
|
2017-11-13 14:14:44 +00:00
|
|
|
'sphinx.ext.autodoc',
|
|
|
|
'jaraco.packaging.sphinx',
|
|
|
|
'rst.linker',
|
2015-12-20 03:29:56 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
master_doc = 'index'
|
2016-04-03 02:23:15 +00:00
|
|
|
|
|
|
|
link_files = {
|
2016-11-04 13:49:30 +00:00
|
|
|
'../CHANGES.rst': dict(
|
2016-04-03 02:23:15 +00:00
|
|
|
using=dict(
|
|
|
|
GH='https://github.com',
|
|
|
|
),
|
|
|
|
replace=[
|
|
|
|
dict(
|
2017-03-30 08:43:46 +00:00
|
|
|
pattern=r'(Issue )?#(?P<issue>\d+)',
|
2017-03-30 08:36:53 +00:00
|
|
|
url='{package_url}/issues/{issue}',
|
2016-04-03 02:23:15 +00:00
|
|
|
),
|
|
|
|
dict(
|
2017-03-30 08:43:46 +00:00
|
|
|
pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
|
|
|
|
with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
|
2016-04-03 02:23:15 +00:00
|
|
|
),
|
2017-01-23 12:10:36 +00:00
|
|
|
dict(
|
2017-03-30 08:43:46 +00:00
|
|
|
pattern=r'PEP[- ](?P<pep_number>\d+)',
|
2017-01-23 12:10:36 +00:00
|
|
|
url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
|
|
|
|
),
|
2016-04-03 02:23:15 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
}
|