Problem: Copyright year wrong in docs

Solution: Compute the copyright year when generating the docs
This commit is contained in:
Troy McConaghy 2018-06-14 15:12:45 +02:00 committed by GitHub
parent d3630109d3
commit d0724b60f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -29,9 +29,10 @@
#
# needs_sphinx = '1.0'
from recommonmark.parser import CommonMarkParser
import datetime
import sphinx_rtd_theme
from recommonmark.parser import CommonMarkParser
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@ -58,7 +59,8 @@ master_doc = 'index'
# General information about the project.
project = 'BigchainDB Javascript Driver'
copyright = '2017, BigchainDB'
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