summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-08-21 14:21:51 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-08-21 14:21:51 -0400
commit3e38bf798d2de443c16e90712c466693dcc38ba4 (patch)
treecc2364f44d029712e940685accd6cfe1a80075a1
parentf6d8b68dd2b0c0e37c8c9c527318f1b290cd8f99 (diff)
downloadpython-coveragepy-git-3e38bf798d2de443c16e90712c466693dcc38ba4.tar.gz
Include the version number in the beta warning box.coverage-3.4b1
-rw-r--r--doc/_ext/px_xlator.py4
-rw-r--r--doc/conf.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/_ext/px_xlator.py b/doc/_ext/px_xlator.py
index 9b57e458..00cc854e 100644
--- a/doc/_ext/px_xlator.py
+++ b/doc/_ext/px_xlator.py
@@ -45,10 +45,10 @@ class PxTranslator(BaseHtmlXlator):
if "beta" in self.builder.config.release:
self.body.append("""
<box>
- These docs are for a beta release.
+ These docs are for a beta release, %s.
For the latest released version, see <a href='/code/coverage'>coverage.py</a>.
</box>
- """)
+ """ % self.builder.config.release)
def visit_field(self, node):
if node.children[0].astext() == 'history':
diff --git a/doc/conf.py b/doc/conf.py
index e8726bd8..ddd26253 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -49,7 +49,7 @@ copyright = u'2009-2010, Ned Batchelder'
# The short X.Y version.
version = '3.4'
# The full version, including alpha/beta/rc tags.
-release = '3.4 beta'
+release = '3.4 beta 1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.