aboutsummaryrefslogtreecommitdiff
path: root/doc/conf.py
blob: 55e3572790c58b086ecf075da1ad014521647853 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from datetime import datetime

html_theme = "sphinx_rtd_theme"
extensions = ['sphinx.ext.viewcode']

project = 'Rumba'
year = datetime.now().year
copyright = '2017-2018'
author = 'Sander Vrijders, Marco Capitani, Dimitri Staessens, Vincenzo Maffione'
master_doc = 'index'
source_suffix = '.rst'
default_role = 'obj'
language = None

extensions.extend(['sphinx.ext.autodoc'])
autodoc_default_flags = ['members']

autoclass_content = 'both'

html_static_path = ['_static']
templates_path = ['_templates']

_locals = {}
with open('../rumba/_version.py') as fp:
    exec(fp.read(), None, _locals)
version = _locals['__version__']

version = version
release = version