Skip to content

Commit e9e1cbb

Browse files
Updates year in footer
Year in footer updates automatically. Fixes coala#582
1 parent a247a76 commit e9e1cbb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

conf.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
import sys
1717
import os
18+
import datetime
1819

1920
import coalib
2021

@@ -49,9 +50,11 @@
4950
# The master toctree document.
5051
master_doc = 'index'
5152

52-
# General information about the project.
53+
# General information about the project.
54+
# Copyright year updated automatically.
5355
project = 'coala'
54-
copyright = '2017, The coala Developers'
56+
year = datetime.datetime.now().year
57+
copyright = str(year)+', The coala Developers'
5558
author = 'The coala Developers'
5659

5760
# The version info for the project you're documenting, acts as replacement for

0 commit comments

Comments
 (0)