You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2023/07/14 13:15:49 UTC
[causeway-site] branch asf-site updated (0ddcf7a60 -> c67d4b92c)
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a change to branch asf-site
in repository https://gitbox.apache.org/repos/asf/causeway-site.git
from 0ddcf7a60 updates website
new 684753cee updates algolia config stop urls
new c67d4b92c reinstates javascript for algolia search on home page
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
algolia-config.json | 2 +-
content/index.html | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+), 1 deletion(-)
[causeway-site] 01/02: updates algolia config stop urls
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/causeway-site.git
commit 684753ceee255abb6ee5ee94fee63485dbdc73c5
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Jul 14 11:27:27 2023 +0100
updates algolia config stop urls
---
algolia-config.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/algolia-config.json b/algolia-config.json
index 6d0f1d329..fb5b8e35e 100644
--- a/algolia-config.json
+++ b/algolia-config.json
@@ -7,7 +7,7 @@
"https://causeway.apache.org/sitemap.xml"
],
"stop_urls": [
- "https://causeway[.]apache[.]org/(docs|comguide|conguide|setupguide|relnotes|refguide|userguide|core|security|extensions|valuetypes|vro|vw|pjdo|pjpa|testing|tutorials|incubator|regressiontests)/(2.0.0-M9|2.0.0-M8|2.0.0-M7|2.0.0-M6|2.0.0-M5)/.*",
+ "https://causeway[.]apache[.]org/(docs|comguide|conguide|setupguide|relnotes|refguide|userguide|core|security|extensions|valuetypes|vro|vw|pjdo|pjpa|testing|tutorials|incubator|regressiontests)/(2.0.0-RC1|2.0.0-M9|2.0.0-M8|2.0.0-M7|2.0.0-M6|2.0.0-M5)/.*",
"https://causeway[.]apache[.]org/versions/(1.17.0|1.16.2|1.16.1|1.16.0|1.15.1|1.15.0|1.14.0|1.13.2|1.13.2|1.13.1|1.13.0|1.12.2|1.12.1|1.12.0|1.11.1|1.11.0)/.*"
],
"selectors": {
[causeway-site] 02/02: reinstates javascript for algolia search on home page
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/causeway-site.git
commit c67d4b92c3eeed31c1b7fc807ad7871ee726ef4f
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Jul 14 14:15:37 2023 +0100
reinstates javascript for algolia search on home page
---
content/index.html | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/content/index.html b/content/index.html
index f41479c5c..96e21d29f 100644
--- a/content/index.html
+++ b/content/index.html
@@ -791,5 +791,31 @@ docker run -p 8080:8080 apache/causeway-app-demo-jdo:latest</pre>
<!-- Template Main JavaScript File -->
<script src="_/js/home/main.js"></script>
+<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
+<script>
+ function focusSearchInput () { document.querySelector('#algolia-search-input').focus() }
+ var search = docsearch({
+ appId: '5ISP5TFAEN',
+ apiKey: '0fc51c28b4ad46e7318e96d4e97fab7c',
+ indexName: 'causeway-apache-org',
+ inputSelector: '#algolia-search-input',
+ autocompleteOptions: { hint: false, keyboardShortcuts: ['s'] },
+ debug: false,
+ }).autocomplete
+ search.on('autocomplete:closed', function () { search.autocomplete.setVal() })
+ focusSearchInput()
+ window.addEventListener('load', focusSearchInput);
+</script>
+
+<!--
+ docsearch options:
+ https://docsearch.algolia.com/docs/behavior/
+-->
+<!--
+ https://www.algolia.com/doc/api-reference/api-parameters/
+ algoliaOptions: { hitsPerPage: 6 },
+-->
+
+
</body>
</html>