diff options
| -rw-r--r-- | docs/conf.py | 4 | ||||
| -rwxr-xr-x | setup.py | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 155f83f3..1a4da380 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -254,6 +254,10 @@ link_files = { pattern=r"PEP[- ](?P<pep_number>\d+)", url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/', ), + dict( + pattern=r"^(?m)((?P<scm_version>\d+(\.\d+){1,2}))\n[-=]+\n", + with_scm="{text}\n{rev[timestamp]}\n", + ), ], ), } @@ -67,7 +67,7 @@ if (sys.platform == 'win32' or (os.name == 'java' and os._name == 'nt')) \ needs_pytest = set(['ptr', 'pytest', 'test']).intersection(sys.argv) pytest_runner = ['pytest-runner'] if needs_pytest else [] needs_sphinx = set(['build_sphinx', 'upload_docs']).intersection(sys.argv) -sphinx = ['sphinx', 'rst.linker'] if needs_sphinx else [] +sphinx = ['sphinx', 'rst.linker>=1.4'] if needs_sphinx else [] setup_params = dict( name="setuptools", |
