Skip to content

Commit

Permalink
adjust copyright year dynamically
Browse files Browse the repository at this point in the history
Signed-off-by: chang-ning <[email protected]>
  • Loading branch information
crazyguitar committed Oct 10, 2018
1 parent ad9b78f commit be52715
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.

from datetime import datetime
import sys
import os

Expand Down Expand Up @@ -49,8 +50,9 @@
master_doc = 'index'

# General information about the project.
year = datetime.now().year
project = u'python-cheatsheet'
copyright = u'2016-2018, crazyguitar'
copyright = u'2016-{}, crazyguitar'.format(year)
author = u'crazyguitar'

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

0 comments on commit be52715

Please sign in to comment.