Diff of /docs/conf.py [000000] .. [53737a]

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