Skip to content

Commit

Permalink
[docs] auto year in copyright of ReadTheDocs (#1684)
Browse files Browse the repository at this point in the history
  • Loading branch information
guolinke authored and StrikerRUS committed Sep 20, 2018
1 parent 425503d commit 44ed427
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Expand Up @@ -17,6 +17,7 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import datetime
import os
import sys
import sphinx
Expand Down Expand Up @@ -71,7 +72,7 @@

# General information about the project.
project = 'LightGBM'
copyright = '2017, Microsoft Corporation'
copyright = '%s, Microsoft Corporation' % (str(datetime.datetime.now().year))
author = 'Microsoft Corporation'

# The version info for the project you're documenting, acts as replacement for
Expand Down

0 comments on commit 44ed427

Please sign in to comment.