Browse Source

Merge pull request #9131 from skyace65/EpubToC

Add table of contents to EPUB of docs
Max Hilbrunner 1 year ago
parent
commit
b2a58023eb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      conf.py

+ 3 - 0
conf.py

@@ -317,3 +317,6 @@ rst_epilog = """
     image_locale="-" if language == "en" else language,
     target_locale="" if language == "en" else "/" + language,
 )
+
+# Needed so the table of contents is created for EPUB
+epub_tocscope = 'includehidden'