Skip to content

Commit

Permalink
Include the version number in the beta warning box.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Aug 21, 2010
1 parent f6d8b68 commit 3e38bf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/_ext/px_xlator.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ def depart_field_list(self, node):
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':
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
# 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.
Expand Down

0 comments on commit 3e38bf7

Please sign in to comment.