summaryrefslogtreecommitdiff
path: root/doc/_ext/px_xlator.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-28 07:51:48 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-28 07:51:48 -0500
commit795e130cbb315cabbb377e1db63b375bb9f6969d (patch)
treed94fc9988844dbf900c15157acc64e32d1d36afd /doc/_ext/px_xlator.py
parent428d631ff0dd2be929c5fd210fe536d9c15961d5 (diff)
downloadpython-coveragepy-795e130cbb315cabbb377e1db63b375bb9f6969d.tar.gz
Is this why the beta docs weren't working? omg...
Diffstat (limited to 'doc/_ext/px_xlator.py')
-rw-r--r--doc/_ext/px_xlator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/_ext/px_xlator.py b/doc/_ext/px_xlator.py
index 6ad1063..637c284 100644
--- a/doc/_ext/px_xlator.py
+++ b/doc/_ext/px_xlator.py
@@ -46,7 +46,7 @@ class PxTranslator(BaseHtmlXlator):
self.body.append("<what when='%s'>%s</what>\n" % (when, self.encode(what.strip())))
self.body.append("</history>\n")
- if "beta" in self.builder.config.release:
+ if "b" in self.builder.config.release:
self.body.append("""
<box>
These docs are for a beta release, %s.
@@ -95,7 +95,7 @@ class PxBuilder(StandaloneHTMLBuilder):
self.out_suffix = '.px'
self.link_suffix = '.html'
- if "beta" in self.config.release:
+ if "b" in self.config.release:
self.px_uri = "/code/coverage/beta/"
else:
self.px_uri = "/code/coverage/"