summaryrefslogtreecommitdiff
path: root/help3xsl
AgeCommit message (Collapse)Author
2018-04-23Helponline: Tweak pagination symbols for improved clarityAdolfo Jayme Barrientos
Change-Id: I5308fb5f7039db592038f674b390f92779376d6d
2018-04-23Helponline: Contents and Index labels are oversizedAdolfo Jayme Barrientos
Change-Id: Iea3de265bd5cb81747f87e4279d6ac498be06c47
2018-04-23Helponline: Add some styling to the tablesAdolfo Jayme Barrientos
Change-Id: Iafef063c594142efeec56b96b1e508da3ac0d8b7
2018-04-20New Help: Improve table head renderingOlivier Hallot
Add class to parent <td> of <paragraph role="tablehead"> Change-Id: Ifb9caf4d4ac3ab5e4c750b5bd96260e2dcb298e1 Reviewed-on: https://gerrit.libreoffice.org/53179 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-04-18Remove unused sourceMappingURLStephan Bergmann
Caused Source map error: TypeError: NetworkError when attempting to fetch resource. Resource URL: file:///data/sbergman/lo-clang/core/instdir/help/fuse.js Source Map URL: fuse.js.map when loading <file:///.../instdir/help/index.html?swriter/.uno:HelpIndex?Language=en-US&System=UNIX&Version=6.1> in the browser. Change-Id: I5d318fe8c358cedbb961113561edea3b6d4a2ce1 Reviewed-on: https://gerrit.libreoffice.org/53077 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-04-17Include help2.js not help.jsStephan Bergmann
Otherwise, causes a ReferenceError: getParameterByName is not defined when loading <file:///.../instdir/help/index.html?swriter/.uno:HelpIndex?Language=en-US&System=UNIX&Version=6.1> in the browser. Change-Id: I13cdd36e44859a74c9a1b4e3b020fed2f56edda0 Reviewed-on: https://gerrit.libreoffice.org/53048 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-04-17Helpcontent2 housekeepingOlivier Hallot
Deleted spurious file in source/ Change-Id: Ia7417413e615635496398c223a0d95911c994123 Reviewed-on: https://gerrit.libreoffice.org/53012 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-04-17Fix index in sidebarOlivier Hallot
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>
2018-04-16replace http links with https equivalentsdennisroczek
* mainly http://wiki.documentfoundation.org * http://en.wikipedia.org * http://api.libreoffice.org Change-Id: I3587d8d5e6a6de4a7c7013920b9e135e4adc977c Reviewed-on: https://gerrit.libreoffice.org/52354 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-04-16tdf#116150 Review XHP <switch> style transformOlivier Hallot
implement <switch> and <switchinline> with HTML and Javascript, for 'sys' and 'appl'. Change-Id: I6056e787146bb92617c2ce639acab16d16d6f765 Reviewed-on: https://gerrit.libreoffice.org/52929 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-04-11Fix typosAndrea Gelmini
Change-Id: If081f3b5ac8b752234d115709731a104cea950d9 Reviewed-on: https://gerrit.libreoffice.org/52208 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-04-08Helponline: Rely on color, not thick borders, to separate content from UIAdolfo Jayme Barrientos
Those thick borders were fugly. Give a slightly darker appearance to the sidebar and make its border fainter. Remove the pure-white background in body to make it easier on the eyes. Kill the alarming yellow (what was I thinking?). Change-Id: If236126da91df535a0bddbfbf4804c8ee655c4e1
2018-03-23Helponline: Prettify donation promptAdolfo Jayme Barrientos
Change-Id: Iedf3d560c2a8d1feabadcf3ce1be40f1b5e01989
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-03-21Deploy videos in New Help (WIP)Olivier Hallot
Add YouTube videos in New help. add makefile NOTE: <object> is not rendered in old help. NOTE2: Removed online objects from offline help Change-Id: I829fe1858002a454417d36d0651fe49097e008d4 Reviewed-on: https://gerrit.libreoffice.org/51679 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-03-20Fix path for images in offline/online help pagesOlivier Hallot
Change-Id: I69a09398a3465ba3fb8eee953e4d9df67ee9ec84 Reviewed-on: https://gerrit.libreoffice.org/51639 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-03-14tdf#116296 remove produt version from help pathOlivier Hallot
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>
2018-03-09Drop undefined navigator propertyOlivier Hallot
Change-Id: I42a37211bfc6d6e3b91061593f252feb6c38a8b6 Reviewed-on: https://gerrit.libreoffice.org/50782 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-03-03tdf#116150 Fix logic for case/caseinline with 'sys'Olivier Hallot
Change-Id: I5c9cb270fa89ea5281355fc80be2a155b9d9ef9e Reviewed-on: https://gerrit.libreoffice.org/50650 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-02-28Add spacing between paragraphs, update normalize.cssIlmari Lauhakangas
Change-Id: I85df8d29fa78377d684adb4435087cc9f586dbe3 Reviewed-on: https://gerrit.libreoffice.org/50516 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-16tdf#94017 embeded h1 entries should be h2Olivier Hallot
This improves visual appearance of help pages of menus, etc... Change-Id: Ieece5897980e1defe25cda7b28fcd16c9998dfd4 Reviewed-on: https://gerrit.libreoffice.org/49857 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-02-16Add more support for languages in online new HelpOlivier Hallot
Added SL token for google Tooltip for clipboard Donation links Change-Id: Ib73c07f64992553abb1b4048c10e1dbb9a2c3573 Reviewed-on: https://gerrit.libreoffice.org/49854 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-02-12Better handling of user language in help onlineOlivier Hallot
Change-Id: I6a14081321cfd94fe1efb1f2b5fd23f20d4a27fc Reviewed-on: https://gerrit.libreoffice.org/49613 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-02-12Better handling of help URLs anchorsOlivier Hallot
Change-Id: I25a6b105f4a809839575e43cd4834cf96a1e5e7c Reviewed-on: https://gerrit.libreoffice.org/49516 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-02-09Tweaked contents expansionIlmari Lauhakangas
Stopped excluding main items. Highlighted current item. Harmonised the help.js indentation. Change-Id: I6b8f22940d077d008662a387071a5d5db04409f7 Reviewed-on: https://gerrit.libreoffice.org/49488 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-02-07Add anchor to branch bookmarks in hid-to-fileOlivier Hallot
Add the id="bm_nnnnnn" as anchor to get the html file displayed in the right position. Change-Id: Icf50119d7b4f7846abc2a128ccdf9d3ab77a50c2 Reviewed-on: https://gerrit.libreoffice.org/49299 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-31Fix typoAndrea Gelmini
Change-Id: I8fd351833236fe594a0480d9e09b0ef072ec7c46 Reviewed-on: https://gerrit.libreoffice.org/48997 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-01-31Fixes for MS browsers and tweaks to fuzzy searchIlmari Lauhakangas
Some experimental JS tech had slipped into the mix. Search settings should also be a bit more performant now. Change-Id: Ifae9986efc02d20fefa9480ae463107fe4743944 Reviewed-on: https://gerrit.libreoffice.org/48988 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-30New Help: Add donation link for online versionOlivier Hallot
Change-Id: I340362a70ecc115565c7fd7cb2be1a5d0fbb5599 Reviewed-on: https://gerrit.libreoffice.org/48929 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-29New Help: allow product version = "latest"Olivier Hallot
To enhance version migration, the most recent Help will be named "latest" in the URL. Explicit last version X.Y will be symbolic link to 'latest'. e.g. '6.0' -> 'latest' *This will allow search engine to always index the same 'latest' URL *External links always land in 'latest' pages. Change-Id: I5ffa1d268f71b7ebe75d5d90c62bcd6304507602 Reviewed-on: https://gerrit.libreoffice.org/48848 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-25Module names must stay uppercase due to DbPAR=MODULEIlmari Lauhakangas
Change-Id: I10cea1b204b20d482abec6a8f66d5cfee6cf6dfe Reviewed-on: https://gerrit.libreoffice.org/48509 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-19Correct Catalan spellingAdolfo Jayme Barrientos
Typo introduced in 01879555450189381cc02517433807056b193af8 Change-Id: I9978ec8b238493a501981e192aa92547f2c1fe5d
2018-01-19Add more localized strings for new HelpOlivier Hallot
Change-Id: I8c0cdcf8cf1ce64a407c98f4619a46b08c259b7d Reviewed-on: https://gerrit.libreoffice.org/48186 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-19Fix detection of bad help callOlivier Hallot
remove single quotes Change-Id: Ia7951508cbf0a49ae029588e1d254de5f3942f12 Reviewed-on: https://gerrit.libreoffice.org/48165 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-15tdf#114907 Expand and collapse symbols for ContentsIlmari Lauhakangas
Unicode like it's 1993. Change-Id: I625dc220341db788dd578c210ef2f368bec58199 Reviewed-on: https://gerrit.libreoffice.org/47902 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-11Fix HIDs with '?' insideOlivier Hallot
'?' interferes in logic to extract HID Change-Id: I5252d1cf861959cc6ad2b49afe9b19f4c9698f56 Reviewed-on: https://gerrit.libreoffice.org/47734 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-11Add L10n to labels, in New help UIOlivier Hallot
* Add l10n for "%PRODUCTNAME %PRODUCTVERSION Help" * same for "Module" * Content-Security-Policy only for online case Change-Id: Iedad3e198211c122fe5845171d5dcbc6edd4778d Reviewed-on: https://gerrit.libreoffice.org/47713 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-10Add Content-Security-Policies in new Help pagesOlivier Hallot
Change-Id: I115fc16fbf4b8284bfedc735761434bb586f0355 Reviewed-on: https://gerrit.libreoffice.org/47660 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-06Add l10n to the 'Module' string in Help UIOlivier Hallot
Change-Id: I3b1b202ea4544f1458086abf3b149dcd0be2d115 Reviewed-on: https://gerrit.libreoffice.org/47489 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-05Fix typosAndrea Gelmini
Change-Id: I4ab0df8ed7f3d8ac95f28220c9b4f59e2a6a1eb2 Reviewed-on: https://gerrit.libreoffice.org/47281 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-05Fix typosAndrea Gelmini
Change-Id: Ie3e0490e8ca41f9d4f20b834a3d5865c0fb18ad7 Reviewed-on: https://gerrit.libreoffice.org/47480 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-05Switched to a sidebar layout. Art direction by Andreas KainzIlmari Lauhakangas
Markup and JS got simpler, layout got more robust. Change-Id: Ia74489038e7d11b632ea2b6ca6efe0d90dfe5181 Reviewed-on: https://gerrit.libreoffice.org/47441 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-29tdf#114709, tdf#112758, tdf#112757Ilmari Lauhakangas
Lots of changes and tweaks. Header and footer now span 100% width even on desktop. Font sizes were increased and content area made narrower. We now have two separate language menus so the menu is always visible on mobile. Google search moved out of the accordion panel. Accordion panel colours made darker. On desktop, expanded accordion panels overlap content. Change-Id: I976a67b1ca0cb2d21f0569da8d1fefd2b589d7d3 Reviewed-on: https://gerrit.libreoffice.org/47139 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>