Skip to content

Commit

Permalink
Merge pull request #665 from Matt-Deacalion/master
Browse files Browse the repository at this point in the history
Automatically show correct copyright year in documentation
  • Loading branch information
tim-schilling committed Nov 26, 2014
2 parents 3a2b4a4 + ccc7ad8 commit 2ab2c83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import datetime
import sys
import os

Expand Down Expand Up @@ -50,7 +51,8 @@

# General information about the project.
project = u'Django Debug Toolbar'
copyright = u'2013, Django Debug Toolbar developers and contributors'
copyright = u'{}, Django Debug Toolbar developers and contributors'
copyright = copyright.format(datetime.date.today().year)

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

0 comments on commit 2ab2c83

Please sign in to comment.