1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-22 01:36:56 +01:00

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

View File

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