From 9722fe6e140aa8982cd1a19644a7eab155aa058d Mon Sep 17 00:00:00 2001 From: Sage Abdullah Date: Wed, 30 Oct 2024 13:30:43 +0000 Subject: [PATCH] Add minimal epub metadata Ref: https://github.com/django/django/blob/97a6a678c406b0049bd17bcd34f1d71d96141994/docs/conf.py#L380-L386 --- docs/conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index d4898035ad..213b3f0593 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -336,6 +336,14 @@ texinfo_documents = [ # If true, do not generate a @detailmenu in the "Top" node's menu. # texinfo_no_detailmenu = False +# -- Options for Epub output --------------------------------------------------- + +# Bibliographic Dublin Core info. +epub_title = project +epub_author = "Wagtail core team and contributors" +epub_publisher = "Wagtail" +epub_copyright = copyright + def setup(app): app.add_js_file("js/banner.js")