You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by bu...@apache.org on 2015/09/19 18:42:29 UTC
svn commit: r966032 - in /websites/staging/maven/trunk/content: ./
developers/website/component-reference-documentation-helper.html
maven-site-1.0-site.jar
Author: buildbot
Date: Sat Sep 19 16:42:28 2015
New Revision: 966032
Log:
Staging update by buildbot for maven
Modified:
websites/staging/maven/trunk/content/ (props changed)
websites/staging/maven/trunk/content/developers/website/component-reference-documentation-helper.html
websites/staging/maven/trunk/content/maven-site-1.0-site.jar
Propchange: websites/staging/maven/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Sep 19 16:42:28 2015
@@ -1 +1 @@
-1704061
+1704062
Modified: websites/staging/maven/trunk/content/developers/website/component-reference-documentation-helper.html
==============================================================================
--- websites/staging/maven/trunk/content/developers/website/component-reference-documentation-helper.html (original)
+++ websites/staging/maven/trunk/content/developers/website/component-reference-documentation-helper.html Sat Sep 19 16:42:28 2015
@@ -499,7 +499,7 @@ instructions to publish component releas
<tr class="a">
-<td>category index page<br />
+<td><a href="" target="_blank" id="link-index-page">category index page</a><br />
<iframe id="index-page" src="" width="100%" height="300px"></iframe>
</td>
@@ -511,7 +511,13 @@ instructions to publish component releas
<script type="text/javascript">
//<![CDATA[
function selectCategory(index, archive) {
- indexPage.setAttribute('src', 'http://maven.apache.org/' + index);
+ var indexPage = document.getElementById('index-page');
+ var linkIndexPage = document.getElementById('link-index-page');
+ var archives = document.getElementById('archives');
+ var indexUrl = index ? ('http://maven.apache.org/' + index) : '';
+ indexPage.setAttribute('src', indexUrl);
+ linkIndexPage.setAttribute('href', indexUrl);
+ linkIndexPage.style.display = index ? "initial":"none";
archives.setAttribute('src', 'http://maven.apache.org/' + archive + '?C=M;O=D');
instructions();
}
@@ -538,7 +544,7 @@ function instructions() {
svnmucc = svnmucc.substr(0, svnmucc.indexOf(" rm "))
svnmucc = replaceAll(svnmucc, '${artifactId}-LATEST', '3-LATEST');
svnmucc = replaceAll(svnmucc, '${category}-archives', 'ref');
- svnmucc = replaceAll(svnmucc, '${artifactId}-${version} \\', '${version}');
+ svnmucc = replaceAll(svnmucc, '${artifactId}-${version} \\', '${version}\n\n');
}
svnmucc = replaceAll(svnmucc, '${category}', category);
if (artifactId) {
@@ -553,8 +559,6 @@ function instructions() {
var category = document.location.search.substr(1);
var svnmuccTemplate = document.getElementById('svnmucc').innerHTML;
-var indexPage = document.getElementById('index-page');
-var archives = document.getElementById('archives');
if (category == "core") {
selectCategory('docs/history.html', 'ref/');
} else if (category == "others") {
Modified: websites/staging/maven/trunk/content/maven-site-1.0-site.jar
==============================================================================
Binary files - no diff available.