Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions source/_templates/crown-copyright.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{# Displays the copyright information (which is defined in conf.py). #}
{% if show_copyright and copyright %}
<p class="copyright">
{% if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Crown Copyright, </a> {{ copyright }}.{% endtrans %}
<br/>
{% else %}
{% trans copyright=copyright|e %}© Crown Copyright, {{ copyright }}.{% endtrans %}
<br/>
{% endif %}
</p>
{% endif %}
4 changes: 2 additions & 2 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# -- Project information -----------------------------------------------------

project = 'Simulation Systems'
copyright = f'{datetime.datetime.now().year}, Met Office'
copyright = f'Met Office 2023'
author = 'Simulation Systems and Deployment Team'


Expand Down Expand Up @@ -51,7 +51,7 @@
html_theme = 'pydata_sphinx_theme'

html_theme_options = {
"footer_start": ["copyright", "sphinx-version"],
"footer_start": ["crown-copyright", "sphinx-version"],
"navigation_with_keys": False,
"show_toc_level": 2,
"show_prev_next": True,
Expand Down