Skip to content

Commit

Permalink
Problem: Copyright year wrong in docs
Browse files Browse the repository at this point in the history
Solution: Compute the copyright year when generating the docs
  • Loading branch information
ttmc committed Jun 14, 2018
1 parent d363010 commit d0724b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -58,7 +59,8 @@

# 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
Expand Down

0 comments on commit d0724b6

Please sign in to comment.