Docs: keep copyright years up-to-date
authorHans Wennborg <hans@hanshq.net>
Wed, 12 Aug 2015 19:45:01 +0000 (19:45 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 12 Aug 2015 19:45:01 +0000 (19:45 +0000)
llvm-svn: 244797

clang/docs/conf.py

index edb2d37..6d53d94 100644 (file)
@@ -12,6 +12,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
@@ -41,7 +42,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Clang'
-copyright = u'2007-2015, The Clang Team'
+copyright = u'2007-%d, The Clang Team' % 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