Browse Source

Add table of contents to 3.6 EPUB file

skyace65 1 year ago
parent
commit
443eab9d21
1 changed files with 3 additions and 0 deletions
  1. 3 0
      conf.py

+ 3 - 0
conf.py

@@ -301,3 +301,6 @@ rst_epilog = """
     image_locale="-" if language == "en" else language,
     image_locale="-" if language == "en" else language,
     target_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'