Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 19204
1
# -*- coding: utf-8 -*-
2
#
3
# Boolean-Cayley-graphs documentation build configuration file, created by
4
# sphinx-quickstart on Sun Jun 11 18:47:38 2017.
5
#
6
# This file is execfile()d with the current directory set to its
7
# containing dir.
8
#
9
# Note that not all possible configuration values are present in this
10
# autogenerated file.
11
#
12
# All configuration values have a default; values that are commented out
13
# serve to show the default.
14
15
# If extensions (or modules to document with autodoc) are in another directory,
16
# add these directories to sys.path here. If the directory is relative to the
17
# documentation root, use os.path.abspath to make it absolute, like shown here.
18
#
19
import os
20
import sys
21
sys.path.insert(0, os.path.abspath('..'))
22
sys.path.insert(0, os.path.abspath('../boolean_cayley_graphs'))
23
import sage.all
24
25
# -- General configuration ------------------------------------------------
26
27
# If your documentation needs a minimal Sphinx version, state it here.
28
#
29
# needs_sphinx = '1.0'
30
31
# Add any Sphinx extension module names here, as strings. They can be
32
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
33
# ones.
34
extensions = [
35
'sphinx.ext.autodoc',
36
'sphinx.ext.mathjax',
37
'sphinx.ext.todo',
38
'sphinx.ext.viewcode',
39
]
40
41
# Add any paths that contain templates here, relative to this directory.
42
templates_path = ['_templates']
43
44
# The suffix(es) of source filenames.
45
# You can specify multiple suffix as a list of string:
46
#
47
# source_suffix = ['.rst', '.md']
48
source_suffix = '.rst'
49
50
# The encoding of source files.
51
#
52
# source_encoding = 'utf-8-sig'
53
54
# The master toctree document.
55
master_doc = 'index'
56
57
# General information about the project.
58
project = u'Boolean-Cayley-graphs'
59
copyright = u'2017-2023, Paul Leopardi'
60
author = u'Paul Leopardi'
61
62
# The version info for the project you're documenting, acts as replacement for
63
# |version| and |release|, also used in various other places throughout the
64
# built documents.
65
#
66
# The short X.Y version.
67
try:
68
version = os.environ["BCG_VERSION"]
69
except:
70
version = u'0.0'
71
# The full version, including alpha/beta/rc tags.
72
try:
73
release = os.environ["BCG_RELEASE"]
74
except:
75
release = u'0.0.0.0'
76
77
# The language for content autogenerated by Sphinx. Refer to documentation
78
# for a list of supported languages.
79
#
80
# This is also used if you do content translation via gettext catalogs.
81
# Usually you set "language" from the command line for these cases.
82
language = 'en'
83
84
# There are two options for replacing |today|: either, you set today to some
85
# non-false value, then it is used:
86
#
87
# today = ''
88
#
89
# Else, today_fmt is used as the format for a strftime call.
90
#
91
# today_fmt = '%B %d, %Y'
92
93
# List of patterns, relative to source directory, that match files and
94
# directories to ignore when looking for source files.
95
# This patterns also effect to html_static_path and html_extra_path
96
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
97
98
# The reST default role (used for this markup: `text`) to use for all
99
# documents.
100
#
101
# default_role = None
102
103
# If true, '()' will be appended to :func: etc. cross-reference text.
104
#
105
# add_function_parentheses = True
106
107
# If true, the current module name will be prepended to all description
108
# unit titles (such as .. function::).
109
#
110
# add_module_names = True
111
112
# If true, sectionauthor and moduleauthor directives will be shown in the
113
# output. They are ignored by default.
114
#
115
# show_authors = False
116
117
# The name of the Pygments (syntax highlighting) style to use.
118
pygments_style = 'sphinx'
119
120
# A list of ignored prefixes for module index sorting.
121
# modindex_common_prefix = []
122
123
# If true, keep warnings as "system message" paragraphs in the built documents.
124
# keep_warnings = False
125
126
# If true, `todo` and `todoList` produce output, else they produce nothing.
127
todo_include_todos = True
128
129
130
# -- Options for HTML output ----------------------------------------------
131
132
# The theme to use for HTML and HTML Help pages. See the documentation for
133
# a list of builtin themes.
134
#
135
#html_theme = 'alabaster'
136
#html_theme = "classic"
137
html_theme = 'sphinx_rtd_theme'
138
139
# Theme options are theme-specific and customize the look and feel of a theme
140
# further. For a list of options available for each theme, see the
141
# documentation.
142
#
143
# html_theme_options = {}
144
145
# Add any paths that contain custom themes here, relative to this directory.
146
html_theme_path = ["themes"]
147
148
# The name for this set of Sphinx documents.
149
# "<project> v<release> documentation" by default.
150
#
151
# html_title = u'Boolean-Cayley-graphs v0.0.0.0'
152
153
# A shorter title for the navigation bar. Default is the same as html_title.
154
#
155
# html_short_title = None
156
157
# The name of an image file (relative to this directory) to place at the top
158
# of the sidebar.
159
#
160
# html_logo = None
161
162
# The name of an image file (relative to this directory) to use as a favicon of
163
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
164
# pixels large.
165
#
166
html_favicon = 'tau_3.ico'
167
168
# Add any paths that contain custom static files (such as style sheets) here,
169
# relative to this directory. They are copied after the builtin static files,
170
# so a file named "default.css" will overwrite the builtin "default.css".
171
html_static_path = ['_static']
172
173
# Add any extra paths that contain custom files (such as robots.txt or
174
# .htaccess) here, relative to this directory. These files are copied
175
# directly to the root of the documentation.
176
#
177
# html_extra_path = []
178
179
# If not None, a 'Last updated on:' timestamp is inserted at every page
180
# bottom, using the given strftime format.
181
# The empty string is equivalent to '%b %d, %Y'.
182
#
183
# html_last_updated_fmt = None
184
185
# If true, SmartyPants will be used to convert quotes and dashes to
186
# typographically correct entities.
187
#
188
# html_use_smartypants = True
189
190
# Custom sidebar templates, maps document names to template names.
191
#
192
# html_sidebars = {}
193
194
# Additional templates that should be rendered to pages, maps page names to
195
# template names.
196
#
197
# html_additional_pages = {}
198
199
# If false, no module index is generated.
200
#
201
# html_domain_indices = True
202
203
# If false, no index is generated.
204
#
205
# html_use_index = True
206
207
# If true, the index is split into individual pages for each letter.
208
#
209
# html_split_index = False
210
211
# If true, links to the reST sources are added to the pages.
212
#
213
# html_show_sourcelink = True
214
215
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
216
#
217
# html_show_sphinx = True
218
219
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
220
#
221
# html_show_copyright = True
222
223
# If true, an OpenSearch description file will be output, and all pages will
224
# contain a <link> tag referring to it. The value of this option must be the
225
# base URL from which the finished HTML is served.
226
#
227
# html_use_opensearch = ''
228
229
# This is the file name suffix for HTML files (e.g. ".xhtml").
230
# html_file_suffix = None
231
232
# Language to be used for generating the HTML full-text search index.
233
# Sphinx supports the following languages:
234
# 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
235
# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh'
236
#
237
# html_search_language = 'en'
238
239
# A dictionary with options for the search language support, empty by default.
240
# 'ja' uses this config value.
241
# 'zh' user can custom change `jieba` dictionary path.
242
#
243
# html_search_options = {'type': 'default'}
244
245
# The name of a javascript file (relative to the configuration directory) that
246
# implements a search results scorer. If empty, the default will be used.
247
#
248
# html_search_scorer = 'scorer.js'
249
250
# Output file base name for HTML help builder.
251
htmlhelp_basename = 'Boolean-Cayley-graphsdoc'
252
253
# -- Options for LaTeX output ---------------------------------------------
254
255
latex_elements = {
256
# The paper size ('letterpaper' or 'a4paper').
257
#
258
# 'papersize': 'letterpaper',
259
260
# The font size ('10pt', '11pt' or '12pt').
261
#
262
# 'pointsize': '10pt',
263
264
# Additional stuff for the LaTeX preamble.
265
#
266
# 'preamble': '',
267
268
# Latex figure (float) alignment
269
#
270
# 'figure_align': 'htbp',
271
}
272
273
# Grouping the document tree into LaTeX files. List of tuples
274
# (source start file, target name, title,
275
# author, documentclass [howto, manual, or own class]).
276
latex_documents = [
277
(master_doc, 'Boolean-Cayley-graphs.tex', u'Boolean-Cayley-graphs Documentation',
278
u'Paul Leopardi', 'manual'),
279
]
280
281
# The name of an image file (relative to this directory) to place at the top of
282
# the title page.
283
#
284
# latex_logo = None
285
286
# For "manual" documents, if this is true, then toplevel headings are parts,
287
# not chapters.
288
#
289
# latex_use_parts = False
290
291
# If true, show page references after internal links.
292
#
293
# latex_show_pagerefs = False
294
295
# If true, show URL addresses after external links.
296
#
297
# latex_show_urls = False
298
299
# Documents to append as an appendix to all manuals.
300
#
301
# latex_appendices = []
302
303
# If false, no module index is generated.
304
#
305
# latex_domain_indices = True
306
307
308
# -- Options for manual page output ---------------------------------------
309
310
# One entry per manual page. List of tuples
311
# (source start file, name, description, authors, manual section).
312
man_pages = [
313
(master_doc, 'boolean-cayley-graphs', u'Boolean-Cayley-graphs Documentation',
314
[author], 1)
315
]
316
317
# If true, show URL addresses after external links.
318
#
319
# man_show_urls = False
320
321
322
# -- Options for Texinfo output -------------------------------------------
323
324
# Grouping the document tree into Texinfo files. List of tuples
325
# (source start file, target name, title, author,
326
# dir menu entry, description, category)
327
texinfo_documents = [
328
(master_doc, 'Boolean-Cayley-graphs', u'Boolean-Cayley-graphs Documentation',
329
author, 'Boolean-Cayley-graphs', 'One line description of project.',
330
'Miscellaneous'),
331
]
332
333
# Documents to append as an appendix to all manuals.
334
#
335
# texinfo_appendices = []
336
337
# If false, no module index is generated.
338
#
339
# texinfo_domain_indices = True
340
341
# How to display URL addresses: 'footnote', 'no', or 'inline'.
342
#
343
# texinfo_show_urls = 'footnote'
344
345
# If true, do not generate a @detailmenu in the "Top" node's menu.
346
#
347
# texinfo_no_detailmenu = False
348
349
350
# -- Options for Epub output ----------------------------------------------
351
352
# Bibliographic Dublin Core info.
353
epub_title = project
354
epub_author = author
355
epub_publisher = author
356
epub_copyright = copyright
357
358
# The basename for the epub file. It defaults to the project name.
359
# epub_basename = project
360
361
# The HTML theme for the epub output. Since the default themes are not
362
# optimized for small screen space, using the same theme for HTML and epub
363
# output is usually not wise. This defaults to 'epub', a theme designed to save
364
# visual space.
365
#
366
# epub_theme = 'epub'
367
368
# The language of the text. It defaults to the language option
369
# or 'en' if the language is not set.
370
#
371
# epub_language = ''
372
373
# The scheme of the identifier. Typical schemes are ISBN or URL.
374
# epub_scheme = ''
375
376
# The unique identifier of the text. This can be a ISBN number
377
# or the project homepage.
378
#
379
# epub_identifier = ''
380
381
# A unique identification for the text.
382
#
383
# epub_uid = ''
384
385
# A tuple containing the cover image and cover page html template filenames.
386
#
387
# epub_cover = ()
388
389
# A sequence of (type, uri, title) tuples for the guide element of content.opf.
390
#
391
# epub_guide = ()
392
393
# HTML files that should be inserted before the pages created by sphinx.
394
# The format is a list of tuples containing the path and title.
395
#
396
# epub_pre_files = []
397
398
# HTML files that should be inserted after the pages created by sphinx.
399
# The format is a list of tuples containing the path and title.
400
#
401
# epub_post_files = []
402
403
# A list of files that should not be packed into the epub file.
404
epub_exclude_files = ['search.html']
405
406
# The depth of the table of contents in toc.ncx.
407
#
408
# epub_tocdepth = 3
409
410
# Allow duplicate toc entries.
411
#
412
# epub_tocdup = True
413
414
# Choose between 'default' and 'includehidden'.
415
#
416
# epub_tocscope = 'default'
417
418
# Fix unsupported image types using the Pillow.
419
#
420
# epub_fix_images = False
421
422
# Scale large images.
423
#
424
# epub_max_image_width = 0
425
426
# How to display URL addresses: 'footnote', 'no', or 'inline'.
427
#
428
# epub_show_urls = 'inline'
429
430
# If false, no index is generated.
431
#
432
# epub_use_index = True
433
434