[Python-checkins] cpython: Determine opensearch URL from current version.

georg.brandl python-checkins at python.org
Sat Apr 7 19:24:43 CEST 2012


http://hg.python.org/cpython/rev/16ef7e115cf8
changeset: 76155:16ef7e115cf8
user: Georg Brandl <georg at python.org>
date: Sat Apr 07 19:24:40 2012 +0200
summary:
 Determine opensearch URL from current version.
files:
 Doc/conf.py | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/conf.py b/Doc/conf.py
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -91,7 +91,7 @@
 }
 
 # Output an OpenSearch description file.
-html_use_opensearch = 'http://docs.python.org/3.3'
+html_use_opensearch = 'http://docs.python.org/' + version
 
 # Additional static files.
 html_static_path = ['tools/sphinxext/static']
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /