Преглед на файлове

Add table of contents to epub of docs

(cherry picked from commit e1a71ea7a16834b7402944e6907e2b2a60ed63ba)
skyace65 преди 1 година
родител
ревизия
4b68d56c63
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      conf.py

+ 3 - 0
conf.py

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