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 | 3e38bf798d2de443c16e90712c466693dcc38ba4 (patch) | |
| tree | cc2364f44d029712e940685accd6cfe1a80075a1 /doc/_ext | |
| parent | f6d8b68dd2b0c0e37c8c9c527318f1b290cd8f99 (diff) | |
| download | python-coveragepy-git-3e38bf798d2de443c16e90712c466693dcc38ba4.tar.gz | |
Include the version number in the beta warning box.coverage-3.4b1
Diffstat (limited to 'doc/_ext')
| -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 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':
|
