Diff of /docs/conf.py [000000] .. [05e710]

Switch to unified view

a b/docs/conf.py
1
# -*- coding: utf-8 -*-
2
#
3
# Configuration file for the Sphinx documentation builder.
4
#
5
# This file does only contain a selection of the most common options. For a
6
# full list see the documentation:
7
# http://www.sphinx-doc.org/en/master/config
8
9
# -- Path setup --------------------------------------------------------------
10
11
# If extensions (or modules to document with autodoc) are in another directory,
12
# add these directories to sys.path here. If the directory is relative to the
13
# documentation root, use os.path.abspath to make it absolute, like shown here.
14
#
15
import os
16
import sys
17
sys.path.insert(0, os.path.abspath('.'))
18
sys.path.insert(0, os.path.abspath('..'))
19
sys.path.insert(0, os.path.abspath('../mediaug'))
20
21
# -- Project information -----------------------------------------------------
22
23
project = 'MediAug'
24
copyright = '2019, Sean Wade'
25
author = 'Sean Wade'
26
27
# The short X.Y version
28
version = '0.1'
29
# The full version, including alpha/beta/rc tags
30
release = ''
31
32
33
# -- General configuration ---------------------------------------------------
34
35
# If your documentation needs a minimal Sphinx version, state it here.
36
#
37
# needs_sphinx = '1.0'
38
39
# Add any Sphinx extension module names here, as strings. They can be
40
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
41
# ones.
42
43
extensions = [
44
    'sphinx.ext.autodoc',
45
    'sphinx.ext.coverage',
46
    'sphinx.ext.napoleon',
47
    'sphinx.ext.todo',
48
    'sphinx.ext.mathjax',
49
    'sphinx.ext.viewcode',
50
    'sphinx.ext.githubpages',
51
    'recommonmark'
52
]
53
54
# Add any paths that contain templates here, relative to this directory.
55
templates_path = ['_templates']
56
57
# The suffix(es) of source filenames.
58
# You can specify multiple suffix as a list of string:
59
#
60
# source_suffix = ['.rst', '.md']
61
source_suffix = '.rst'
62
63
# The master toctree document.
64
master_doc = 'index'
65
66
# The language for content autogenerated by Sphinx. Refer to documentation
67
# for a list of supported languages.
68
#
69
# This is also used if you do content translation via gettext catalogs.
70
# Usually you set "language" from the command line for these cases.
71
language = None
72
73
# List of patterns, relative to source directory, that match files and
74
# directories to ignore when looking for source files.
75
# This pattern also affects html_static_path and html_extra_path.
76
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
77
78
# The name of the Pygments (syntax highlighting) style to use.
79
pygments_style = None
80
81
82
# -- Options for HTML output -------------------------------------------------
83
84
# The theme to use for HTML and HTML Help pages.  See the documentation for
85
# a list of builtin themes.
86
#
87
html_theme = 'alabaster'
88
89
# Theme options are theme-specific and customize the look and feel of a theme
90
# further.  For a list of options available for each theme, see the
91
# documentation.
92
#
93
# html_theme_options = {}
94
95
# Add any paths that contain custom static files (such as style sheets) here,
96
# relative to this directory. They are copied after the builtin static files,
97
# so a file named "default.css" will overwrite the builtin "default.css".
98
# html_static_path = ['_static']
99
100
# Custom sidebar templates, must be a dictionary that maps document names
101
# to template names.
102
#
103
# The default sidebars (for documents that don't match any pattern) are
104
# defined by theme itself.  Builtin themes are using these templates by
105
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
106
# 'searchbox.html']``.
107
#
108
# html_sidebars = {}
109
110
111
# -- Options for HTMLHelp output ---------------------------------------------
112
113
# Output file base name for HTML help builder.
114
htmlhelp_basename = 'MediAugdoc'
115
116
117
# -- Options for LaTeX output ------------------------------------------------
118
119
latex_elements = {
120
    # The paper size ('letterpaper' or 'a4paper').
121
    #
122
    # 'papersize': 'letterpaper',
123
124
    # The font size ('10pt', '11pt' or '12pt').
125
    #
126
    # 'pointsize': '10pt',
127
128
    # Additional stuff for the LaTeX preamble.
129
    #
130
    # 'preamble': '',
131
132
    # Latex figure (float) alignment
133
    #
134
    # 'figure_align': 'htbp',
135
}
136
137
# Grouping the document tree into LaTeX files. List of tuples
138
# (source start file, target name, title,
139
#  author, documentclass [howto, manual, or own class]).
140
latex_documents = [
141
    (master_doc, 'MediAug.tex', 'MediAug Documentation',
142
     'Sean Wade', 'manual'),
143
]
144
145
146
# -- Options for manual page output ------------------------------------------
147
148
# One entry per manual page. List of tuples
149
# (source start file, name, description, authors, manual section).
150
man_pages = [
151
    (master_doc, 'mediaug', 'MediAug Documentation',
152
     [author], 1)
153
]
154
155
156
# -- Options for Texinfo output ----------------------------------------------
157
158
# Grouping the document tree into Texinfo files. List of tuples
159
# (source start file, target name, title, author,
160
#  dir menu entry, description, category)
161
texinfo_documents = [
162
    (master_doc, 'MediAug', 'MediAug Documentation',
163
     author, 'MediAug', 'One line description of project.',
164
     'Miscellaneous'),
165
]
166
167
168
# -- Options for Epub output -------------------------------------------------
169
170
# Bibliographic Dublin Core info.
171
epub_title = project
172
173
# The unique identifier of the text. This can be a ISBN number
174
# or the project homepage.
175
#
176
# epub_identifier = ''
177
178
# A unique identification for the text.
179
#
180
# epub_uid = ''
181
182
# A list of files that should not be packed into the epub file.
183
epub_exclude_files = ['search.html']
184
185
186
# -- Extension configuration -------------------------------------------------
187
188
# -- Options for todo extension ----------------------------------------------
189
190
# If true, `todo` and `todoList` produce output, else they produce nothing.
191
todo_include_todos = True