diff --git a/book/_config.yml b/book/_config.yml index 58e0c7d..3f9d260 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -1,6 +1,5 @@ title: Template author: TeachBooks Team, built with TeachBooks and Jupyter Book, CC BY 4.0 #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 diff --git a/book/figures/TB_logo_dark.png b/book/figures/TB_logo_dark.png new file mode 100644 index 0000000..ac75575 Binary files /dev/null and b/book/figures/TB_logo_dark.png differ