From 43b88a5948250958d6a58bb0d00726348aefff50 Mon Sep 17 00:00:00 2001 From: "C.A.P. Linssen" Date: Tue, 27 Feb 2024 01:49:05 -0800 Subject: [PATCH] add copyright notice to documentation --- doc/sphinx-apidoc/conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/sphinx-apidoc/conf.py b/doc/sphinx-apidoc/conf.py index 2966fcff3..92f0a19fa 100644 --- a/doc/sphinx-apidoc/conf.py +++ b/doc/sphinx-apidoc/conf.py @@ -26,6 +26,7 @@ import os import pip import sys +import datetime # pip.main(['install', 'Sphinx==1.5.6']) @@ -158,8 +159,9 @@ # source_suffix = '.rst' # General information about the project. +current_year = datetime.datetime.now().year project = u'NESTML documentation' -copyright = u'2004, nest-simulator' +copyright = f'© 2004-{current_year}, licensed under the GNU General Public License (GPL) v2 or later' author = u'nest-simulator' @@ -228,7 +230,7 @@ htmlhelp_basename = 'NESTMLdoc' html_show_sphinx = False -html_show_copyright = False +html_show_copyright = True # This way works for ReadTheDocs # With this local 'make html' is broken!