Docs: keep copyright years up-to-date.
authorHans Wennborg <hans@hanshq.net>
Wed, 12 Aug 2015 18:27:23 +0000 (18:27 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 12 Aug 2015 18:27:23 +0000 (18:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244789 91177308-0d34-0410-b5e6-96231b3b80d8

docs/conf.py

index e1e6c45a56f125e31b65fc936b53781f80c59512..6e3f16ceef1ae6366e9d3cd677f86481f6fd332e 100644 (file)
@@ -11,6 +11,7 @@
 # serve to show the default.
 
 import sys, os
 # serve to show the default.
 
 import sys, os
+from datetime import date
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
@@ -40,7 +41,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'LLVM'
 
 # General information about the project.
 project = u'LLVM'
-copyright = u'2003-2014, LLVM Project'
+copyright = u'2003-%d, LLVM Project' % date.today().year
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the