From 87a0fd1abbda4eb64720a62bbada4bf499e80183 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Wed, 8 Feb 2012 01:40:56 -0800 Subject: [PATCH] DOC: Refactor Javascript for listing doc versions to only have the version in one place. --- doc/source/_static/docversions.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/doc/source/_static/docversions.js b/doc/source/_static/docversions.js index f7929166..5570c4ef 100644 --- a/doc/source/_static/docversions.js +++ b/doc/source/_static/docversions.js @@ -1,17 +1,12 @@ - function insert_version_links() { - var labels = ['0.5dev', '0.4', '0.3']; - var links = ['http://scikits-image.org/docs/dev/index.html', - 'http://scikits-image.org/docs/0.4/index.html', - 'http://scikits-image.org/docs/0.3/index.html']; + var labels = ['dev', '0.4', '0.3']; document.write('\n'); } -