-
Notifications
You must be signed in to change notification settings - Fork 8
/
_config.yml
48 lines (43 loc) · 2.05 KB
/
_config.yml
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
Title: TeachBooks template
author: TeachBooks Team, built with <a href="https://teachbooks.io">TeachBooks</a> and <a href="https://jupyterbook.org/">Jupyter Book</a>, <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="license noopener noreferrer"">CC BY 4.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg" alt=""></a> #add your own name here
execute:
execute_notebooks: "off"
only_build_toc_files: true
html:
favicon : "figures/TB_favicon.ico"
baseurl : "https://teachbooks.io/" #Replace this with your own URL
sphinx:
config:
html_js_files:
- https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js
thebe_config:
use_thebe_lite: true
exclude_patterns: ["**/_*.yml", "**/*.md", "**/*.ipynb"]
html_theme_options:
logo:
text: Template
image_light: TeachBooks_logo.svg # Put your logo for the light mode here (can be the same as image_dark)
image_dark: TeachBooks_logo_inverted.svg # Put your logo for the dark mode here (can be the same as image_light)
repository_url: "https://github.com/user/repo" #add your own repo URL here
path_to_docs: "book"
repository_branch: "main"
use_edit_page_button: true
use_repository_button: true
use_issues_button : true
launch_buttons:
thebe: true
html_show_copyright: false
html_last_updated_fmt: '%B %-d, %Y'
html_static_path: ["figures"] # add folders that contain files that need to be included, such as the location of the logo(s)
mathjax3_config:
chtml: {
mtextInheritFont: true # To typeset text within math prettier
}
extra_extensions:
- sphinx.ext.imgconverter
- jupyterbook_patches
- download_link_replacer
- sphinx.ext.extlinks
- sphinx_image_inverter
bibtex_bibfiles:
- references.bib