8000 Clear conflicting settings for epub · python/peps@37d9975 · GitHub
[go: up one dir, main page]

Skip to content

Commit 37d9975

Browse files
committed
Clear conflicting settings for epub
1 parent 9c49d60 commit 37d9975

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,15 @@ def create_index_file(html_root: Path, builder: str) -> None:
6666
if sphinx_builder == "epub":
6767
config_overrides |= {
6868
"master_doc": "contents-epub",
69-
"version": time.strftime("%Y-%m-%d %H:%M"),
69+
"version": time.strftime("%Y-%m-%d"),
7070
"epub_copyright": "PSF",
7171
"epub_description": "Python Enhancement Proposals",
7272
"epub_author": "PEP Authors",
73+
# clear conflicting conf.py settings
74+
"html_theme_path": [],
75+
"html_theme": "epub",
76+
"html_style": None,
77+
"templates_path": [],
7378
}
7479

7580
app = Sphinx(

0 commit comments

Comments
 (0)
0