From 3e38bf798d2de443c16e90712c466693dcc38ba4 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 21 Aug 2010 14:21:51 -0400 Subject: [PATCH] Include the version number in the beta warning box. --- doc/_ext/px_xlator.py | 4 ++-- doc/conf.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/_ext/px_xlator.py b/doc/_ext/px_xlator.py index 9b57e4585..00cc854e4 100644 --- a/doc/_ext/px_xlator.py +++ b/doc/_ext/px_xlator.py @@ -45,10 +45,10 @@ def depart_field_list(self, node): if "beta" in self.builder.config.release: self.body.append(""" - These docs are for a beta release. + These docs are for a beta release, %s. For the latest released version, see coverage.py. - """) + """ % self.builder.config.release) def visit_field(self, node): if node.children[0].astext() == 'history': diff --git a/doc/conf.py b/doc/conf.py index e8726bd88..ddd262539 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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.