File: doc-epub-exclude.diff

package info (click to toggle)
python3.13 3.13.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 121,328 kB
  • sloc: python: 704,014; ansic: 653,914; xml: 31,250; sh: 5,844; cpp: 4,326; makefile: 1,981; objc: 787; lisp: 502; javascript: 213; asm: 75; csh: 12
file content (12 lines) | stat: -rw-r--r-- 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Use a list for epub_exclude_files. Fixes a build failure.
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -440,7 +440,7 @@
 
 epub_author = 'Python Documentation Authors'
 epub_publisher = 'Python Software Foundation'
-epub_exclude_files = ('index.xhtml', 'download.xhtml')
+epub_exclude_files = ['index.xhtml', 'download.xhtml']
 
 # index pages are not valid xhtml
 # https://github.com/sphinx-doc/sphinx/issues/12359