summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-11-02 20:49:08 -0400
committerChris McDonough <chrism@plope.com>2010-11-02 20:49:08 -0400
commit52d4fbc978f7244d12a82a43163651b962fb8861 (patch)
treefb7a777766e6c4706180b4b95ba3c99840e8a674 /docs
parent0b4277c1abe936746b628d05367abd3fa6042381 (diff)
downloadpyramid-52d4fbc978f7244d12a82a43163651b962fb8861.tar.gz
pyramid-52d4fbc978f7244d12a82a43163651b962fb8861.tar.bz2
pyramid-52d4fbc978f7244d12a82a43163651b962fb8861.zip
make it unnecessary to change conf.py during a release, change author email, change version number to 0.0 until a release
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 5b1447a21..69c6b0680 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -12,6 +12,7 @@
# serve to show the default value.
import sys, os
+import datetime
# skip raw nodes
from sphinx.writers.text import TextTranslator
@@ -36,6 +37,10 @@ for item in os.listdir(parent):
if item.endswith('.egg'):
sys.path.append(os.path.join(parent, item))
+import pkginfo
+
+pkg_info = pkginfo.Develop(os.path.join(os.path.dirname(__file__),'..'))
+
# General configuration
# ---------------------
@@ -55,13 +60,13 @@ master_doc = 'index'
# General substitutions.
project = 'The Pyramid Web Application Development Framework'
-copyright = '2008-2010, Agendaless Consulting'
+copyright = '%s, Agendaless Consulting' % datetime.datetime.now().year
# The default replacements for |version| and |release|, also used in various
# other places throughout the built documents.
#
# The short X.Y version.
-version = '1.0a1'
+version = pkg_info.version
# The full version, including alpha/beta/rc tags.
release = version