From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org, Markus Armbruster <armbru@redhat.com>
Subject: Re: [PATCH 6/7] docs: Add license note to the HTML page footer
Date: Mon, 5 Jul 2021 11:31:20 +0100 [thread overview]
Message-ID: <YOLfeGqkvgh7SGoH@redhat.com> (raw)
In-Reply-To: <20210705095547.15790-7-peter.maydell@linaro.org>
On Mon, Jul 05, 2021 at 10:55:46AM +0100, Peter Maydell wrote:
> The standard Sphinx/RTD HTML page footer gives a copyright line
> (based on the 'copyright' variable set in conf.py) and a line "Built
> with Sphinx using a theme provided by Read the Docs" (which can be
> disabled via the html_show_sphinx variable, but we leave it enabled).
> As a free software project, we'd like to also mention the license
> QEMU and its manual are released under.
>
> Add a template footer.html which defines the 'extrafooter' block that
> the RtD theme provides for this purpose. The new line of text will
> go below the existing copyright and sphinx-acknowledgement lines.
> (Unfortunately the RTD footer template does not permit putting it
> after the copyright but before the sphinx-acknowledgement.)
>
> We use the templating functionality to make the new text also be a
> hyperlink to the about/license.html page of the manual.
>
> Unlike rst files, HTML template files are not reported to our depfile
> plugin, so we maintain a manual list in meson.build. New template
> files should be rare, so not being able to auto-generate the
> dependency info is not too awkward.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> I know nothing about Jinja, and have merely cargo-culted the
> "make a link to a document" stuff from the handling of the
> optional copyright link in /usr/share/sphinx_rtd_theme/footer.html ...
> ---
> docs/_templates/footer.html | 12 ++++++++++++
> docs/meson.build | 3 ++-
> MAINTAINERS | 1 +
> 3 files changed, 15 insertions(+), 1 deletion(-)
> create mode 100644 docs/_templates/footer.html
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2021-07-05 10:32 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-05 9:55 [PATCH 0/7] docs: State QEMU version and license in all HTML footers Peter Maydell
2021-07-05 9:55 ` [PATCH 1/7] docs: Fix documentation Copyright date Peter Maydell
2021-07-05 9:58 ` Daniel P. Berrangé
2021-07-05 9:55 ` [PATCH 2/7] docs: Stop calling the top level subsections of our manual 'manuals' Peter Maydell
2021-07-05 10:15 ` Daniel P. Berrangé
2021-07-05 9:55 ` [PATCH 3/7] docs: Remove "Contents:" lines from top-level subsections Peter Maydell
2021-07-05 10:23 ` Daniel P. Berrangé
2021-07-05 9:55 ` [PATCH 4/7] docs: Move deprecation, build and license info out of system/ Peter Maydell
2021-07-05 10:18 ` Philippe Mathieu-Daudé
2021-07-05 10:24 ` Daniel P. Berrangé
2021-07-05 9:55 ` [PATCH 5/7] docs: Add some actual About text to about/index.rst Peter Maydell
2021-07-05 10:30 ` Daniel P. Berrangé
2021-07-05 9:55 ` [PATCH 6/7] docs: Add license note to the HTML page footer Peter Maydell
2021-07-05 10:31 ` Daniel P. Berrangé [this message]
2021-07-05 9:55 ` [PATCH 7/7] docs: Add QEMU version information to HTML footer Peter Maydell
2021-07-05 10:19 ` Philippe Mathieu-Daudé
2021-07-05 10:31 ` Daniel P. Berrangé
2021-07-13 14:31 ` [PATCH 0/7] docs: State QEMU version and license in all HTML footers Peter Maydell
2021-07-14 8:56 ` Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YOLfeGqkvgh7SGoH@redhat.com \
--to=berrange@redhat.com \
--cc=armbru@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).