mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 10:23:43 +03:00
Self-updating copyright year in docs
This commit is contained in:
parent
f751c27208
commit
72a121c78f
|
@ -42,7 +42,9 @@ master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'Psycopg'
|
project = u'Psycopg'
|
||||||
copyright = u'2001-2013, Federico Di Gregorio. Documentation by Daniele Varrazzo'
|
from datetime import date
|
||||||
|
year = date.today().year
|
||||||
|
copyright = u'2001-%s, Federico Di Gregorio, Daniele Varrazzo' % year
|
||||||
|
|
||||||
# The version info for the project you're documenting, acts as replacement for
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
# |version| and |release|, also used in various other places throughout the
|
# |version| and |release|, also used in various other places throughout the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user