diff Doc/conf.py @ 76155:16ef7e115cf8

Determine opensearch URL from current version.
author Georg Brandl <georg@python.org>
date Sat, 07 Apr 2012 19:24:40 +0200
parents 57a8a8f5e0bc
children a63af1c8e0b1
line wrap: on
line diff
--- a/Doc/conf.py	Sat Apr 07 19:23:00 2012 +0200
+++ b/Doc/conf.py	Sat Apr 07 19:24:40 2012 +0200
@@ -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']