diff --git a/doc/sphinx-apidoc/conf.py b/doc/sphinx-apidoc/conf.py index 2966fcff3..54517cb45 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!