mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
Merge pull request #35 from TeachBooks/dark-light-logo
Added dark/light logo
This commit is contained in:
commit
de64f42348
2 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
title: Template
|
title: 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
|
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
|
||||||
logo: figures/TB_logo.png #add your own logo here
|
|
||||||
|
|
||||||
execute:
|
execute:
|
||||||
execute_notebooks: "off"
|
execute_notebooks: "off"
|
||||||
|
|
@ -19,6 +18,9 @@ sphinx:
|
||||||
use_thebe_lite: true
|
use_thebe_lite: true
|
||||||
exclude_patterns: ["**/_*.yml", "**/*.md", "**/*.ipynb"]
|
exclude_patterns: ["**/_*.yml", "**/*.md", "**/*.ipynb"]
|
||||||
html_theme_options:
|
html_theme_options:
|
||||||
|
logo:
|
||||||
|
image_light: TB_logo.png # Put your logo for the light mode here (can be the same as image_dark)
|
||||||
|
image_dark: TB_logo_dark.png # 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
|
repository_url: "https://github.com/user/repo" #add your own repo URL here
|
||||||
path_to_docs: "book"
|
path_to_docs: "book"
|
||||||
repository_branch: "main"
|
repository_branch: "main"
|
||||||
|
|
@ -29,6 +31,7 @@ sphinx:
|
||||||
thebe: true
|
thebe: true
|
||||||
html_show_copyright: false
|
html_show_copyright: false
|
||||||
html_last_updated_fmt: '%B %-d, %Y'
|
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)
|
||||||
extra_extensions:
|
extra_extensions:
|
||||||
- sphinx.ext.imgconverter
|
- sphinx.ext.imgconverter
|
||||||
- jupyterbook_patches
|
- jupyterbook_patches
|
||||||
|
|
|
||||||
BIN
book/figures/TB_logo_dark.png
Normal file
BIN
book/figures/TB_logo_dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 268 KiB |
Loading…
Add table
Add a link
Reference in a new issue