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
commita5a965b48cb808d7189e94bed4c7f8e17fb7f6ca (patch)
treec03651cd8fd0ce4a056178e5ef32a347fe23772e
parenta09ed2c39f997305408303e97999c502c53bd079 (diff)
downloadpython-coveragepy-a5a965b48cb808d7189e94bed4c7f8e17fb7f6ca.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 9b57e45..00cc854 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 e8726bd..ddd2625 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.