Passed
Push — master ( 0fd795...73442f )
by Emmanuel
14:19
created

conf   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 182
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 44
dl 0
loc 182
rs 10
c 0
b 0
f 0
wmc 0
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
#
4
# Stakkr documentation build configuration file, created by
5
# sphinx-quickstart on Mon Jul 10 13:30:18 2017.
6
#
7
# This file is execfile()d with the current directory set to its
8
# containing dir.
9
#
10
# Note that not all possible configuration values are present in this
11
# autogenerated file.
12
#
13
# All configuration values have a default; values that are commented out
14
# serve to show the default.
15
16
# If extensions (or modules to document with autodoc) are in another directory,
17
# add these directories to sys.path here. If the directory is relative to the
18
# documentation root, use os.path.abspath to make it absolute, like shown here.
19
#
20
import os
21
import sphinx_rtd_theme
22
import sys
23
24
doc_path = os.path.abspath(os.path.dirname(__file__) + '/../')
25
sys.path.insert(0, doc_path)
26
27
# -- General configuration ------------------------------------------------
28
29
# If your documentation needs a minimal Sphinx version, state it here.
30
#
31
# needs_sphinx = '1.0'
32
33
# Add any Sphinx extension module names here, as strings. They can be
34
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
35
# ones.
36
extensions = [
37
    'sphinx.ext.autodoc',
38
    'sphinx.ext.doctest',
39
    'sphinx.ext.todo',
40
    'sphinx.ext.coverage',
41
    'sphinx.ext.viewcode',
42
    'sphinx.ext.githubpages',
43
    'sphinx_click.ext'
44
]
45
46
# Add any paths that contain templates here, relative to this directory.
47
templates_path = ['_templates']
48
49
# The suffix(es) of source filenames.
50
# You can specify multiple suffix as a list of string:
51
#
52
# source_suffix = ['.rst', '.md']
53
source_suffix = '.rst'
54
55
# The master toctree document.
56
master_doc = 'index'
57
58
# General information about the project.
59
project = 'stakkr'
60
copyright = '2017, Emmanuel Dyan'
61
author = 'Emmanuel Dyan'
62
63
# The version info for the project you're documenting, acts as replacement for
64
# |version| and |release|, also used in various other places throughout the
65
# built documents.
66
#
67
# The short X.Y version.
68
version = '3.0'
69
# The full version, including alpha/beta/rc tags.
70
release = '3.0'
71
72
# The language for content autogenerated by Sphinx. Refer to documentation
73
# for a list of supported languages.
74
#
75
# This is also used if you do content translation via gettext catalogs.
76
# Usually you set "language" from the command line for these cases.
77
language = None
78
79
# List of patterns, relative to source directory, that match files and
80
# directories to ignore when looking for source files.
81
# This patterns also effect to html_static_path and html_extra_path
82
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '*_stakkr']
83
84
# The name of the Pygments (syntax highlighting) style to use.
85
pygments_style = 'default'
86
87
# If true, `todo` and `todoList` produce output, else they produce nothing.
88
todo_include_todos = True
89
90
91
# -- Options for HTML output ----------------------------------------------
92
93
# The theme to use for HTML and HTML Help pages.  See the documentation for
94
# a list of builtin themes.
95
#
96
html_theme = 'sphinx_rtd_theme'
97
98
99
# Theme options are theme-specific and customize the look and feel of a theme
100
# further.  For a list of options available for each theme, see the
101
# documentation.
102
#
103
# html_theme_options = {}
104
105
# Add any paths that contain custom static files (such as style sheets) here,
106
# relative to this directory. They are copied after the builtin static files,
107
# so a file named "default.css" will overwrite the builtin "default.css".
108
html_static_path = ['_static']
109
110
# Custom sidebar templates, must be a dictionary that maps document names
111
# to template names.
112
#
113
# This is required for the alabaster theme
114
# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
115
html_sidebars = {
116
    '**': [
117
        'searchbox.html',
118
        'pages/installation.html',
119
        # 'navigation.rst',
120
        # 'cli.html',
121
        # 'code.html',
122
        # 'plugin-development.html',
123
        # 'donate.html',
124
    ]
125
}
126
127
128
# -- Options for HTMLHelp output ------------------------------------------
129
130
# Output file base name for HTML help builder.
131
htmlhelp_basename = 'Stakkrdoc'
132
133
134
# -- Options for LaTeX output ---------------------------------------------
135
136
latex_elements = {
137
    # The paper size ('letterpaper' or 'a4paper').
138
    #
139
    # 'papersize': 'letterpaper',
140
141
    # The font size ('10pt', '11pt' or '12pt').
142
    #
143
    # 'pointsize': '10pt',
144
145
    # Additional stuff for the LaTeX preamble.
146
    #
147
    # 'preamble': '',
148
149
    # Latex figure (float) alignment
150
    #
151
    # 'figure_align': 'htbp',
152
}
153
154
# Grouping the document tree into LaTeX files. List of tuples
155
# (source start file, target name, title,
156
#  author, documentclass [howto, manual, or own class]).
157
latex_documents = [
158
    (master_doc, 'Stakkr.tex', 'Stakkr Documentation',
159
     'Emmanuel Dyan', 'manual'),
160
]
161
162
163
# -- Options for manual page output ---------------------------------------
164
165
# One entry per manual page. List of tuples
166
# (source start file, name, description, authors, manual section).
167
man_pages = [
168
    (master_doc, 'stakkr', 'Stakkr Documentation',
169
     [author], 1)
170
]
171
172
173
# -- Options for Texinfo output -------------------------------------------
174
175
# Grouping the document tree into Texinfo files. List of tuples
176
# (source start file, target name, title, author,
177
#  dir menu entry, description, category)
178
texinfo_documents = [
179
    (master_doc, 'Stakkr', 'Stakkr Documentation',
180
     author, 'Stakkr', 'One line description of project.',
181
     'Miscellaneous'),
182
]
183