Skip to content

Commit

Permalink
auto-generate 'current' copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Jan 20, 2013
1 parent 4568820 commit b96c833
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions conf.py
Expand Up @@ -17,7 +17,9 @@
# make it absolute, like shown here.
#sys.path.append(os.path.abspath('some/directory'))

import sys, os
import sys
import os
import datetime

# General configuration
# ---------------------
Expand All @@ -37,7 +39,8 @@

# General substitutions.
project = 'pylonsrtd'
copyright = '2011, Agendaless Consulting <chrism@plope.com>'
year = datetime.date.today().year
copyright = '2011-{0} Agendaless Consulting <chrism@plope.com>'.format(year)

# The default replacements for |version| and |release|, also used in various
# other places throughout the built documents.
Expand Down

0 comments on commit b96c833

Please sign in to comment.