Преглед изворни кода

Add table of contents to 3.6 EPUB file

skyace65 пре 1 година
родитељ
комит
443eab9d21
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      conf.py

+ 3 - 0
conf.py

@@ -301,3 +301,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'