This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cayenne-website.git
The following commit(s) were added to refs/heads/master by this push: new 51999ad Fix JavaDoc search this is a temporary fix, permanent one will be done in the javadoc plugin settings and published with the next release 51999ad is described below commit 51999ad6fb1149ebf2bca4bedc8f5409af32d827 Author: Nikita Timofeev <stari...@gmail.com> AuthorDate: Mon Aug 3 12:18:19 2020 +0300 Fix JavaDoc search this is a temporary fix, permanent one will be done in the javadoc plugin settings and published with the next release --- src/main/site/static/docs/4.1/api/search.js | 20 +------------------- src/main/site/static/docs/4.2/api/search.js | 20 +------------------- 2 files changed, 2 insertions(+), 38 deletions(-) diff --git a/src/main/site/static/docs/4.1/api/search.js b/src/main/site/static/docs/4.1/api/search.js index b773531..2897c2f 100644 --- a/src/main/site/static/docs/4.1/api/search.js +++ b/src/main/site/static/docs/4.1/api/search.js @@ -41,25 +41,7 @@ function getHighlightedText(item) { return label; } function getURLPrefix(ui) { - var urlPrefix=""; - if (useModuleDirectories) { - var slash = "/"; - if (ui.item.category === catModules) { - return ui.item.l + slash; - } else if (ui.item.category === catPackages && ui.item.m) { - return ui.item.m + slash; - } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) { - $.each(packageSearchIndex, function(index, item) { - if (ui.item.p == item.l) { - urlPrefix = item.m + slash; - } - }); - return urlPrefix; - } else { - return urlPrefix; - } - } - return urlPrefix; + return ""; } var watermark = 'Search'; $(function() { diff --git a/src/main/site/static/docs/4.2/api/search.js b/src/main/site/static/docs/4.2/api/search.js index b773531..2897c2f 100644 --- a/src/main/site/static/docs/4.2/api/search.js +++ b/src/main/site/static/docs/4.2/api/search.js @@ -41,25 +41,7 @@ function getHighlightedText(item) { return label; } function getURLPrefix(ui) { - var urlPrefix=""; - if (useModuleDirectories) { - var slash = "/"; - if (ui.item.category === catModules) { - return ui.item.l + slash; - } else if (ui.item.category === catPackages && ui.item.m) { - return ui.item.m + slash; - } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) { - $.each(packageSearchIndex, function(index, item) { - if (ui.item.p == item.l) { - urlPrefix = item.m + slash; - } - }); - return urlPrefix; - } else { - return urlPrefix; - } - } - return urlPrefix; + return ""; } var watermark = 'Search'; $(function() {