57
57
58
58
jupyter_execute_default_kernel = 'sagemath'
59
59
60
- if os .environ .get ('SAGE_LIVE_DOC' , 'no' ) == 'yes' :
60
+ if os .environ .get ('SAGE_LIVE_DOC' , 'no' ) == 'yes' :
61
61
SAGE_JUPYTER_SERVER = os .environ .get ('SAGE_JUPYTER_SERVER' , 'binder' )
62
62
if SAGE_JUPYTER_SERVER .startswith ('binder' ):
63
63
# format: "binder" or
@@ -197,17 +197,17 @@ def sphinx_plot(graphics, **kwds):
197
197
198
198
# The language for content autogenerated by Sphinx. Refer to documentation
199
199
# for a list of supported languages.
200
- #language = None
200
+ # language = None
201
201
202
202
# The LaTeX engine to build the docs.
203
203
# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-latex_engine
204
204
latex_engine = 'lualatex'
205
205
206
206
# There are two options for replacing |today|: either, you set today to some
207
207
# non-false value, then it is used:
208
- #today = ''
208
+ # today = ''
209
209
# Else, today_fmt is used as the format for a strftime call.
210
- #today_fmt = '%B %d, %Y'
210
+ # today_fmt = '%B %d, %Y'
211
211
212
212
# List of glob-style patterns that should be excluded when looking for
213
213
# source files. [1] They are matched against the source file names
@@ -216,11 +216,11 @@ def sphinx_plot(graphics, **kwds):
216
216
exclude_patterns = ['.build' ]
217
217
218
218
# If true, '()' will be appended to :func: etc. cross-reference text.
219
- #add_function_parentheses = True
219
+ # add_function_parentheses = True
220
220
221
221
# If true, the current module name will be prepended to all description
222
222
# unit titles (such as .. function::).
223
- #add_module_names = True
223
+ # add_module_names = True
224
224
225
225
# If true, sectionauthor and moduleauthor directives will be shown in the
226
226
# output. They are ignored by default.
@@ -274,9 +274,9 @@ def set_intersphinx_mappings(app, config):
274
274
return
275
275
276
276
app .config .intersphinx_mapping = {
277
- 'python' : ('https://docs.python.org/' ,
278
- os .path .join (SAGE_DOC_SRC , "common" ,
279
- "python{}.inv" .format (python_version ))),
277
+ 'python' : ('https://docs.python.org/' ,
278
+ os .path .join (SAGE_DOC_SRC , "common" ,
279
+ "python{}.inv" .format (python_version ))),
280
280
}
281
281
if PPLPY_DOCS and os .path .exists (os .path .join (PPLPY_DOCS , 'objects.inv' )):
282
282
app .config .intersphinx_mapping ['pplpy' ] = (PPLPY_DOCS , None )
@@ -379,18 +379,18 @@ def set_intersphinx_mappings(app, config):
379
379
html_theme_options = {}
380
380
381
381
# HTML style sheet. This overrides a HTML theme's corresponding setting.
382
- #html_style = 'default.css'
382
+ # html_style = 'default.css'
383
383
384
384
# The name for this set of Sphinx documents. If None, it defaults to
385
385
# "<project> v<release> documentation".
386
- #html_title = None
386
+ # html_title = None
387
387
388
388
# A shorter title for the navigation bar. Default is the same as html_title.
389
- #html_short_title = None
389
+ # html_short_title = None
390
390
391
391
# The name of an image file (within the static path) to place at the top of
392
392
# the sidebar.
393
- #html_logo = 'sagelogo-word.ico'
393
+ # html_logo = 'sagelogo-word.ico'
394
394
395
395
# The name of an image file (within the static path) to use as favicon of the
396
396
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
@@ -439,17 +439,17 @@ def set_intersphinx_mappings(app, config):
439
439
440
440
# If true, SmartyPants will be used to convert quotes and dashes to
441
441
# typographically correct entities.
442
- #html_use_smartypants = True
442
+ # html_use_smartypants = True
443
443
444
444
# Custom sidebar templates, maps document names to template names.
445
- #html_sidebars = {}
445
+ # html_sidebars = {}
446
446
447
447
# Additional templates that should be rendered to pages, maps page names to
448
448
# template names.
449
- #html_additional_pages = {}
449
+ # html_additional_pages = {}
450
450
451
451
# If false, no module index is generated.
452
- #html_use_modindex = True
452
+ # html_use_modindex = True
453
453
454
454
# A list of prefixes that are ignored for sorting the Python module index ( if
455
455
# this is set to ['foo.'], then foo.bar is shown under B, not F). Works only
@@ -852,6 +852,7 @@ def apply(self):
852
852
853
853
node .parent .insert (node .parent .index (node ) + 1 , cell_node )
854
854
855
+
855
856
# This replaces the setup() in sage.misc.sagedoc_conf
856
857
def setup (app ):
857
858
app .connect ('autodoc-process-docstring' , process_docstring_cython )
0 commit comments