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)
llvm-svn: 244789

llvm/docs/conf.py

index e1e6c45..6e3f16c 100644 (file)
@@ -11,6 +11,7 @@
 # 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
@@ -40,7 +41,7 @@ master_doc = 'index'
 
 # 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