diff --git a/src/sphinx/conf.py b/src/sphinx/conf.py index 654163249..f2d30670c 100644 --- a/src/sphinx/conf.py +++ b/src/sphinx/conf.py @@ -49,8 +49,7 @@ home_site = True # Passed to Google as site: # If empty, no search box is included -# TODO: pass this as an argument to sphinx, use actual version instead of release -site_search_base = 'http://www.scala-sbt.org/release/docs' +site_search_base = 'http://www.scala-sbt.org/' + release + '/docs' # passes variables to the template html_context = {'home_site': home_site, 'site_search_base': site_search_base}