diff --git a/docs/conf.py b/docs/conf.py --- a/docs/conf.py +++ b/docs/conf.py @@ -44,7 +44,7 @@ master_doc = 'index' # General information about the project. project = u'Kallithea' -copyright = u'2010-2016 by various authors, licensed as GPLv3.' +copyright = u'2010-2019 by various authors, licensed as GPLv3.' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/scripts/update-copyrights.py b/scripts/update-copyrights.py --- a/scripts/update-copyrights.py +++ b/scripts/update-copyrights.py @@ -155,6 +155,17 @@ def main(): format_f=lambda years, name: ' ' + nice_years(years, '–', ', ') + ' ', ) + #docs/conf.py:copyright = u'2010-2016 by various authors, licensed as GPLv3.' + insert_entries( + filename='docs/conf.py', + all_entries=repo_entries, + no_entries=contributor_data.total_ignore, + domain_extra={}, + split_re=r"(?<=copyright = u').*(?= by various authors)", + normalize_name=lambda name: '', + format_f=lambda years, name: nice_years(years, '-', ', ') , + ) + if __name__ == '__main__': main()