summaryrefslogtreecommitdiffstats
path: root/Utilities/Sphinx/conf.py.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-13 14:18:57 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-13 14:18:57 (GMT)
commit3bade75b02cd4989d0be5efc6547439eade22be9 (patch)
treebd90dc380bb1615c9720197143d7ddb5a954c450 /Utilities/Sphinx/conf.py.in
parent2bbf6bd7f880ee618dd1260d784ba88b042dbf89 (diff)
downloadCMake-3bade75b02cd4989d0be5efc6547439eade22be9.zip
CMake-3bade75b02cd4989d0be5efc6547439eade22be9.tar.gz
CMake-3bade75b02cd4989d0be5efc6547439eade22be9.tar.bz2
Help: Parse Copyright.txt instead of using current year
Configure our Sphinx conf.py with a copyright line extracted from Copyright.txt instead of using the year in which the documentation is built. This will future-proof the reported copyright year range when building documentation for old versions.
Diffstat (limited to 'Utilities/Sphinx/conf.py.in')
-rw-r--r--Utilities/Sphinx/conf.py.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/Utilities/Sphinx/conf.py.in b/Utilities/Sphinx/conf.py.in
index 52f4a31..ef622fd 100644
--- a/Utilities/Sphinx/conf.py.in
+++ b/Utilities/Sphinx/conf.py.in
@@ -13,7 +13,6 @@ import sys
import os
import re
import glob
-import time
sys.path.insert(0, r'@conf_path@')
@@ -21,7 +20,7 @@ source_suffix = '.rst'
master_doc = 'index'
project = 'CMake'
-copyright = '2000-%s Kitware, Inc.' % time.strftime('%Y')
+copyright = '@conf_copyright@'
version = '@conf_version@' # feature version
release = '@conf_release@' # full version string