Skip to content

Commit 0bd6c94

Browse files
committed
Fix version and release (Sphinx)
1 parent 40a3b91 commit 0bd6c94

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/source/conf.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@
1616
# add these directories to sys.path here. If the directory is relative to the
1717
# documentation root, use os.path.abspath to make it absolute, like shown here.
1818
#
19-
# import os
20-
# import sys
21-
# sys.path.insert(0, os.path.abspath('.'))
19+
import os
20+
import sys
2221
from datetime import datetime
22+
sys.path.insert(0, os.path.abspath('../../src'))
23+
import rfc3986
2324

2425

2526
# -- General configuration ------------------------------------------------
@@ -64,9 +65,9 @@
6465
# built documents.
6566
#
6667
# The short X.Y version.
67-
version = u'1.0.0'
68+
version = ".".join(rfc3986.__version__.split(".")[0:2])
6869
# The full version, including alpha/beta/rc tags.
69-
release = u'1.0.0'
70+
release = rfc3986.__version__
7071

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

0 commit comments

Comments
 (0)