Skip to content

Commit 2ab2c83

Browse files
committed
Merge pull request #665 from Matt-Deacalion/master
Automatically show correct copyright year in documentation
2 parents 3a2b4a4 + ccc7ad8 commit 2ab2c83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# All configuration values have a default; values that are commented out
1313
# serve to show the default.
1414

15+
import datetime
1516
import sys
1617
import os
1718

@@ -50,7 +51,8 @@
5051

5152
# General information about the project.
5253
project = u'Django Debug Toolbar'
53-
copyright = u'2013, Django Debug Toolbar developers and contributors'
54+
copyright = u'{}, Django Debug Toolbar developers and contributors'
55+
copyright = copyright.format(datetime.date.today().year)
5456

5557
# The version info for the project you're documenting, acts as replacement for
5658
# |version| and |release|, also used in various other places throughout the

0 commit comments

Comments
 (0)