"...git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "c3ac77b570b687e948d63b2078adcf4c37f3dec5"
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 @@ ...@@ -17,6 +17,7 @@
# add these directories to sys.path here. If the directory is relative to the # 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. # documentation root, use os.path.abspath to make it absolute, like shown here.
# #
import datetime
import os import os
import sys import sys
import sphinx import sphinx
...@@ -71,7 +72,7 @@ master_doc = 'index' ...@@ -71,7 +72,7 @@ master_doc = 'index'
# General information about the project. # General information about the project.
project = 'LightGBM' project = 'LightGBM'
copyright = '2017, Microsoft Corporation' copyright = '%s, Microsoft Corporation' % (str(datetime.datetime.now().year))
author = 'Microsoft Corporation' author = 'Microsoft Corporation'
# 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
......
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