mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
Added dark/light logo
This commit is contained in:
parent
602bfc4506
commit
b95ba2994e
2 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,5 @@
|
|||
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
|
||||
logo: figures/TB_logo.png #add your own logo here
|
||||
|
||||
execute:
|
||||
execute_notebooks: "off"
|
||||
|
|
@ -19,6 +18,9 @@ sphinx:
|
|||
use_thebe_lite: true
|
||||
exclude_patterns: ["**/_*.yml", "**/*.md", "**/*.ipynb"]
|
||||
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
|
||||
path_to_docs: "book"
|
||||
repository_branch: "main"
|
||||
|
|
@ -29,6 +31,7 @@ sphinx:
|
|||
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)
|
||||
extra_extensions:
|
||||
- sphinx.ext.imgconverter
|
||||
- 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