diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2010-08-21 14:21:51 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-08-21 14:21:51 -0400 |
| commit | a5a965b48cb808d7189e94bed4c7f8e17fb7f6ca (patch) | |
| tree | c03651cd8fd0ce4a056178e5ef32a347fe23772e /doc/_ext/px_xlator.py | |
| parent | a09ed2c39f997305408303e97999c502c53bd079 (diff) | |
| download | python-coveragepy-coverage-3.4b1.tar.gz | |
Include the version number in the beta warning box.coverage-3.4b1
Diffstat (limited to 'doc/_ext/px_xlator.py')
| -rw-r--r-- | doc/_ext/px_xlator.py | 4 |
1 files changed, 2 insertions, 2 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':
|
