docs
source
conf.py
Go to the documentation of this file.
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
from
datetime
import
datetime
12
import
os
13
import
sys
14
sys.path.insert(0, os.path.abspath(
'_ext'
))
15
16
# sys.path.insert(1, os.path.abspath('/PATH/TO/doxyrest_b/doxyrest/sphinx'))
17
# JLBC: Must be added to PYTHONPATH manually by the caller.
18
19
20
# -- Project information -----------------------------------------------------
21
22
project =
u'mp2p_icp'
23
copyright =
u'{year} The mp2p_icp authors.'
.format(year=datetime.now().year)
24
25
# The short X.Y version
26
# version = u'v0.1'
27
# The full version, including alpha/beta/rc tags
28
# release = u'v0.1'
29
30
# -- General configuration ---------------------------------------------------
31
32
# If your documentation needs a minimal Sphinx version, state it here.
33
#
34
# needs_sphinx = '1.0'
35
36
# Add any Sphinx extension module names here, as strings. They can be
37
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
38
# ones.
39
extensions = [
40
'sphinx.ext.mathjax'
,
41
'sphinx.ext.ifconfig'
,
42
'doxyrest'
,
'cpplexer'
,
43
'sphinx_rtd_theme'
,
44
'sphinx.ext.mathjax'
,
45
'sphinx_design'
,
46
# 'sphinx.ext.autosectionlabel',
47
'sphinxcontrib.bibtex'
,
48
]
49
50
bibtex_bibfiles = [
'refs.bib'
]
51
52
# Show build time
53
html_last_updated_fmt =
'%H:%M, %b %d, %Y'
54
55
# For edit on github:
56
html_context = {
57
'display_github'
:
True
,
58
'github_user'
:
'MOLAorg'
,
59
'github_repo'
:
'mp2p_icp'
,
60
'github_version'
:
'master/docs/source/'
61
}
62
63
# Add any paths that contain templates here, relative to this directory.
64
templates_path = [
'_templates'
]
65
66
# The suffix(es) of source filenames.
67
# You can specify multiple suffix as a list of string:
68
#
69
# source_suffix = ['.rst', '.md']
70
source_suffix =
'.rst'
71
72
# The master toctree document.
73
master_doc =
'index'
74
75
# The language for content autogenerated by Sphinx. Refer to documentation
76
# for a list of supported languages.
77
#
78
# This is also used if you do content translation via gettext catalogs.
79
# Usually you set "language" from the command line for these cases.
80
language =
None
81
82
# List of patterns, relative to source directory, that match files and
83
# directories to ignore when looking for source files.
84
# This pattern also affects html_static_path and html_extra_path.
85
exclude_patterns = [
u'_build'
,
'Thumbs.db'
,
'.DS_Store'
]
86
87
# The name of the Pygments (syntax highlighting) style to use.
88
pygments_style =
None
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 = 'alabaster'
97
html_theme =
"sphinx_rtd_theme"
98
99
100
# Theme options are theme-specific and customize the look and feel of a theme
101
# further. For a list of options available for each theme, see the
102
# documentation.
103
#
104
# html_theme_options = {}
105
106
# Add any paths that contain custom static files (such as style sheets) here,
107
# relative to this directory. They are copied after the builtin static files,
108
# so a file named "default.css" will overwrite the builtin "default.css".
109
html_static_path = [
110
'_static'
111
]
112
113
# Custom sidebar templates, must be a dictionary that maps document names
114
# to template names.
115
#
116
# The default sidebars (for documents that don't match any pattern) are
117
# defined by theme itself. Builtin themes are using these templates by
118
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
119
# 'searchbox.html']``.
120
#
121
# html_sidebars = {}
122
123
124
# -- Options for HTMLHelp output ---------------------------------------------
125
126
# Output file base name for HTML help builder.
127
htmlhelp_basename =
'MOLAdoc'
128
129
130
# -- Options for LaTeX output ------------------------------------------------
131
132
latex_elements = {
133
# The paper size ('letterpaper' or 'a4paper').
134
#
135
# 'papersize': 'letterpaper',
136
137
# The font size ('10pt', '11pt' or '12pt').
138
#
139
# 'pointsize': '10pt',
140
141
# Additional stuff for the LaTeX preamble.
142
#
143
# 'preamble': '',
144
145
# Latex figure (float) alignment
146
#
147
# 'figure_align': 'htbp',
148
}
149
150
# Grouping the document tree into LaTeX files. List of tuples
151
# (source start file, target name, title,
152
# author, documentclass [howto, manual, or own class]).
153
latex_documents = [
154
(master_doc,
'MOLA.tex'
,
u'MOLA Documentation'
,
155
u'The MOLA Authors.'
,
'manual'
),
156
]
157
158
159
# -- Options for manual page output ------------------------------------------
160
161
# One entry per manual page. List of tuples
162
# (source start file, name, description, authors, manual section).
163
man_pages = [
164
(master_doc,
'mola'
,
u'MOLA Documentation'
,
165
[
u'The MOLA Authors.'
], 1)
166
]
167
168
# -- Options for Texinfo output ----------------------------------------------
169
170
# Grouping the document tree into Texinfo files. List of tuples
171
# (source start file, target name, title, author,
172
# dir menu entry, description, category)
173
texinfo_documents = [
174
(master_doc,
'MOLA'
,
u'MOLA Documentation'
,
175
u'The MOLA Authors.'
,
'MOLA'
,
'One line description of project.'
,
176
'Miscellaneous'
),
177
]
178
179
180
# -- Options for Epub output -------------------------------------------------
181
182
# Bibliographic Dublin Core info.
183
epub_title = project
184
185
# The unique identifier of the text. This can be a ISBN number
186
# or the project homepage.
187
#
188
# epub_identifier = ''
189
190
# A unique identification for the text.
191
#
192
# epub_uid = ''
193
194
# A list of files that should not be packed into the epub file.
195
epub_exclude_files = [
'search.html'
]
196
197
198
# -- Extension configuration -------------------------------------------------
mp2p_icp
Author(s):
autogenerated on Mon May 26 2025 02:45:48