mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: © year out-of-date in footer of docs (#2353)
Solution: Compute the © year so it's always up-to-date
This commit is contained in:
parent
181c9a13b5
commit
58fbccf3f1
@ -13,7 +13,8 @@
|
||||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import wget # is for real!
|
||||
import wget # is for real!
|
||||
import datetime
|
||||
|
||||
from os import rename, remove
|
||||
from recommonmark.parser import CommonMarkParser
|
||||
@ -98,7 +99,8 @@ master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
project = 'Contributing to BigchainDB'
|
||||
copyright = '2017, BigchainDB Contributors'
|
||||
now = datetime.datetime.now()
|
||||
copyright = str(now.year) + ', BigchainDB Contributors'
|
||||
author = 'BigchainDB Contributors'
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
|
@ -13,6 +13,8 @@
|
||||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import datetime
|
||||
|
||||
from recommonmark.parser import CommonMarkParser
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
@ -60,7 +62,8 @@ master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
project = 'BigchainDB'
|
||||
copyright = '2017, BigchainDB Contributors'
|
||||
now = datetime.datetime.now()
|
||||
copyright = str(now.year) + ', BigchainDB Contributors'
|
||||
author = 'BigchainDB Contributors'
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
|
@ -13,6 +13,8 @@
|
||||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import datetime
|
||||
|
||||
from recommonmark.parser import CommonMarkParser
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
@ -81,7 +83,8 @@ master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
project = 'BigchainDB Server'
|
||||
copyright = '2017, BigchainDB Contributors'
|
||||
now = datetime.datetime.now()
|
||||
copyright = str(now.year) + ', BigchainDB Contributors'
|
||||
author = 'BigchainDB Contributors'
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
|
Loading…
x
Reference in New Issue
Block a user