-
Notifications
You must be signed in to change notification settings - Fork 6
/
conf.py
71 lines (71 loc) · 2.75 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
author = 'Weizheng Lu'
bibtex_bibfiles = ['references.bib']
bibtex_reference_style = 'author_year'
comments_config = {'hypothesis': False, 'utterances': False}
copyright = '2023-2024'
exclude_patterns = ['**.ipynb_checkpoints', '.DS_Store', 'Thumbs.db', '_build']
extensions = ['sphinx_togglebutton', 'sphinx_copybutton', 'myst_nb', 'jupyter_book', 'sphinx_thebe', 'sphinx_comments', 'sphinx_external_toc', 'sphinx.ext.intersphinx', 'sphinx_design', 'sphinx_book_theme', 'sphinxcontrib.bibtex', 'sphinx_jupyterbook_latex']
external_toc_exclude_missing = True
external_toc_path = '_toc.yml'
html_baseurl = ''
html_favicon = "_static/logo.ico"
html_logo = 'logo.svg'
html_sourcelink_suffix = ''
html_theme = 'sphinx_book_theme'
html_theme_options = {
'search_bar_text': '搜索...',
'launch_buttons': {
'notebook_interface': 'classic',
'binderhub_url': '',
'jupyterhub_url': '',
'thebe': False,
'colab_url': 'https://colab.research.google.com'
},
'path_to_docs': 'docs',
'repository_url': 'https://github.com/godaai/scale-py-zh',
'repository_branch': 'main',
'extra_footer': '',
'home_page_in_toc': True,
'icon_links': [
{
"name": "English Version",
"url": "https://godaai.github.io/scale-py/", # required
"icon": "fa fa-language",
"type": "fontawesome",
},
{
"name": "GitHub",
"url": "https://github.com/godaai/scale-py-zh",
"icon": "https://img.shields.io/github/stars/godaai/scale-py-zh?style=for-the-badge",
"type": "url",
},
],
'announcement': "如果你觉得内容对你有帮助,请在 <a href=\"https://github.com/godaai/scale-py-zh\">GitHub</a> 上点个 star 吧!",
'analytics': {'google_analytics_id': ''},
'use_repository_button': True,
'use_edit_page_button': False,
'use_issues_button': False,
"toc_title": "本节目录",
}
html_static_path = ["_static"]
html_css_files = ["custom.css"]
html_js_files = [
"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js",
]
html_title = 'Python 数据科学加速'
latex_engine = 'pdflatex'
myst_enable_extensions = ['colon_fence', 'dollarmath', 'linkify', 'substitution', 'tasklist']
myst_url_schemes = ['mailto', 'http', 'https']
nb_execution_allow_errors = False
nb_execution_cache_path = ''
nb_execution_excludepatterns = []
nb_execution_in_temp = False
nb_execution_mode = 'off'
nb_execution_timeout = 30
nb_output_stderr = 'show'
numfig = True
numfig_format = {'figure': '图 %s', 'table': '表 %s', 'code-block': '代码片段 %s', 'section': '章节 %s'}
pygments_style = 'sphinx'
suppress_warnings = ['myst.domains']
use_jupyterbook_latex = True
use_multitoc_numbering = True