summaryrefslogtreecommitdiff
path: root/help3xsl
AgeCommit message (Collapse)Author
2024-04-16Move z-index rule to CSS stylesheet we controlJuan José González
Previously a fix was pushed to prism css file, which can be changed by the upstream project. Instead overwrite the rule in our files. Change-Id: I549b05d4a359343ae0fe09831644a2eed8fb0474 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/166076 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-04-04tdf#160467 Remove z-index in prism code blockJuan José González
Right now code renders on top of header section. Remove z-index to fix it. Change-Id: Ic0cf226275eae1656107de27907a94af256d5555 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/165768 Tested-by: Jenkins Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-01-05tdf#158961 Remove a z-index: 100 rule to keep Safari happyIlmari Lauhakangas
Modules navigation was not showing up in Safari because it had too few elements to overflow. For some reason the z-index: 100 rule for the containing div triggered this buggy behaviour. Change-Id: I50776401b567d125d086e826ec7a23694bdf6774 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161651 Tested-by: Jenkins Reviewed-by: Juan José González <juanjosegzl@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-12-17Fix online help xapian buildOlivier Hallot
+ refactor of browserhelp.xhp Change-Id: Iaba2ac4c8951bfb65fb237fa9eab95269826c544 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160886 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-12-16Make Help navigation layout less busyIlmari Lauhakangas
Bookmarks don't have to be visible all the time, so make them a dropdown and move the search box to header. Move Xapian search to the top of the content area. Make Contents tree appear on the left side in 960px and wider screens. Simplify/clean up some CSS and JS, for example for module colours. Change-Id: Ic50a834b758d50098868866e4b8d3e8085755423 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160870 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-12-01CSS: "literal" must wrap normally.Olivier Hallot
Change-Id: Ib0ee56bd4a93d14467bec0ae607477dbbd86cbd8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160226 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-10-25Improve accessibility of dropdown menusIlmari Lauhakangas
Now the opened menus can be closed with Esc key, so we conform to the dismissible success criterion in WCAG 2.1: https://www.w3.org/WAI/WCAG21/Understanding/content-on-hover-or-focus.html To simplify things, now the navigation lists are populated upon page load in all cases. Change-Id: I0a7daaea122d3e03de36c322ccb012c546b271e0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158429 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-09-26tdf#157360 Local help should not phone homeOlivier Hallot
+ Remove call to matomo TDF server instance when help is local + Keep when Help is online. + refactor javascript Change-Id: I285b426531c91ff558c01798f803bf3f89720b1f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/157255 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-31Prevent literal words to wrap in lines.Olivier Hallot
Applies mostly on table columns Change-Id: Ie18b84d9a052f4b189f06c43132457a3a925dcaa Reviewed-on: https://gerrit.libreoffice.org/c/help/+/156354 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-14Revert "tdf#155193 Do not deliver Help files with indexer=exclude"Xisco Fauli
This reverts commit 539abfa7c3bbc9f0b234402083c743890b965cf7. Reason for revert: daily builds fail to build with errors like ERROR: file '/home/tdf/lode/jenkins/workspace/lo_gerrit/tb/build_master/instdir/help/en-US/text/shared/autokorr/01000000.html' does not exist See https://ci.libreoffice.org/job/lo_daily_tb_linux_dbg/654/console Change-Id: I9d00fb2596b280bf09934dfc87db64feb8fe6a80 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155600 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-08-10tdf#155193 Do not deliver Help files with indexer=excludeOlivier Hallot
+ Add condition to skip indexer=exclude files. + delete empty files generated by exclude + delete empty directories generated by exclude Change-Id: Id992e6c83086d3cd3911b84890a50b309ad92c3b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/151897 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-02tdf#156573 Correctly resolve HID with "?" characterRafael Lima
Change-Id: I1642e5c56d0d67fe4170358a61ec786f313029e1 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155184 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-07-31More fix in product nameOlivier Hallot
Change-Id: I1de6ee379dc116b40794c81e8d6e505d51e7e5f8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155047 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-07-31Fix mistake in product nameOlivier Hallot
Change-Id: I33022758a73117e6b12ad882963f008005ce334a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155045 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-07-31tdf#144859 - fix switch javascript logic.Olivier Hallot
Change-Id: I7add8db42f1944052ea5907e24b889cb9e504d3f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155097 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-05-13Fix and embedvar issueOlivier Hallot
Place a target at variable location but remove the target at embed position. This allows embedvar inside the same help file. + Remove cruft from very old OO help Change-Id: I2c6cb885fb5457b1a93ccd4d821f2baaa9ff3620 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/151726 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-01-30tdf#142380 Use CSS variable for background colorAdolfo Jayme Barrientos
Change-Id: Ia70389ced5e8b698c034f9eec8cb4f030d27dd81
2022-12-13tdf#152491 Update CSS coloring to match new iconsAdolfo Jayme Barrientos
https://wiki.documentfoundation.org/Design/Branding#LibreOffice_application_colors Change-Id: I914ddfd14f0ca351f4eed5eb14ed8ea6ed904422
2022-11-10tdf#150909 Fix regression: HTML entities badly renderedOlivier Hallot
The "branding" XSL template is applied to every text in the Help to replace %PRODUCTNAME or [$officename] by the correct product name. It must not escape HTML entities such as &lt; or other. Reverted previous workaround in xhp page. Change-Id: I1f7da19ca2899d92917504f162ba497bd9c787bb Reviewed-on: https://gerrit.libreoffice.org/c/help/+/142555 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-09-17tdf119421 - More on conditional formatting/Icon setsOlivier Hallot
+ Housekeeping + handle icon images in the XSLT + Fill missing information on Icon Sets. Change-Id: Iaab3e1231ad4a2212adfc1d353a593cc116c7978 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/140108 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-22combine switch and switchinline template rulesChristian Lohmaier
Change-Id: I4436c0da1b0443ab9e699aac75122368db8ab5a5 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136198 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-21make generated help files deterministic/reproducibleChristian Lohmaier
generate-id() is only stable within a single invocation, the results vary from run to run, causing two builds of the same codebase result in different output. Due to help including snippets from different files, a simple count won't be unique enough, but combining it with the sourcefile's topic-ID does the trick. Change-Id: I2ab8988bc34c9136fcd99d074cf0b189a8f40eb7 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136197 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-20Remove unreadable, obsolete fontsAdolfo Jayme Barrientos
Change-Id: Ic1a9839b1819c6b455ded63e120b32c5995e58c8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136153 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-06-20tdf#142380 tdf#142531 Update font stack, w/o “system-ui”Adolfo Jayme Barrientos
Change-Id: I1e6f27883b707147fdd07cdca2ca56e99a9fdc95 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136152 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
2022-05-15Refactor XSLT for code colorizationOlivier Hallot
Change-Id: Ia619b7b0b1548c9de0b183a731e0cca3033eb529 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134349 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-05-15Add SQL code colorization to Help pagesOlivier Hallot
Change-Id: I2c74e63c67a323a6e6b726da352dd23e1a88d886 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134329 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-05-14Bump Prism.js to 1.28Olivier Hallot
+ Add SQL coloring syntax Change-Id: I3a68a54dee211d791da72b459647315395e17658 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134326 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-05-13Fix YouTube display for Help online/offlineOlivier Hallot
+ Enhance button CSS display + Refactor XSLT + Refactor XHP Change-Id: I58e46c31a97ad49eb25a4489994aae5dac62dbc3 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134207 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-05-12Add dir attribute to html element based on language directionalityIlmari Lauhakangas
Change-Id: I1dbb6cc2f3497ab70a806c94ad9d52ee1e10c13f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133294 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-04-19tdf#148621 Make ScriptForge service tables mobile-friendlyIlmari Lauhakangas
- Introduce <tablehead> element - While considering text-align, I noticed we do not take RTL languages into account. A CSS rule 'html[dir=ltr] th' was added, which does nothing at the moment. We should look into directionality. Change-Id: Ib59aa0c508529c0beaa35542d96bd5cc1aa4db29 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133114 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-04-17tdf#148621 Improve Basic Help layoutIlmari Lauhakangas
- Get rid of tables - Add normalize-whitespace Prism plugin to get rid of useless indents - Fix code blocks poking through sticky header - Add some word wrapping CSS to fix mobile-unfriendliness Change-Id: I73fd1e0678624b0d4bd5561f50e80990db5567be Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133096 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-04-07Revert "Fix typo"Adolfo Jayme Barrientos
Besides being a wrong fix, please refrain from changing external code locally. Go to the upstream project instead, Andrea! This reverts commit 1e37e14da918a278abe5df8a5885fa211c02ee8b.
2022-04-05Fix typoAndrea Gelmini
Change-Id: I7006b64cad6a049ea45d368e22842115ab97e4ef
2022-04-05Update prism.js/css to v 1.27Olivier Hallot
Upload un-minified version Change-Id: I4a74a06f4639acfcc6b1bbf08f223f69dba1f8e8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132570 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-03-29Remove redundant image title attributesIlmari Lauhakangas
From web accessiblity evaluation tool: The title attribute value is used to provide advisory information. It typically appears when the user hovers the mouse over an element. The advisory information presented should not be identical to or very similar to the element text or alternative text. Change-Id: Id95d6661d47d7c28ea8a3f6a43ecc1b12c579a95 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132265 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-03-29Use type="search" for index filter inputIlmari Lauhakangas
Change-Id: I0427076aa8d688f837a38c66312b7690336c0d2e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132264 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-03-04Update prism.js used in the HelpOlivier Hallot
version 1.2.7 Change-Id: Ibec037314046a2f17a9c6c2b9c67d9353c761319 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131028 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-02-18tdf#123318 Use SHARED as the default module instead of WRITERIlmari Lauhakangas
Change-Id: I78c3f71a862ad0896cc13b105cac46dca99b4195 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130079 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-02-13 Allow Contents to access targets in Help pageOlivier Hallot
Change-Id: I42f0a0805353608538dc1cb476c5bfccaa707a6d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129826 Tested-by: Jenkins Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-02-12Use max-width in YouTube placeholder styleIlmari Lauhakangas
Change-Id: I8acaa11f8d8c11f5034cea7c4dfc247cee90d487 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129857 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-02-09Add YouTube consent clickIlmari Lauhakangas
Change-Id: I60d64e1becbc7ea33301d4a8073f0b550998b87d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129716 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-02-05Drop last 00/00000004.xhp#wie and simplify XSLTOlivier Hallot
Change-Id: I85d2da067db208f806b78020a9ca95889444ce0d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129519 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-27Remove max-width from menusIlmari Lauhakangas
Change-Id: I7d59fb7161af41449cd0a1508f38143c241d50d0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129061 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-25shared/explorer/database is no moreOlivier Hallot
Change-Id: I286096e6de26f5a0e35200b4db7a2a89cfddcb5f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128934 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-25tdf#123318 tdf#129697 Don't hardcode product name in CSS and JSIlmari Lauhakangas
Change-Id: I0ef315146fed188eb1cf33c416ff5f3e9899bbae Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128524 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-17tdf#129697 Use LIBREOFFICE instead of GLOBAL as index headingIlmari Lauhakangas
Change-Id: I8c00eb4ed888eb8b2e898144141ef1c5a659bb49 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128503 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-01-17Related tdf#123318 Fix harder and update Base URL pathIlmari Lauhakangas
Base Help used to be generated into the path shared/explorer/database Change-Id: I977dea766c621c0387c78238b65e45b5d4017929 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128450 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-14Related tdf#123318 Fix filtering with SHAREDIlmari Lauhakangas
Change-Id: Ic704b5ddcc0448a884da4ca01fa54bb94692495f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128423 Tested-by: Jenkins Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-13tdf#123318 Add navigation menu entry LibreOffice for SharedIlmari Lauhakangas
Change-Id: Ibd46738e03721127e07ee1575e0a925fc36fbe9d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128382 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-05Improve paragraph spacing in textOlivier Hallot
Add more space below paragraphs. Change-Id: Ie282883229bcc1471aed6c35ef57d1ec909996b5 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128013 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>