Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sage
Path: blob/develop/src/doc/zh/constructions/conf.py
4086 views
1
# nodoctest
2
# Sage Constructions documentation build configuration file, created by
3
# sphinx-quickstart on Fri Aug 22 12:10:42 2008.
4
#
5
# This file is execfile()d with the current directory set to its containing dir.
6
#
7
# The contents of this file are pickled, so don't put values in the namespace
8
# that aren't pickleable (module imports are okay, they're removed automatically).
9
#
10
# All configuration values have a default; values that are commented out
11
# serve to show the default.
12
13
from sage_docbuild.conf import release
14
from sage_docbuild.conf import * # NOQA
15
16
# Add any paths that contain custom static files (such as style sheets),
17
# relative to this directory to html_static_path. They are copied after the
18
# builtin static files, so a file named "default.css" will overwrite the
19
# builtin "default.css". html_common_static_path imported from sage_docbuild.conf
20
# contains common paths.
21
html_static_path = [] + html_common_static_path
22
23
# Add small view/edit buttons.
24
html_theme_options.update({
25
'source_view_link': os.path.join(source_repository, 'blob/develop/src/doc/zh/constructions', '{filename}'),
26
'source_edit_link': os.path.join(source_repository, 'edit/develop/src/doc/zh/constructions', '{filename}'),
27
})
28
29
# General information about the project.
30
project = "构建指南"
31
name = 'constructions'
32
language = "zh_CN"
33
34
# The LaTeX engine to build the docs in Chinese.
35
# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-latex_engine
36
latex_engine = 'xelatex'
37
38
# The name for this set of Sphinx documents. If None, it defaults to
39
# "<project> v<release> documentation".
40
html_title = project + " v" + release
41
42
# Output file base name for HTML help builder.
43
htmlhelp_basename = name
44
45
# Grouping the document tree into LaTeX files. List of tuples
46
# (source start file, target name, title, author, document class [howto/manual]).
47
latex_documents = [
48
('index', name + '.tex', project,
49
'Sage 开发团队', 'manual'),
50
]
51
52