From df8cc554a34075a28e01d68131dfd361cd5e10b2 Mon Sep 17 00:00:00 2001 From: Gulliver Date: Sun, 15 Aug 2021 13:15:56 +0200 Subject: [PATCH] initial sphinx settings for epub (cover page contains only logo for now) --- sphinx/source/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sphinx/source/conf.py b/sphinx/source/conf.py index 52b8797..be6f1c3 100644 --- a/sphinx/source/conf.py +++ b/sphinx/source/conf.py @@ -65,7 +65,7 @@ html_theme_path = ["../theme"] # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -#html_static_path = ['_static'] +html_static_path = ['_static'] # -- Options for LaTex output ------------------------------------------------- @@ -89,3 +89,5 @@ latex_elements = { } latex_logo = '_static/wtf_coop_header.png' latex_show_urls = 'footnote' + +epub_cover = ('_static/wtf_coop_header.png', 'epub-cover.html')