mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Print current year automatically.
This commit is contained in:
parent
5028e8a534
commit
e79900b465
@ -2,7 +2,10 @@
|
|||||||
#
|
#
|
||||||
# Gunicorn documentation build configuration file
|
# Gunicorn documentation build configuration file
|
||||||
#
|
#
|
||||||
import sys, os
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
|
|
||||||
DOCS_DIR = os.path.abspath(os.path.dirname(__file__))
|
DOCS_DIR = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
|
||||||
@ -19,7 +22,7 @@ master_doc = 'index'
|
|||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'Gunicorn'
|
project = u'Gunicorn'
|
||||||
copyright = u'2009-2015, Benoit Chesneau'
|
copyright = u'2009-%s, Benoit Chesneau' % time.strftime('%Y')
|
||||||
# gunicorn version
|
# gunicorn version
|
||||||
import gunicorn
|
import gunicorn
|
||||||
release = version = gunicorn.__version__
|
release = version = gunicorn.__version__
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user