You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2020/05/24 22:06:58 UTC

[commons-geometry] 02/02: Remove dead and unnecessary links in module pages (web site).

This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git

commit 29858b8badfe9a4d3ff7b56ac4bb6de17cf15cb9
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Mon May 25 00:05:09 2020 +0200

    Remove dead and unnecessary links in module pages (web site).
---
 commons-geometry-core/src/site/site.xml      | 21 +++++++--------------
 commons-geometry-enclosing/src/site/site.xml | 21 +++++++--------------
 commons-geometry-euclidean/src/site/site.xml | 20 +++++++-------------
 commons-geometry-hull/src/site/site.xml      | 21 +++++++--------------
 commons-geometry-spherical/src/site/site.xml | 21 +++++++--------------
 5 files changed, 35 insertions(+), 69 deletions(-)

diff --git a/commons-geometry-core/src/site/site.xml b/commons-geometry-core/src/site/site.xml
index ba6436d..d9d4ce5 100644
--- a/commons-geometry-core/src/site/site.xml
+++ b/commons-geometry-core/src/site/site.xml
@@ -18,25 +18,18 @@
 <project name="Geometry">
   <bannerRight>
     <name>Apache Commons Geometry</name>
-    <src>/images/commons_geometry.small.png</src>
-    <href>/index.html</href>
+    <!-- Use a full URL allows a correct banner for the modules. -->
+    <src>https://commons.apache.org/proper/commons-geometry/images/commons_geometry.small.png</src>
+    <href>https://commons.apache.org/proper/commons-geometry/index.html</href>
   </bannerRight>
 
   <body>
     <menu name="Geometry">
       <item name="Overview" href="/index.html"/>
-      <item name="Downloads" href="https://commons.apache.org/geometry/download_geometry.cgi"/>
-      <item name="Issue Tracking" href="/issue-tracking.html"/>
-      <item name="Source Repository (current)"
-         href="https://gitbox.apache.org/repos/asf/commons-geometry.git"/>
-      <!-- <item name="Wiki"   -->
-      <!--       href="http://wiki.apache.org/commons/Geometry"/> -->
-      <item name="Developers Guide" href="/developers.html"/>
-      <item name="Release History" href="/release-history.html" />
-    </menu>
-
-    <menu name="User Guide">
-      <item name="Contents" href="/userguide/index.html"/>
+      <item name="Latest API docs (development)"
+            href="apidocs/index.html"/>
+      <!-- <item name="Javadoc (1.0 release)"
+                 href="https://commons.apache.org/geometry/commons-geometry-core/javadocs/api-1.0/index.html"/> -->
     </menu>
 
     <head>
diff --git a/commons-geometry-enclosing/src/site/site.xml b/commons-geometry-enclosing/src/site/site.xml
index ba6436d..88dc5cc 100644
--- a/commons-geometry-enclosing/src/site/site.xml
+++ b/commons-geometry-enclosing/src/site/site.xml
@@ -18,25 +18,18 @@
 <project name="Geometry">
   <bannerRight>
     <name>Apache Commons Geometry</name>
-    <src>/images/commons_geometry.small.png</src>
-    <href>/index.html</href>
+    <!-- Use a full URL allows a correct banner for the modules. -->
+    <src>https://commons.apache.org/proper/commons-geometry/images/commons_geometry.small.png</src>
+    <href>https://commons.apache.org/proper/commons-geometry/index.html</href>
   </bannerRight>
 
   <body>
     <menu name="Geometry">
       <item name="Overview" href="/index.html"/>
-      <item name="Downloads" href="https://commons.apache.org/geometry/download_geometry.cgi"/>
-      <item name="Issue Tracking" href="/issue-tracking.html"/>
-      <item name="Source Repository (current)"
-         href="https://gitbox.apache.org/repos/asf/commons-geometry.git"/>
-      <!-- <item name="Wiki"   -->
-      <!--       href="http://wiki.apache.org/commons/Geometry"/> -->
-      <item name="Developers Guide" href="/developers.html"/>
-      <item name="Release History" href="/release-history.html" />
-    </menu>
-
-    <menu name="User Guide">
-      <item name="Contents" href="/userguide/index.html"/>
+      <item name="Latest API docs (development)"
+            href="apidocs/index.html"/>
+      <!-- <item name="Javadoc (1.0 release)"
+                 href="https://commons.apache.org/geometry/commons-geometry-enclosing/javadocs/api-1.0/index.html"/> -->
     </menu>
 
     <head>
diff --git a/commons-geometry-euclidean/src/site/site.xml b/commons-geometry-euclidean/src/site/site.xml
index ba6436d..8915e07 100644
--- a/commons-geometry-euclidean/src/site/site.xml
+++ b/commons-geometry-euclidean/src/site/site.xml
@@ -18,26 +18,20 @@
 <project name="Geometry">
   <bannerRight>
     <name>Apache Commons Geometry</name>
-    <src>/images/commons_geometry.small.png</src>
-    <href>/index.html</href>
+    <!-- Use a full URL allows a correct banner for the modules. -->
+    <src>https://commons.apache.org/proper/commons-geometry/images/commons_geometry.small.png</src>
+    <href>https://commons.apache.org/proper/commons-geometry/index.html</href>
   </bannerRight>
 
   <body>
     <menu name="Geometry">
       <item name="Overview" href="/index.html"/>
-      <item name="Downloads" href="https://commons.apache.org/geometry/download_geometry.cgi"/>
-      <item name="Issue Tracking" href="/issue-tracking.html"/>
-      <item name="Source Repository (current)"
-         href="https://gitbox.apache.org/repos/asf/commons-geometry.git"/>
-      <!-- <item name="Wiki"   -->
-      <!--       href="http://wiki.apache.org/commons/Geometry"/> -->
-      <item name="Developers Guide" href="/developers.html"/>
-      <item name="Release History" href="/release-history.html" />
+      <item name="Latest API docs (development)"
+            href="apidocs/index.html"/>
+      <!-- <item name="Javadoc (1.0 release)"
+                 href="https://commons.apache.org/geometry/commons-geometry-euclidean/javadocs/api-1.0/index.html"/> -->
     </menu>
 
-    <menu name="User Guide">
-      <item name="Contents" href="/userguide/index.html"/>
-    </menu>
 
     <head>
       <![CDATA[<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
diff --git a/commons-geometry-hull/src/site/site.xml b/commons-geometry-hull/src/site/site.xml
index ba6436d..54b485f 100644
--- a/commons-geometry-hull/src/site/site.xml
+++ b/commons-geometry-hull/src/site/site.xml
@@ -18,25 +18,18 @@
 <project name="Geometry">
   <bannerRight>
     <name>Apache Commons Geometry</name>
-    <src>/images/commons_geometry.small.png</src>
-    <href>/index.html</href>
+    <!-- Use a full URL allows a correct banner for the modules. -->
+    <src>https://commons.apache.org/proper/commons-geometry/images/commons_geometry.small.png</src>
+    <href>https://commons.apache.org/proper/commons-geometry/index.html</href>
   </bannerRight>
 
   <body>
     <menu name="Geometry">
       <item name="Overview" href="/index.html"/>
-      <item name="Downloads" href="https://commons.apache.org/geometry/download_geometry.cgi"/>
-      <item name="Issue Tracking" href="/issue-tracking.html"/>
-      <item name="Source Repository (current)"
-         href="https://gitbox.apache.org/repos/asf/commons-geometry.git"/>
-      <!-- <item name="Wiki"   -->
-      <!--       href="http://wiki.apache.org/commons/Geometry"/> -->
-      <item name="Developers Guide" href="/developers.html"/>
-      <item name="Release History" href="/release-history.html" />
-    </menu>
-
-    <menu name="User Guide">
-      <item name="Contents" href="/userguide/index.html"/>
+      <item name="Latest API docs (development)"
+            href="apidocs/index.html"/>
+      <!-- <item name="Javadoc (1.0 release)"
+                 href="https://commons.apache.org/geometry/commons-geometry-hull/javadocs/api-1.0/index.html"/> -->
     </menu>
 
     <head>
diff --git a/commons-geometry-spherical/src/site/site.xml b/commons-geometry-spherical/src/site/site.xml
index ba6436d..523c589 100644
--- a/commons-geometry-spherical/src/site/site.xml
+++ b/commons-geometry-spherical/src/site/site.xml
@@ -18,25 +18,18 @@
 <project name="Geometry">
   <bannerRight>
     <name>Apache Commons Geometry</name>
-    <src>/images/commons_geometry.small.png</src>
-    <href>/index.html</href>
+    <!-- Use a full URL allows a correct banner for the modules. -->
+    <src>https://commons.apache.org/proper/commons-geometry/images/commons_geometry.small.png</src>
+    <href>https://commons.apache.org/proper/commons-geometry/index.html</href>
   </bannerRight>
 
   <body>
     <menu name="Geometry">
       <item name="Overview" href="/index.html"/>
-      <item name="Downloads" href="https://commons.apache.org/geometry/download_geometry.cgi"/>
-      <item name="Issue Tracking" href="/issue-tracking.html"/>
-      <item name="Source Repository (current)"
-         href="https://gitbox.apache.org/repos/asf/commons-geometry.git"/>
-      <!-- <item name="Wiki"   -->
-      <!--       href="http://wiki.apache.org/commons/Geometry"/> -->
-      <item name="Developers Guide" href="/developers.html"/>
-      <item name="Release History" href="/release-history.html" />
-    </menu>
-
-    <menu name="User Guide">
-      <item name="Contents" href="/userguide/index.html"/>
+      <item name="Latest API docs (development)"
+            href="apidocs/index.html"/>
+      <!-- <item name="Javadoc (1.0 release)"
+                 href="https://commons.apache.org/geometry/commons-geometry-spherical/javadocs/api-1.0/index.html"/> -->
     </menu>
 
     <head>