summaryrefslogtreecommitdiffstats
path: root/archiva-docs/pom.xml
diff options
context:
space:
mode:
authorMaria Odea B. Ching <oching@apache.org>2009-07-28 07:42:50 +0000
committerMaria Odea B. Ching <oching@apache.org>2009-07-28 07:42:50 +0000
commit2de9b3de756081c4a4cd11a7fd79d3bc593356dd (patch)
tree2f6f5c04781ee69f61397fdbf5138eaf8efce670 /archiva-docs/pom.xml
parent0586f7bd5bb9c98a26c82c7ffd880859ed7ea5c0 (diff)
downloadarchiva-2de9b3de756081c4a4cd11a7fd79d3bc593356dd.tar.gz
archiva-2de9b3de756081c4a4cd11a7fd79d3bc593356dd.zip
[MRM-1002] Website navigation links don't work as expected
Submitted by: Jevica Arianne Zurbano * replaced the breadcrumbs to point to the documentation's index to avoid o the directory listing when accessing http://archiva.apache.org/docs/ o being pointed to a non-existing page like http://archiva.apache.org/docs/1.2-M1/docs/1.2-M1 * added 'Downloads' link in site.xml * updated the evaluateBeanshell condition to coincide with site.xml modification git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798430 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/pom.xml')
-rw-r--r--archiva-docs/pom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-docs/pom.xml b/archiva-docs/pom.xml
index 80f293284..63d81bf4b 100644
--- a/archiva-docs/pom.xml
+++ b/archiva-docs/pom.xml
@@ -122,7 +122,7 @@
<![CDATA[
javax.xml.xpath.XPath xpath = javax.xml.xpath.XPathFactory.newInstance().newXPath();
org.xml.sax.InputSource is = new org.xml.sax.InputSource( new java.io.FileInputStream( "${basedir}/src/site/site.xml" ) );
- xpath.evaluate( "//project/body/breadcrumbs/item[@name='${project.version}']/@href", is ).equals( "/docs/${project.version}" )
+ xpath.evaluate( "//project/body/breadcrumbs/item[@name='${project.version}']/@href", is ).equals( "/index.html" )
]]>
</condition>
</evaluateBeanshell>