summaryrefslogtreecommitdiffstats
path: root/help3xsl/index2.html
Commit message (Collapse)AuthorAgeFilesLines
* Refactor database help pageOlivier Hallot2020-05-161-1/+1
| | | | | | | | | | | | | | | | | Open a new module sdatabase and add one entry file. Later, and very slowly, move database help pages from shared/explorer/database/* to sdatabase/* Note: Each move will trigger translation so better move only a few files per translation cycle, not to overload translators. Translation memory should easy the traslation job. Change-Id: I8e2be9c9355b966775fb5dacc5d63b852be7187a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94362 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* remove *.google.com and *.googleapis.com from Content-Security-PolicyAndras Timar2020-05-151-1/+1
| | | | | | | | | These are obsolete, since search is based on xapian-omega not on google search Change-Id: I1858a3118f6b4778266c4a3d2a6559866ce8cb09 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94257 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#124245 Polyfills and fixes for IE11Ilmari Lauhakangas2019-03-271-48/+52
| | | | | | | | | | | | | | | | | | | | | 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>
* Fix call of main Help page from app Help menuOlivier Hallot2019-02-201-0/+4
| | | | | | | | | | | | | | | | The Application Help menu sends /<module>/.uno:HelpIndex in the Help URL. This translates to '.uno:HelpIndex' and module name is lost, opening the New Help default page instead of the module Help entry page. The patch picks the right module Help entry page in this particular case. Change-Id: Ifbb5ba4f817b195210fbb19bcb5c2011d2cb416d Reviewed-on: https://gerrit.libreoffice.org/68093 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Add debug info for HID in new helpOlivier Hallot2018-09-261-1/+1
| | | | | | | | | | | | | To enable Help page debug, add '&Debug=1' to the page URL. This patch pass the HID in the URL of the help page and displays it in the debug div in the bottom of the page. It should help to locate missing pages for a given HID. Change-Id: I671feb2dc34baaef5230028ba918a407d4cfea76 Reviewed-on: https://gerrit.libreoffice.org/60843 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#119230 Chart help page opens emptyOlivier Hallot2018-09-211-1/+2
| | | | | | | | | | Chart module was missing in selection of default entry help page. + fix main entry page for Help, when no module specified. Change-Id: Id79ae7fe4fd6170034348bc799e22d71e286f38c Reviewed-on: https://gerrit.libreoffice.org/60839 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Add help pages for new HelpOlivier Hallot2018-08-231-1/+1
| | | | | | | | | Exlplain the new browser-based help system and user interface. Change-Id: I418b5fe148661a40b4e0291776ac43f4f207743e Reviewed-on: https://gerrit.libreoffice.org/59472 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Let's have Content-Type everywhere.Jan Holesovsky2018-08-161-0/+1
| | | | | | | Change-Id: I000658561d76d6a95a4acbc621db5e3f6d081e08 Reviewed-on: https://gerrit.libreoffice.org/59051 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* Try to detect the system at least a bit.Jan Holesovsky2018-08-161-2/+5
| | | | | | | Change-Id: I5c5243d56cf85eeb7cd857c7d9f6da5cd305b429 Reviewed-on: https://gerrit.libreoffice.org/59049 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* The <version>/index.html can default correctly, no need to do it in the root.Jan Holesovsky2018-08-161-1/+0
| | | | | | | Change-Id: If74aaea6924638f9fef647121da4a35c66fc0213 Reviewed-on: https://gerrit.libreoffice.org/59048 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* Limit the online help only to the built languages.Jan Holesovsky2018-08-161-6/+3
| | | | | | | Change-Id: Ib81dbd9a4047d9bb63761a43ef0b183a450b03f1 Reviewed-on: https://gerrit.libreoffice.org/59047 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* Rename 'map' to 'hid2fileMap'.Jan Holesovsky2018-08-141-2/+2
| | | | | | | | | | Also update dependency, so that the file gets rebuilt when the 'echo' part of the makefile changes. Change-Id: I0412f882dd12e265d8261a259ed83c469e261cdf Reviewed-on: https://gerrit.libreoffice.org/58993 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* Use window.location.href = ...; instead of window.open(..., '_self');Jan Holesovsky2018-08-121-43/+43
| | | | | | | | | Otherwise the interim URLs end up in the history. Change-Id: If99aa1a29126f93387d2f5a6460cc0d43b488cd9 Reviewed-on: https://gerrit.libreoffice.org/58867 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#115524 Some branch bookmarks are not working 1Olivier Hallot2018-07-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | With .ui dialogs, the Help system sends specific URL associated to the higlighted widget in the .ui dislog. Not every help page associated to the dialog has <bookmark branch="hid/<path to the dialog/widget"/> for all widgets of the dialog. As consequence, some URLs were not addressed and the default module entry page was displayed, instead of the dialog help page. The solution is to define a dumy bookmark '@@nowidget@@' to the help page associated to the dialog, and if the widget bookmark is missing in the help page then use the dummy target, thus offering a help page with the right contents anyway. This patch covers help pages for smath. Change-Id: I40b592271b0c336d4d3bacc33d2f3d19107ae702 Reviewed-on: https://gerrit.libreoffice.org/57393 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Include help2.js not help.jsStephan Bergmann2018-04-171-1/+1
| | | | | | | | | | | | | | | | | 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>
* Fix typosAndrea Gelmini2018-04-111-1/+1
| | | | | | | 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>
* Drop undefined navigator propertyOlivier Hallot2018-03-091-1/+4
| | | | | | | 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>
* Better handling of user language in help onlineOlivier Hallot2018-02-121-1/+2
| | | | | | | 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>
* Better handling of help URLs anchorsOlivier Hallot2018-02-121-2/+3
| | | | | | | 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>
* Add anchor to branch bookmarks in hid-to-fileOlivier Hallot2018-02-071-1/+4
| | | | | | | | | | 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>
* Fix detection of bad help callOlivier Hallot2018-01-191-2/+2
| | | | | | | | | 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>
* Add Content-Security-Policies in new Help pagesOlivier Hallot2018-01-101-41/+42
| | | | | | | 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>
* Refactor new help builder script into smaller piecesOlivier Hallot2017-11-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* tdf#97745 Handle offline browser helpOlivier Hallot2017-08-021-0/+52
* 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>