summaryrefslogtreecommitdiffstats
path: root/Package_html_static.mk
Commit message (Collapse)AuthorAgeFilesLines
* Improve accessibility for modules and lang menusIlmari Lauhakangas2019-05-181-0/+1
| | | | | | | | | | | | | | | | | | | | Ever since the contents of the modules and lang menus started being populated upon click, the flow for screenreader users has been potentially confusing. This patch introduces a11y-toggle into the mix: https://github.com/edenspiekermann/a11y-toggle Checkboxes were changed into buttons. This hopefully makes it clear we want the user to click them. The contents tree still uses the checkbox hack, because its items are populated upon page load. Change-Id: I3482bea0c8669f96794498fc37d9d18fe3f829d5 Reviewed-on: https://gerrit.libreoffice.org/72467 Tested-by: Jenkins Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#124245 Polyfills and fixes for IE11Ilmari Lauhakangas2019-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | The polyfills can be removed after we drop IE11 support. Other IE11 fixes: Change from document.URL to window.location.pathname because otherwise we get local Windows paths with backward slashes. Use clear: left; for google-donation element so it doesn't float on top of other elements. Don't use defer to load fuzzysort.js and prism.js. Change-Id: I6c0143eab555c8b1fbdbde8e749a24baed2f69c8 Reviewed-on: https://gerrit.libreoffice.org/69549 Tested-by: Jenkins Reviewed-by: himajin100000 <himajin100000@gmail.com> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#115663 Syntax highlight in BASIC code examplesOlivier Hallot2018-11-291-0/+2
| | | | | | | | | | | | | Use prism.js to highlight BASIC code in help pages See README.prism.js.txt for details added normalize-whitespaces plugin to remove extra 1st line cleaned some useless css class Change-Id: I6dde4d217a29f485199ced462b896ee1b500fba0 Reviewed-on: https://gerrit.libreoffice.org/64252 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#119415 change from fuse.js to fuzzysort.jsIlmari Lauhakangas2018-11-091-1/+1
| | | | | | | | | | 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>
* tdf#118571 avoid MSI problems with double / in Package_html*.mkMichael Stahl2018-07-101-1/+1
| | | | | | | | | | MSI helpfully converts "help//fuse.js" into "help/help/fuse.js", which isn't obvious. Or helpful, for that matter. Actually it might be the Perl installer code that messes it up, can't quickly check whose fault it is... Change-Id: I69e9849b533a7fbe54310edb99bda3a879f4f031
* Clean up Package_html_static.mkStephan Bergmann2018-04-201-6/+6
| | | | | | | | | | | | | | | | | | | | | For ONLINE_HELP, apparently the source helpcontent2/help3xsl/index.html goes to instdir/help/index.html while the source helpcontent2/help3xsl/index2.html goes to instdir/help/$PRODUCTVERSION/index.html. And for !ONLINE_HELP, apparently both source files (index.html and index2.html) went to instdir/help/index.html, and the second one (index2.html) apparently happened to win. Cleaned that up, so that only the source helpcontent2/help3xsl/index2.html goes to instdir/help/index.html. Whether that's all as intended, or some of that is junk, I don't know. (Also sorted list of files lexicographically, for easier comparison with `ls` output.) Change-Id: I36f645e0de99a03b6e76f6c29fc18aa80e48a420 Reviewed-on: https://gerrit.libreoffice.org/53190 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Fix index in sidebarOlivier Hallot2018-04-171-0/+1
| | | | | | | | | | The last commit of online_transform.xsl instrpduced a bug in index search on the left. This one fixes it. Change-Id: I8055389a324d1fc5fde90ac2b76ff6f0a4a42493 Reviewed-on: https://gerrit.libreoffice.org/53011 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#116296 remove produt version from help pathOlivier Hallot2018-03-141-2/+2
| | | | | | | | | | | | | | | | Part two. Part 1 is in sfx2 module Remove product version from offline help path but keep in online help. Product version is kept for online because a help server can have more than one helponline version. Change-Id: I1d4ba12a7d6472defd4210c79349e35ccaf32d8d Reviewed-on: https://gerrit.libreoffice.org/51126 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Switched from list.js to fuse.js and paginathing.jsIlmari Lauhakangas2018-01-301-2/+2
| | | | | | | | | | | | | | | | | | 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>
* Use list.js for Index listing and searchIlmari Lauhakangas2018-01-231-0/+1
| | | | | | | | | | | | | | | 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>
* move generation of HTML help to gbuildDavid Tardon2017-12-071-0/+26
Change-Id: Ic38ee7b9a3ee4a45bede9d494f717d833e53d69f