From 3d5ed2874ed145d3e34200c4f7657e17f4ad888b Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 28 Nov 2012 07:51:48 -0500 Subject: Is this why the beta docs weren't working? omg... --- doc/_ext/px_xlator.py | 4 ++-- doc/_templates/px/layout.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') 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("%s\n" % (when, self.encode(what.strip()))) self.body.append("\n") - if "beta" in self.builder.config.release: + if "b" in self.builder.config.release: self.body.append(""" 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 @@ {%- endblock %} - + {% block document -%} {%- block body %} {% endblock -%} {%- endblock %} -- cgit v1.2.1