From 7cf9cb25a3798ce2d4d0ef3ae61dd7d558977083 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Thu, 16 Jul 2026 11:44:30 +0200 Subject: [PATCH] Enable home page in table of contents Added home_page_in_toc option to html_theme_options. --- book/_config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/book/_config.yml b/book/_config.yml index d3d16f9..5614727 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -24,6 +24,7 @@ sphinx: # Options passed on to the html_favicon: "figures/TB_favicon.ico" # Replace this with your own favicon, configuration part of Sphinx (https://www.sphinx-doc.org/en/master/index.html) html_baseurl: "https://.io/" # Replace this with your own URL, configuration part of Sphinx (https://www.sphinx-doc.org/en/master/index.html) html_theme_options: + home_page_in_toc: true # Replace with false it you don't want the landing page to be shown in the table of contents. logo: text: Template # Replace this with your own book title, configuration part of Sphinx (https://www.sphinx-doc.org/en/master/index.html) image_light: TeachBooks_logo.svg # Put your logo for the light mode here (can be the same as image_dark), configuration part of Sphinx (https://www.sphinx-doc.org/en/master/index.html)