From 6bed095f14906194a9773d9395e80748fd482bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kadl=C4=8D=C3=ADk?= Date: Mon, 17 Sep 2018 01:58:43 +0200 Subject: [PATCH] Avoid printing dot when copyright holder already ends with dot (#666) e.g. My Company, Inc. --- sphinx_rtd_theme/footer.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sphinx_rtd_theme/footer.html b/sphinx_rtd_theme/footer.html index 448d14575..66261c11e 100644 --- a/sphinx_rtd_theme/footer.html +++ b/sphinx_rtd_theme/footer.html @@ -16,9 +16,9 @@

{%- if show_copyright %} {%- if hasdoc('copyright') %} - {% trans path=pathto('copyright'), copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} + {% trans path=pathto('copyright'), copyright=copyright|e %}© Copyright {{ copyright }}{% endtrans %} {%- else %} - {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} + {% trans copyright=copyright|e %}© Copyright {{ copyright }}{% endtrans %} {%- endif %} {%- endif %}