summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefanie Molin <24376333+stefmolin@users.noreply.github.com>2023-05-11 17:43:48 -0400
committerGitHub <noreply@github.com>2023-05-11 22:43:48 +0100
commite09d02e440691e842377f0ebea7910d307509a81 (patch)
tree344e4ebf0226f7d78fdb5d3f517f241bc3947407 /doc
parent86b07d4a97a225e79150d14e25a768ebc4c087cc (diff)
downloadsphinx-git-e09d02e440691e842377f0ebea7910d307509a81.tar.gz
Allow ``copyright`` to contain multiple entries (#10983)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/_themes/sphinx13/layout.html2
-rw-r--r--doc/usage/configuration.rst4
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/_themes/sphinx13/layout.html b/doc/_themes/sphinx13/layout.html
index 8010517a6..86a794306 100644
--- a/doc/_themes/sphinx13/layout.html
+++ b/doc/_themes/sphinx13/layout.html
@@ -54,7 +54,7 @@
{%- block footer %}
<div class="footer" role="contentinfo">
- {% trans path=pathto('copyright'), copyright=copyright|e %}&#169; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
+ {{ copyright_block() }}
{% trans sphinx_version=sphinx_version|e %}Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
</div>
{%- endblock %}
diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst
index 1fc4c674b..133e2099d 100644
--- a/doc/usage/configuration.rst
+++ b/doc/usage/configuration.rst
@@ -73,6 +73,10 @@ Project information
A copyright statement in the style ``'2008, Author Name'``.
+ .. versionchanged:: 7.1
+ The value may now be a sequence of copyright statements in the above form,
+ which will be displayed each to their own line.
+
.. confval:: project_copyright
An alias of :confval:`copyright`.