summaryrefslogtreecommitdiff
path: root/help3xsl/xhp2html.sh
AgeCommit message (Collapse)Author
2018-05-05s/galaxy/colibre/Rene Engelhard
... as galaxy got removed with 60413c9800c27f53c1108015b50754b065bc98c6 Change-Id: I4e3ec6db6b57b31e184ec53def5bdb54e064ad21
2018-03-22Add vnd.oasis.opendocument.* objects in new helpOlivier Hallot
Add capability to link ODF files in help page as objects Files are stored in media/files/ folder Example in func_imsin.xhp Change-Id: I4704e3cc235fd31251f3a4dba403e62f2ef1de0e Reviewed-on: https://gerrit.libreoffice.org/51721 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-02-27Update release for new help in scriptOlivier Hallot
Change-Id: Ia2531f7bb69d1ccb4c5e6665b04ffb6ab2b577cd Reviewed-on: https://gerrit.libreoffice.org/50450 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-02-08tdf#115255 and auto-expand contents per subitemIlmari Lauhakangas
JavaScript stuff moved from online_transform.xsl to help.js. Simplified bookmarks markup. Span elements with class "input" and length more than 3 characters can be copied to clipboard by mouse click. Bubli's feature request for auto-expanding contents per subitem is also implemented. Logic for adding headings to index list was reimplemented. Change-Id: I87b6f189a040a73a1ab9dda1ec9cd790b06da202 Reviewed-on: https://gerrit.libreoffice.org/49421 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
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-26Adjust online builder xhp2html.sh to new bookmarksOlivier Hallot
Change-Id: Ie3a211d7247acd0ef7c15266368d9db7e1c8f232 Reviewed-on: https://gerrit.libreoffice.org/48681 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>
2018-01-05Fix typosAndrea Gelmini
Change-Id: I2a98c7a079c69ac32b382d6c320dde456be98cf1 Reviewed-on: https://gerrit.libreoffice.org/47282 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-03Fix typosAndrea Gelmini
Change-Id: I7ef82f8d2896f3687be1aacfd08b8cf0d0d6e105 Reviewed-on: https://gerrit.libreoffice.org/47273 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-12-16Replace usage of readlink -f with realpath.Shinnok
For consistency reasons, the other scripts use the latter. Additionally on macOS/BSD readlink -f option is not available, nor other default tools for canonicalizing paths, so looking for GNU's realpath in the first place is a better bet. Change-Id: I77b82a956f63c66e352a372895cd623f83916168 Reviewed-on: https://gerrit.libreoffice.org/45486 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-28Fix hid2file.jsOlivier Hallot
Change-Id: I976801b1e84defd3f8588a3423acc4254098c237 Reviewed-on: https://gerrit.libreoffice.org/45411 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-11-13Fix script for online version of new helpOlivier Hallot
Change-Id: I9a395dbc88b6c2606b2a7fca1d829b10922e4674 Reviewed-on: https://gerrit.libreoffice.org/44630 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-20Some better coding practiceOlivier Hallot
use $() in bash script Change-Id: Ia46e529bf2059a378b0f311ec2b6d5fc03e86f66 Reviewed-on: https://gerrit.libreoffice.org/42566 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-08-06tdf#97745 use lowercase for file namesOlivier Hallot
synch with https://gerrit.libreoffice.org/#/c/40698/3 Change-Id: I7cc72312a729fcd6468198fd3cb9b4686e588832 Reviewed-on: https://gerrit.libreoffice.org/40812 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-08-02tdf#97745 Handle offline browser helpOlivier Hallot
* Rename index.html to LOHelp.html. index.html is a bad name, too generic. LOHelp.html is invoked by LibreOffice and is not a popular file name. * Clean the XSLT transform, add suport for local help. * reposition bookmark2file.js in the target tree. * remove obsolete files * page tree now capable to be opened by file:// protocol, passing 'online' parameter and folder address to the bash script. Change-Id: I2cf9f69de7896bd74074745993ef033bef5c3503 Reviewed-on: https://gerrit.libreoffice.org/40661 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-29tdf#97745 housekeepingOlivier Hallot
Fix links in bookmarks.js Better font size for Index and Contents Fix CSS file Change-Id: I42966be1d88b12393b6dd95adb2719baf76a025c Reviewed-on: https://gerrit.libreoffice.org/40549 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-26tdf#97745 Fix width on wide screensBuovjaga
Change-Id: I91a84a0d3460ab7ccacd1ec1f14ef7b97db3b767 Signed-off-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/40427 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-17tdf#97745 Help-in-browser (x) refactor contentsOlivier Hallot
Tree files now loaded as javascript More fixes Change-Id: Ifa353e717eec63e2369fbeabab7463f4ccd72392 Reviewed-on: https://gerrit.libreoffice.org/40069 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-16Help-in-browser (ix) Add contents treeviewOlivier Hallot
Add Contents tree transforming *.tree files Reposition <meta> tag for UTF-8 Fork bash script for faster processing Change-Id: I6c74aa1e855b7f4bb152e2c632f6ab7d683e5462 Reviewed-on: https://gerrit.libreoffice.org/40007 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-11Help-in-browser (viii) more...Olivier Hallot
* Correct schema * current set of built languages. * https://helponline.libreoffice.org Change-Id: I887214b080e6200ac840b74d175292649f8e4298 Reviewed-on: https://gerrit.libreoffice.org/39836 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-11Help-in-browser (vii) more improvementsOlivier Hallot
see it in http://helponline.libreoffice.org Added mos keywords from schema.org New, responsive page design Change-Id: I9df963c1a962c0fbb5c2926d8066b31cd20d485b Reviewed-on: https://gerrit.libreoffice.org/39822 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-02Help-in-browser (vi): more improvementsOlivier Hallot
Improvement: * image search & screeshots * inserted TechArticle schema elements from http://schema.org * new script for usage of helpex in a build * results in https://helponline.libreoffice.org Change-Id: I62d1c46f260c8bd5e287df382e8db086112c4d2a Reviewed-on: https://gerrit.libreoffice.org/39452 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>