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

paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-dev-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 322f57f  use relative links
322f57f is described below

commit 322f57f68b8e575cd0260581d86e40c9da924c53
Author: Paul King <[email protected]>
AuthorDate: Thu Feb 6 21:20:42 2025 +1000

    use relative links
---
 geb/index.html                 | 96 +++++++++++++++++++++---------------------
 geb/manual/snapshot/index.html | 28 ++++++------
 2 files changed, 61 insertions(+), 63 deletions(-)

diff --git a/geb/index.html b/geb/index.html
index e238379..e8270d0 100644
--- a/geb/index.html
+++ b/geb/index.html
@@ -4,30 +4,28 @@
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <meta name="Robots" content="index,follow" />
-    <script type="text/javascript">
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-15031038-2']);
-        _gaq.push(['_trackPageview', location.pathname + location.hash]);
-
-        window.onhashchange = function() {
-            _gaq.push(['_trackPageview', location.pathname + location.hash]);
-        };
-
+    <!-- Matomo -->
+    <script>
+        var _paq = window._paq = window._paq || [];
+        /* tracker methods like "setCustomDimension" should be called before 
"trackPageView" */
+        _paq.push(["setDoNotTrack", true]);
+        _paq.push(["disableCookies"]);
+        _paq.push(['trackPageView']);
+        _paq.push(['enableLinkTracking']);
         (function() {
-            var ga = document.createElement('script');
-            ga.type = 'text/javascript';
-            ga.async = true;
-            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-            var s = document.getElementsByTagName('script')[0];
-            s.parentNode.insertBefore(ga, s);
+          var u="https://analytics.apache.org/";;
+          _paq.push(['setTrackerUrl', u+'matomo.php']);
+          _paq.push(['setSiteId', '73']);
+          var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+          g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
         })();
     </script>
+    <!-- End Matomo Code -->
 
-    <link rel="stylesheet" href="/css/semantic.min.css">
-    <link rel="stylesheet" href="/css/base.css">
-
-    <link type="text/css" rel="stylesheet" href="/css/shCore.css" />
-    <link type="text/css" rel="stylesheet" href="/css/shThemeEclipse.css" />
+    <link rel="stylesheet" href="./css/semantic.min.css">
+    <link rel="stylesheet" href="./css/base.css">
+    <link type="text/css" rel="stylesheet" href="./css/shCore.css" />
+    <link type="text/css" rel="stylesheet" href="./css/shThemeEclipse.css" />
     <title>Geb - Very Groovy Browser Automation</title>
 </head>
 
@@ -39,7 +37,7 @@
                         <a class="toc item">
                             <i class="sidebar icon"></i>
                         </a>
-                        <a class="active item" href="/">Home</a>
+                        <a class="active item" href="./">Home</a>
                         <a class="manuals item">Manual</a>
                         <a class="apis item">API</a>
                         <a class="mailing-lists item">Mailing Lists</a>
@@ -51,23 +49,23 @@
 
                 <div id="apis-menu" class="ui horizontal secondary inverted 
hidden transition menu">
                     <div class="ui container">
-                        <a href="/manual/current/api/" class="item">
+                        <a href="./manual/current/api/" class="item">
                             <div class="ui green horizontal 
label">current</div>
                             7.0
                         </a>
-                        <a href="/manual/2.0/api/" class="item">2.0</a><a 
href="/manual/2.1/api/" class="item">2.1</a><a href="/manual/2.2/api/" 
class="item">2.2</a><a href="/manual/2.3/api/" class="item">2.3</a><a 
href="/manual/2.3.1/api/" class="item">2.3.1</a><a href="/manual/3.0/api/" 
class="item">3.0</a><a href="/manual/3.0.1/api/" class="item">3.0.1</a><a 
href="/manual/3.1/api/" class="item">3.1</a><a href="/manual/3.2/api/" 
class="item">3.2</a><a href="/manual/3.3/api/" class="ite [...]
-                        <a href="/manual/snapshot/api/" class="item"><div 
class="ui yellow horizontal label">snapshot</div>8.0-SNAPSHOT</a>
+                        <a href="./manual/6.0/api/" class="item">6.0</a><a 
href="./manual/5.1/api/" class="item">5.1</a><a href="./manual/5.0/api/" 
class="item">5.0</a><a href="./manual/4.1/api/" class="item">4.1</a><a 
href="./manual/4.0/api/" class="item">4.0</a><a href="./manual/3.4.1/api/" 
class="item">3.4.1</a><a href="./manual/3.4/api/" class="item">3.4</a><a 
href="./manual/3.3/api/" class="item">3.3</a><a href="./manual/3.2/api/" 
class="item">3.2</a><a href="./manual/3.1/api/" clas [...]
+                        <a href="./manual/snapshot/api/" class="item"><div 
class="ui yellow horizontal label">snapshot</div>8.0-SNAPSHOT</a>
                     </div>
                 </div>
 
                 <div id="manuals-menu" class="ui horizontal secondary inverted 
hidden transition menu">
                     <div class="ui container">
-                        <a href="/manual/current/" class="item">
+                        <a href="./manual/current/" class="item">
                             <div class="ui green horizontal 
label">current</div>
                             7.0
                         </a>
-                        <a href="/manual/2.0/" class="item">2.0</a><a 
href="/manual/2.1/" class="item">2.1</a><a href="/manual/2.2/" 
class="item">2.2</a><a href="/manual/2.3/" class="item">2.3</a><a 
href="/manual/2.3.1/" class="item">2.3.1</a><a href="/manual/3.0/" 
class="item">3.0</a><a href="/manual/3.0.1/" class="item">3.0.1</a><a 
href="/manual/3.1/" class="item">3.1</a><a href="/manual/3.2/" 
class="item">3.2</a><a href="/manual/3.3/" class="item">3.3</a><a 
href="/manual/3.4/" class=" [...]
-                        <a href="/manual/snapshot/" class="item"><div 
class="ui yellow horizontal label">snapshot</div>8.0-SNAPSHOT</a>
+                        <a href="./manual/6.0/" class="item">6.0</a><a 
href="./manual/5.1/" class="item">5.1</a><a href="./manual/5.0/" 
class="item">5.0</a><a href="./manual/4.1/" class="item">4.1</a><a 
href="./manual/4.0/" class="item">4.0</a><a href="./manual/3.4.1/" 
class="item">3.4.1</a><a href="./manual/3.4/" class="item">3.4</a><a 
href="./manual/3.3/" class="item">3.3</a><a href="./manual/3.2/" 
class="item">3.2</a><a href="./manual/3.1/" class="item">3.1</a><a 
href="./manual/3.0.1/ [...]
+                        <a href="./manual/snapshot/" class="item"><div 
class="ui yellow horizontal label">snapshot</div>8.0-SNAPSHOT</a>
                     </div>
                 </div>
 
@@ -80,7 +78,7 @@
                 </div>
 
                 <div class="ui inverted center aligned text container">
-                    <img class="logo-header" src="/images/logo.svg" alt="GEB" 
title='pronounced "Jeb"' />
+                    <img class="logo-header" src="./images/logo.svg" alt="GEB" 
title='pronounced "Jeb"' />
 
                     <div class="row">
                         <div class="ui four wide column">
@@ -133,11 +131,11 @@
 
                     <div class="sixteen wide column">
                         <div class="ui huge buttons">
-                            <a href="/manual/current/">
+                            <a href="./manual/current/">
                                 <button class="ui blue 
button">Documentation</button>
                             </a>
                             <div class="or" data-text="+"></div>
-                            <a href="/manual/current/api">
+                            <a href="./manual/current/api">
                                 <button class="ui yellow button">API</button>
                             </a>
                         </div>
@@ -155,14 +153,14 @@
                             the robustness of <a 
href="https://github.com/SeleniumHQ/selenium/wiki/PageObjects";>Page Object</a> 
modelling and the expressiveness of the <a 
href="http://www.groovy-lang.org/";>Groovy</a> language.</p>
                         <p>It can be used for scripting, scraping and general 
automation — or equally as a functional/web/acceptance testing solution via 
integration with testing frameworks such as <a 
href="http://spockframework.org";>Spock</a>,
                             <a href="http://www.junit.org/";>JUnit</a> &amp; <a 
href="http://testng.org/";>TestNG</a>.</p>
-                        <p>The <a href="/manual/current/">Book of Geb</a> 
contains all the information you need to get started with Geb.</p>
+                        <p>The <a href="./manual/current/">Book of Geb</a> 
contains all the information you need to get started with Geb.</p>
 
                         <h2 class="ui header">What does it look like?</h2>
                         <p>Here's what a simple Geb script to log into an 
admin section of a website might look like...</p>
 
                         <p>This is what is known as the scripting style of Geb 
and it's great for quick automation.</p>
 
-                        <a href="/manual/current/">
+                        <a href="./manual/current/">
                             <div class="ui huge primary button">
                                 See the guide <i class="right chevron 
icon"></i>
                             </div>
@@ -205,7 +203,7 @@ Browser.drive {
                         <div class="ui four cards">
                             <div class="card">
                                 <div class="ui content quadruple spaced image">
-                                    <img src="/images/firefox_512x512.png">
+                                    <img src="./images/firefox_512x512.png">
                                 </div>
                                 <div class="extra content">
                                     <i class="check icon"></i> Supported
@@ -219,7 +217,7 @@ Browser.drive {
 
                             <div class="card">
                                 <div class="ui content quadruple spaced image">
-                                    <img src="/images/edge_512x512.png" 
class="content">
+                                    <img src="./images/edge_512x512.png" 
class="content">
                                 </div>
                                 <div class="extra content">
                                     <i class="check icon"></i> Supported
@@ -233,7 +231,7 @@ Browser.drive {
 
                             <div class="card">
                                 <div class="ui content quadruple spaced image">
-                                    <img src="/images/chrome_512x512.png" 
class="content">
+                                    <img src="./images/chrome_512x512.png" 
class="content">
                                 </div>
                                 <div class="extra content">
                                     <i class="check icon"></i> Supported
@@ -247,7 +245,7 @@ Browser.drive {
 
                             <div class="card">
                                 <div class="ui content quadruple spaced image">
-                                    <img src="/images/safari_512x512.png" 
class="content">
+                                    <img src="./images/safari_512x512.png" 
class="content">
                                 </div>
                                 <div class="extra content">
                                     <i class="check icon"></i> Supported
@@ -270,7 +268,7 @@ Browser.drive {
                         <p>You can also use the headless, in process, Java 
browser emulator <a 
href="https://github.com/SeleniumHQ/selenium/wiki/HtmlUnitDriver";>HTMLUnit with 
WebDriver</a>.</p>
 
                         <div class="ui buttons">
-                            <a 
href="/manual/current/#driver-implementation-configuration" class="ui large 
right labeled orange icon button">
+                            <a 
href="./manual/current/#driver-implementation-configuration" class="ui large 
right labeled orange icon button">
                                 <i class="browser icon"></i>
                                 Driver Configuration
                             </a>
@@ -285,7 +283,7 @@ Browser.drive {
                         <h1 class="ui header">Navigating Content</h1>
                     </div>
                     <div class="eight wide column">
-                        <p>Geb takes inspiration from jQuery to provide a 
concise and effective way to get at content. This is called the <a 
href="/manual/current/#navigator" title="The Book Of Geb - Interacting with 
content">Navigator API</a>.</p>
+                        <p>Geb takes inspiration from jQuery to provide a 
concise and effective way to get at content. This is called the <a 
href="./manual/current/#navigator" title="The Book Of Geb - Interacting with 
content">Navigator API</a>.</p>
 
                         <p>The dollar function can be used anywhere to select 
content based on CSS selectors, attribute matchers and/or indexes.</p>
                     </div>
@@ -333,7 +331,7 @@ assert $("form").name == "Geb"
                     </div>
                     <div class="sixteen wide center aligned column">
                         <div class="ui buttons">
-                            <a href="/manual/current/#navigator" class="ui 
large right labeled pink icon button">
+                            <a href="./manual/current/#navigator" class="ui 
large right labeled pink icon button">
                                 Navigation
                                 <i class="location arrow icon"></i>
                             </a>
@@ -403,7 +401,7 @@ class DynamicPage extends Page {
 
                     <div class="sixteen wide center aligned column">
                         <div class="ui buttons">
-                            <a href="/manual/current/#waiting" class="ui large 
labeled green icon button">
+                            <a href="./manual/current/#waiting" class="ui 
large labeled green icon button">
                                 <i class="hourglass half icon"></i>
                                 Waiting
                             </a>
@@ -450,7 +448,7 @@ class LoginSpec extends GebSpec {
 
                 <div class="ui center aligned text container">
                     <div class="ui buttons">
-                        <a href="/manual/current/#testing" class="ui large 
right labeled teal icon button">
+                        <a href="./manual/current/#testing" class="ui large 
right labeled teal icon button">
                             Testing
                             <i class="lab icon"></i>
                         </a>
@@ -468,21 +466,21 @@ class LoginSpec extends GebSpec {
                     <div class="eight wide right aligned column">
                         <a href="http://www.gradle.org/";>
                             <div class="ui medium images">
-                                <img src="/images/gradle.png" 
class="offset-next">
+                                <img src="./images/gradle.png" 
class="offset-next">
                             </div>
                         </a>
                     </div>
                     <div class="eight wide left aligned column">
                         <a href="http://maven.apache.org/";>
                             <div class="ui medium images">
-                                <img src="/images/maven.png" 
class="offset-next">
+                                <img src="./images/maven.png" 
class="offset-next">
                             </div>
                         </a>
                     </div>
 
                     <div class="sixteen wide center aligned column">
                         <div class="ui buttons">
-                            <a href="/manual/current/#build-integrations" 
class="ui large labeled yellow icon button">
+                            <a href="./manual/current/#build-integrations" 
class="ui large labeled yellow icon button">
                                 Build Integrations
                                 <i class="puzzle icon"></i>
                             </a>
@@ -519,16 +517,16 @@ class LoginSpec extends GebSpec {
             </div>
 
 
-            <script src="/js/jquery.min.js"></script>
-            <script src="/js/semantic.min.js"></script>
-            <script language="javascript" src="/js/shCore.js"></script>
-            <script language="javascript" src="/js/shBrushGroovy.js"></script>
+            <script src="./js/jquery.min.js"></script>
+            <script src="./js/semantic.min.js"></script>
+            <script language="javascript" src="./js/shCore.js"></script>
+            <script language="javascript" src="./js/shBrushGroovy.js"></script>
             <script type="text/javascript" charset="utf-8">
                 SyntaxHighlighter.defaults['toolbar'] = false;
                 SyntaxHighlighter.defaults['gutter'] = false;
                 SyntaxHighlighter.all();
             </script>
-            <script language="javascript" src="/js/base.js"></script>
+            <script language="javascript" src="./js/base.js"></script>
 
 
 <a href="https://github.com/geb/geb"; class="github-corner" aria-label="View 
source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" 
style="fill:#fff; color:#151513; position: absolute; top: 0; border: 0; right: 
0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 
Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 
120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 
125.5,87.3 C122.9,97.6 130.6,101 [...]
diff --git a/geb/manual/snapshot/index.html b/geb/manual/snapshot/index.html
index 3b643c0..07110c4 100644
--- a/geb/manual/snapshot/index.html
+++ b/geb/manual/snapshot/index.html
@@ -10,23 +10,23 @@
 <link rel="stylesheet" href="./css/style.css">
 <link rel="stylesheet" 
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css";>
 <link rel="stylesheet" href="./coderay-asciidoctor.css">
-<script type="text/javascript">
-
-    var _gaq = _gaq || [];
-    _gaq.push(['_setAccount', 'UA-15031038-2']);
-    _gaq.push(['_trackPageview', location.pathname + location.hash]);
-
-    window.onhashchange = function() {
-        _gaq.push(['_trackPageview', location.pathname + location.hash]);
-    };
-
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+    /* tracker methods like "setCustomDimension" should be called before 
"trackPageView" */
+    _paq.push(["setDoNotTrack", true]);
+    _paq.push(["disableCookies"]);
+    _paq.push(['trackPageView']);
+    _paq.push(['enableLinkTracking']);
     (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+      var u="https://analytics.apache.org/";;
+      _paq.push(['setTrackerUrl', u+'matomo.php']);
+      _paq.push(['setSiteId', '73']);
+      var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+      g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
     })();
-
 </script>
+<!-- End Matomo Code -->
 </head>
 <body class="book toc2 toc-left">
 <div id="header">

Reply via email to