This is an automated email from the ASF dual-hosted git repository.
baunsgaard pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/master by this push:
new b1e6a81 [SYSTEMDS-3014] Remove Google analytics and Angolia search
from docs
b1e6a81 is described below
commit b1e6a81566ccf4a2ca196d47bfd94cb147470bd2
Author: baunsgaard <[email protected]>
AuthorDate: Mon Jun 7 14:10:31 2021 +0200
[SYSTEMDS-3014] Remove Google analytics and Angolia search from docs
---
docs/_includes/header.html | 4 ++--
docs/_includes/scripts.html | 35 +----------------------------------
docs/_layouts/base.html | 1 -
docs/_layouts/site.html | 1 -
docs/css/main.css | 1 -
docs/css/pygments-default.css | 1 -
6 files changed, 3 insertions(+), 40 deletions(-)
diff --git a/docs/_includes/header.html b/docs/_includes/header.html
index fcf7cec..dfb1b9d 100644
--- a/docs/_includes/header.html
+++ b/docs/_includes/header.html
@@ -20,10 +20,10 @@ limitations under the License.
<div class="container">
<div class="navbar-header">
<div class="navbar-brand brand projectlogo">
- <a href="http://systemds.apache.org/"><img class="logo"
src=".{% if page.path contains 'site' %}/..{% endif %}/img/systemds-logo.png"
alt="Apache SystemDS" title="Apache SystemDS" /></a>
+ <a href="https://systemds.apache.org/"><img class="logo"
src=".{% if page.path contains 'site' %}/..{% endif %}/img/systemds-logo.png"
alt="Apache SystemDS" title="Apache SystemDS" /></a>
</div>
<div class="navbar-brand brand projecttitle">
- <a href="http://systemds.apache.org/">Apache SystemDS<sup
id="trademark">™</sup></a><br />
+ <a href="https://systemds.apache.org/">Apache SystemDS<sup
id="trademark">™</sup></a><br />
<span class="version">{{site.SYSTEMDS_VERSION}}</span>
</div>
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target=".navbar-collapse">
diff --git a/docs/_includes/scripts.html b/docs/_includes/scripts.html
index 965c62c..d802012 100644
--- a/docs/_includes/scripts.html
+++ b/docs/_includes/scripts.html
@@ -16,24 +16,7 @@ See the License for the specific language governing
permissions and
limitations under the License.
{% endcomment %}
-->
-{% if site.analytics_on == true %} {% case site.analytics_provider %} {% when
"google_universal" %}
-<!-- Analytics -->
-<script>
- (function(i, s, o, g, r, a, m) {
- i['GoogleAnalyticsObject'] = r;
- i[r] = i[r] || function() {
- (i[r].q = i[r].q || []).push(arguments)
- }, i[r].l = 1 * new Date();
- a = s.createElement(o),
- m = s.getElementsByTagName(o)[0];
- a.async = 1;
- a.src = g;
- m.parentNode.insertBefore(a, m)
- })(window, document, 'script', '//www.google-analytics.com/analytics.js',
'ga');
- ga('create', '{{ site.analytics_google_universal_tracking_id }}', 'auto');
- ga('send', 'pageview');
-</script>
-{% endcase %} {% endif %}
+
<!-- MathJax Section -->
<script type="text/x-mathjax-config">
@@ -67,19 +50,3 @@ limitations under the License.
d.getElementsByTagName('head')[0].appendChild(script);
}(document));
</script>
-<!-- Algolia search section -->
-<script type="text/javascript"
src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
-<script>
- // Crawler configuration for the search indexing is available at:
- //
https://github.com/algolia/docsearch-configs/blob/master/configs/apache_systemml.json
-
- docsearch({
- apiKey: '78c19564c220d4642a41197baae304ef',
- indexName: 'apache_systemds',
- inputSelector: "#s-bar",
- // For custom styling for the dropdown, please set debug to true
- // so that the dropdown won't disappear when the inspect tools are
- // open.
- debug: false
- });
-</script>
diff --git a/docs/_layouts/base.html b/docs/_layouts/base.html
index bd12c5d..2a30ee8 100644
--- a/docs/_layouts/base.html
+++ b/docs/_layouts/base.html
@@ -34,7 +34,6 @@ limitations under the License.
<link rel="stylesheet" href="./css/main.css">
<link rel="stylesheet" href="./css/pygments-default.css">
<link rel="shortcut icon" href="./img/favicon.png">
- <!-- <link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"
/> -->
<script src="./js/vendor/jquery-1.12.0.min.js"></script>
<script src="./js/vendor/bootstrap.min.js"></script>
<script src="./js/vendor/anchor.min.js"></script>
diff --git a/docs/_layouts/site.html b/docs/_layouts/site.html
index 06876e2..9b08714 100644
--- a/docs/_layouts/site.html
+++ b/docs/_layouts/site.html
@@ -34,7 +34,6 @@ limitations under the License.
<link rel="stylesheet" href="./../css/main.css">
<link rel="stylesheet" href="./../css/pygments-default.css">
<link rel="shortcut icon" href="./../img/favicon.png">
- <link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
<script src="./../js/vendor/jquery-1.12.0.min.js"></script>
<script src="./../js/vendor/bootstrap.min.js"></script>
<script src="./../js/vendor/anchor.min.js"></script>
diff --git a/docs/css/main.css b/docs/css/main.css
index 82d6b72..49b01cf 100644
--- a/docs/css/main.css
+++ b/docs/css/main.css
@@ -336,7 +336,6 @@ table {
.dropdown-menu li>a:hover {
background-color: #ff5003;
background-image: none;
- font-color: red;
}
a {
diff --git a/docs/css/pygments-default.css b/docs/css/pygments-default.css
index 6247cd8..ba98713 100644
--- a/docs/css/pygments-default.css
+++ b/docs/css/pygments-default.css
@@ -15,7 +15,6 @@ insert the code (or pre?) tags for you.
.hll { background-color: #ffffcc }
.c { color: #60a0b0; font-style: italic } /* Comment */
-.err { } /* Error */
.k { color: #007020; font-weight: bold } /* Keyword */
.o { color: #666666 } /* Operator */
.cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */