Skip to content

Commit dc2bd24

Browse files
authored
Merge pull request #76 from peteradrichem/master
Auto updates for year, version and release (Sphinx)
2 parents d8af438 + 6bff9ef commit dc2bd24

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/source/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
# import os
2020
# import sys
2121
# sys.path.insert(0, os.path.abspath('.'))
22+
import rfc3986
2223

2324

2425
# -- General configuration ------------------------------------------------
@@ -63,9 +64,9 @@
6364
# built documents.
6465
#
6566
# The short X.Y version.
66-
version = u'1.0.0'
67+
version = ".".join(rfc3986.__version__.split(".")[0:2])
6768
# The full version, including alpha/beta/rc tags.
68-
release = u'1.0.0'
69+
release = rfc3986.__version__
6970

7071
# The language for content autogenerated by Sphinx. Refer to documentation
7172
# for a list of supported languages.

0 commit comments

Comments
 (0)