From ba87011925a788e39aa5aca384bf6242afa58ed4 Mon Sep 17 00:00:00 2001 From: Cary Phillips Date: Mon, 11 Mar 2024 22:34:16 -0700 Subject: [PATCH] Add custom website footer with ASWF logo and proper copyright MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds the LF-recommended website copyright notice, with an ASWF logo: Copyright © OpenEXR a Series of LF Projects, LLC. For web site terms of use, trademark policy and other project policies please see https://lfprojects.org Sphinx doesn't support fancy, multiline copyright footers, so the suggested alternative is raw html in the layout.html template. And note that per LF policy, the copyright for website content is different from the copyright for source files. Signed-off-by: Cary Phillips --- website/_templates/layout.html | 14 ++++++++++++++ website/conf.py | 1 - 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 website/_templates/layout.html diff --git a/website/_templates/layout.html b/website/_templates/layout.html new file mode 100644 index 00000000..1fca7c9a --- /dev/null +++ b/website/_templates/layout.html @@ -0,0 +1,14 @@ + + + +{% extends '!layout.html' %} + +{% block footer %} + +

+ +

Copyright © OpenEXR a Series of LF Projects, LLC.

+

For web site terms of use, trademark policy and other project policies +please see https://lfprojects.org.

+ +{% endblock %} diff --git a/website/conf.py b/website/conf.py index b8c21668..5e408046 100644 --- a/website/conf.py +++ b/website/conf.py @@ -74,7 +74,6 @@ # General information about the project. project = 'Imath' -copyright = '2021, Contributors to the OpenEXR Project' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the