summaryrefslogtreecommitdiff
path: root/help3xsl/get_media.sh
AgeCommit message (Collapse)Author
2018-08-09New Help housekeepingOlivier Hallot
remove deprecated files (gbuild has replaced them) Change-Id: I00a0a1558dfa80486dd64df37273c90bc6262fb0 Reviewed-on: https://gerrit.libreoffice.org/58784 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-05-05s/galaxy/colibre/Rene Engelhard
... as galaxy got removed with 60413c9800c27f53c1108015b50754b065bc98c6 Change-Id: I4e3ec6db6b57b31e184ec53def5bdb54e064ad21
2018-01-30Switched from list.js to fuse.js and paginathing.jsIlmari Lauhakangas
Fuse.js has Apache License 2.0 and paginathing.js has Expat License (aka MIT). Paginathing is a paginating utility and it was originally jQuery, but due to performance concerns I converted it to pure JavaScript and rather brutally adapted it to our needs. Fuse.js gives us fuzzy search with multiple strings. The settings can be refined, if needed. Settings can be easily tested with the live demo: http://fusejs.io/ Change-Id: I1cf6a6f7d06adbcac95760db90187ee26be8e908 Reviewed-on: https://gerrit.libreoffice.org/48906 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-23Use list.js for Index listing and searchIlmari Lauhakangas
List.js - http://listjs.com/ - allows us to paginate the results so the height does not get out of hand. Fuzzy search would be cool: http://listjs.com/docs/fuzzysearch/ ...but it gives too big of a perf hit with our 5700 items. Might try to bribe the creator to look into perf. Thanks a lot to David Tardon for the makefile solution and to Christian Lohmaier for playing a rubber duck. Change-Id: I359eed541470ccaa309b0b6ff5d809a796d9befd Reviewed-on: https://gerrit.libreoffice.org/48335 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-11-29Replace cp -rap with cp -a, satisfying all *nixes.Shinnok
On macOS, probably BSD too -rap will fail with both -r and -R implied. Change-Id: I6844d6f2ac52ca1c10564857f4e9190e1627ce52 Reviewed-on: https://gerrit.libreoffice.org/45430 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-11-01Refactor new help builder script into smaller piecesOlivier Hallot
Add 4 smaller bash scripts for building new help, for better management Scripts use the following parameters workDir: $(WORKDIR) lang: $(LANG) productVersion: 6.0 and put results in $(WORKDIR)/HelpTargetHTML ./get_hid2file.sh $productVersion $workDir Creates hid2file.js that maps HID into HTML page uses get_url.xsl transform ./get_bookmark.sh $lang $productVersion $workDir Creates the index file 'bookmarks.js' based on <bookmark_values> tag in all localized XHP files. Visible in Index tab of the HTML page Uses get_bookmark.xsl transform. ./get_html.sh $lang $productVersion $workDir $local $fileTree Creates the HTML pages from localized XHP files local: is local or website (yes/no) If local="yes", the filetree should be $(installDir) else (i.e. website), root file tree should be '/' fileTree: is root file tree for $local=yes If local = yes, then language selector, PIWIK probe and global search services are removed. Uses: online_transform.xsl transform ./get_tree.sh $lang $productVersion $workDir Creates the contents.js from localized TREE files Visible in Contents tab of the HTML page Uses get_tree.xsl transform ./get_media.sh $lang $productVersion $workDir Copy several auxiliary files for navigation Copy HC2 media files Copy galaxy icon theme for HTML pages * minor change in file name hid2file.js Added 2 more small scripts to show how to build local and online ./makelocal.sh ./makeonline.sh Languages depends on the languages available in $(WORKDIR)/HelpTranslatePartTarget/, and includes qtz. will handle special case of en-US later Change-Id: I0b7fdf5e1460070413eb2303f8d69b2b85a40c3e Reviewed-on: https://gerrit.libreoffice.org/44114 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>