initial sphinx settings for epub (cover page contains only logo for now)

This commit is contained in:
Gulliver 2021-08-15 13:15:56 +02:00
parent 699395daba
commit df8cc554a3

View File

@ -65,7 +65,7 @@ html_theme_path = ["../theme"]
# Add any paths that contain custom static files (such as style sheets) here, # 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, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
#html_static_path = ['_static'] html_static_path = ['_static']
# -- Options for LaTex output ------------------------------------------------- # -- Options for LaTex output -------------------------------------------------
@ -89,3 +89,5 @@ latex_elements = {
} }
latex_logo = '_static/wtf_coop_header.png' latex_logo = '_static/wtf_coop_header.png'
latex_show_urls = 'footnote' latex_show_urls = 'footnote'
epub_cover = ('_static/wtf_coop_header.png', 'epub-cover.html')