summaryrefslogtreecommitdiffstats
path: root/CustomTarget_html.mk
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2018-11-09 19:46:07 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-11-09 21:14:57 +0100
commit9fb9990b3568c973cc41d5600492e0791e44d40a (patch)
tree1f785629126da84d0974bf244d056b386df31437 /CustomTarget_html.mk
parentRelated: tdf#121134: Changing http to https where possible (diff)
downloadhelp-9fb9990b3568c973cc41d5600492e0791e44d40a.tar.gz
help-9fb9990b3568c973cc41d5600492e0791e44d40a.zip
tdf#119415 change from fuse.js to fuzzysort.js
Tied the index listing to the current module. Fuzzysort.js is MIT licensed. Change-Id: I5d95cc1870a1856089217846ed0af572abc882d7 Reviewed-on: https://gerrit.libreoffice.org/63203 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'CustomTarget_html.mk')
-rw-r--r--CustomTarget_html.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/CustomTarget_html.mk b/CustomTarget_html.mk
index 00c6c7e2e8..50fd6aedd9 100644
--- a/CustomTarget_html.mk
+++ b/CustomTarget_html.mk
@@ -157,9 +157,9 @@ $(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)/%/bookmarks.js :
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CAT,2)
$(call gb_Helper_abbreviate_dirs,\
( \
- echo 'document.getElementsByClassName( "index" )[0].innerHTML='"'"'\' \
+ echo 'var bookmarks = [' \
&& cat $(filter %.part,$^) \
- && echo "'" \
+ && echo '];' \
) > $@ \
)