|
|
@ -1,8 +1,14 @@ |
|
|
|
#!/usr/bin/env python3 |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
from os import path |
|
|
|
import sphinx_bootstrap_theme |
|
|
|
from recommonmark.parser import CommonMarkParser |
|
|
|
|
|
|
|
VERSION = '' |
|
|
|
CURRENT_DIRECTORY = path.abspath(path.dirname(__file__)) |
|
|
|
with open(path.join(CURRENT_DIRECTORY, '..', 'VERSION')) as version_file: |
|
|
|
VERSION = version_file.read().strip() |
|
|
|
|
|
|
|
# -- General configuration ------------------------------------------------ |
|
|
|
|
|
|
|
# If your documentation needs a minimal Sphinx version, state it here. |
|
|
@ -44,9 +50,9 @@ author = 'Ruben Verweij' |
|
|
|
# built documents. |
|
|
|
# |
|
|
|
# The short X.Y version. |
|
|
|
version = '3.2.1' |
|
|
|
version = VERSION |
|
|
|
# The full version, including alpha/beta/rc tags. |
|
|
|
release = '3.2.1' |
|
|
|
release = VERSION |
|
|
|
|
|
|
|
# The language for content autogenerated by Sphinx. Refer to documentation |
|
|
|
# for a list of supported languages. |
|
|
|