summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/_ext/px_xlator.py4
-rw-r--r--doc/_templates/px/layout.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/_ext/px_xlator.py b/doc/_ext/px_xlator.py
index 6ad1063e..637c284a 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/"
diff --git a/doc/_templates/px/layout.html b/doc/_templates/px/layout.html
index 02d36136..01f03ee5 100644
--- a/doc/_templates/px/layout.html
+++ b/doc/_templates/px/layout.html
@@ -2,7 +2,7 @@
<?xml version="1.0" encoding="utf-8" ?>
{%- endblock %}
-<page title='{{ title|striptags }}' {% if "beta" in release %}index='no'{% endif %}>
+<page title='{{ title|striptags }}' {% if "b" in release %}index='no'{% endif %}>
{% block document -%}
{%- block body %} {% endblock -%}
{%- endblock %}