Skip to content

Commit 3e38bf7

Browse files
committed
Include the version number in the beta warning box.
1 parent f6d8b68 commit 3e38bf7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/_ext/px_xlator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ def depart_field_list(self, node):
4545
if "beta" in self.builder.config.release:
4646
self.body.append("""
4747
<box>
48-
These docs are for a beta release.
48+
These docs are for a beta release, %s.
4949
For the latest released version, see <a href='/code/coverage'>coverage.py</a>.
5050
</box>
51-
""")
51+
""" % self.builder.config.release)
5252

5353
def visit_field(self, node):
5454
if node.children[0].astext() == 'history':

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
# The short X.Y version.
5050
version = '3.4'
5151
# The full version, including alpha/beta/rc tags.
52-
release = '3.4 beta'
52+
release = '3.4 beta 1'
5353

5454
# The language for content autogenerated by Sphinx. Refer to documentation
5555
# for a list of supported languages.

0 commit comments

Comments
 (0)