Commits

Ned Batchelder  committed 643affc

Is this why the beta docs weren't working? omg...

  • Participants
  • Parent commits e1f9891

Comments (0)

Files changed (2)

File doc/_ext/px_xlator.py

                 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. 
         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/"

File doc/_templates/px/layout.html

 <?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 %}