The footer on every docs.ceph.com page showed a hardcoded 2016
copyright. Render it as a range ending in the current build year.
Fixes: https://tracker.ceph.com/issues/79036
Signed-off-by: Emmanuel Ameh <eameh@contractor.linuxfoundation.org>
+import datetime
import fileinput
import glob
import logging
# project information
project = 'Ceph'
-copyright = ('2016, Ceph authors and contributors. '
+copyright = (f'2016-{datetime.date.today().year}, Ceph authors and contributors. '
'Licensed under Creative Commons Attribution Share Alike 3.0 '
'(CC-BY-SA-3.0)')
version, codename, release = parse_ceph_release()