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:
Troy McConaghy 2018-06-14 13:03:31 +02:00 committed by codegeschrei
parent 181c9a13b5
commit 58fbccf3f1
3 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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