Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
| Download

📚 The CoCalc Library - books, templates and other resources

Views: 96105
License: OTHER
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
project = 'Dask Tutorial'
23
copyright = '2018, Dask Developers'
24
author = 'Dask Developers'
25
26
# The short X.Y version
27
version = ''
28
# The full version, including alpha/beta/rc tags
29
release = ''
30
31
32
# -- General configuration ---------------------------------------------------
33
34
# If your documentation needs a minimal Sphinx version, state it here.
35
#
36
# needs_sphinx = '1.0'
37
38
# Add any Sphinx extension module names here, as strings. They can be
39
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
40
# ones.
41
extensions = [
42
"sphinx.ext.mathjax",
43
'nbsphinx',
44
]
45
46
nbsphinx_timeout = 600
47
# nbsphinx_execute = "always"
48
nbsphinx_execute = 'never'
49
50
51
nbsphinx_prolog = """
52
{% set docname = env.doc2path(env.docname, base=None) %}
53
54
You can run this notebook in a `live session <https://mybinder.org/v2/gh/dask/dask-tutorial/master?urlpath=lab/tree/{{
55
docname }}>`_ |Binder| or view it `on Github <https://github.com/dask/dask-tutorial/blob/master/{{ docname }}>`_.
56
57
.. |Binder| image:: https://mybinder.org/badge.svg
58
:target: https://mybinder.org/v2/gh/dask/dask-tutorial/master?urlpath=lab/tree/{{ docname }}
59
"""
60
61
62
# Add any paths that contain templates here, relative to this directory.
63
templates_path = ['_templates']
64
65
# The suffix(es) of source filenames.
66
# You can specify multiple suffix as a list of string:
67
#
68
# source_suffix = ['.rst', '.md']
69
source_suffix = '.rst'
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 = ['_build', 'Thumbs.db', '.DS_Store', '**.ipynb_checkpoints']
85
86
# The name of the Pygments (syntax highlighting) style to use.
87
pygments_style = 'sphinx'
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 = 'dask_sphinx_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 = 'DaskTutorialdoc'
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, 'DaskTutorial.tex', 'Dask Tutorial Documentation',
150
'Dask Developers', '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, 'dasktutorial', 'Dask Tutorial 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, 'DaskTutorial', 'Dask Tutorial Documentation',
171
author, 'DaskTutorial', 'One line description of project.',
172
'Miscellaneous'),
173
]
174
175