conf   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 59
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 40
dl 0
loc 59
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
from __future__ import unicode_literals
3
4
import os
5
import traceback
6
7
extensions = [
8
    'sphinx.ext.autodoc',
9
    'sphinx.ext.autosummary',
10
    'sphinx.ext.coverage',
11
    'sphinx.ext.doctest',
12
    'sphinx.ext.extlinks',
13
    'sphinx.ext.ifconfig',
14
    'sphinx.ext.napoleon',
15
    'sphinx.ext.todo',
16
    'sphinx.ext.viewcode',
17
    'sphinxcontrib.spelling'
18
]
19
20
source_suffix = '.rst'
21
master_doc = 'index'
22
project = 'Music Album Creator'
23
year = '2019'
24
author = 'Konstantinos Lampridis'
25
copyright = '{0}, {1}'.format(year, author)
26
# try:
27
#     from pkg_resources import get_distribution
28
#     version = release = get_distribution('music_album_creation').version
29
# except Exception:
30
#     traceback.print_exc()
31
32
# The full version, including alpha/beta/rc tags
33
release = '1.7.5'
34
version = release
35
36
pygments_style = 'trac'
37
templates_path = ['.']
38
extlinks = {
39
    'issue': ('https://github.com/boromir674/music-album-creator/issues/%s', '#'),
40
    'pr': ('https://github.com/boromir674/music-album-creator/pull/%s', 'PR #'),
41
}
42
# on_rtd is whether we are on readthedocs.org
43
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
44
45
if not on_rtd:  # only set the theme if we're building docs locally
46
    html_theme = 'sphinx_rtd_theme'
47
48
html_use_smartypants = True
49
html_last_updated_fmt = '%b %d, %Y'
50
html_split_index = False
51
html_sidebars = {
52
   '**': ['searchbox.html', 'globaltoc.html', 'sourcelink.html'],
53
}
54
html_short_title = '%s-%s' % (project, version)
55
56
napoleon_use_ivar = True
57
napoleon_use_rtype = False
58
napoleon_use_param = False
59