Commit 44ed4270 authored by Guolin Ke's avatar Guolin Ke Committed by Nikita Titov
Browse files

[docs] auto year in copyright of ReadTheDocs (#1684)

parent 425503d7
......@@ -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
......@@ -71,7 +72,7 @@ master_doc = 'index'
# 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment