summaryrefslogtreecommitdiffstats
path: root/Utilities/Sphinx/conf.py.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-04 18:36:41 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-04 19:22:23 (GMT)
commitedc7cc967dbec540bdb333a00e62581e010882c3 (patch)
tree583387027bb3e375469dbb8d0f4ff63c60c11a36 /Utilities/Sphinx/conf.py.in
parentf4253d7bf644ce93eb1fb909432317d47423a788 (diff)
downloadCMake-edc7cc967dbec540bdb333a00e62581e010882c3.zip
CMake-edc7cc967dbec540bdb333a00e62581e010882c3.tar.gz
CMake-edc7cc967dbec540bdb333a00e62581e010882c3.tar.bz2
Help: Configure copyright year automatically
Teach our Sphinx conf.py to compute the copyright end year automatically. Drop our hard-coded configuration for it.
Diffstat (limited to 'Utilities/Sphinx/conf.py.in')
-rw-r--r--Utilities/Sphinx/conf.py.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Utilities/Sphinx/conf.py.in b/Utilities/Sphinx/conf.py.in
index ea00b78..d8daee4 100644
--- a/Utilities/Sphinx/conf.py.in
+++ b/Utilities/Sphinx/conf.py.in
@@ -13,14 +13,15 @@ import sys
import os
import re
import glob
+import time
sys.path.insert(0, r'@conf_path@')
source_suffix = '.rst'
master_doc = 'index'
-project = 'CMake'
-copyright = '@conf_copyright@'
+project = 'CMake'
+copyright = '2000-%s Kitware, Inc.' % time.strftime('%Y')
version = '@conf_version@' # feature version
release = '@conf_release@' # full version string