Commits

Ned Batchelder committed 7983cc5

Include the version number in the beta warning box.

  • Participants
  • Parent commits 3e69645
  • Tags coverage-3.4b1

Comments (0)

Files changed (2)

File doc/_ext/px_xlator.py

         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':
 # The short X.Y version.
 version = '3.4'
 # The full version, including alpha/beta/rc tags.
-release = '3.4 beta'
+release = '3.4 beta 1'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.