Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Typo introduced in 01879555450189381cc02517433807056b193af8
Change-Id: I9978ec8b238493a501981e192aa92547f2c1fe5d
|
|
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>
|
|
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>
|
|
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>
|
|
'?' 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>
|
|
* 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
reorder modules in Index
Change-Id: Ib226a7c243e682e4e2a98d6d48ae1d9b1e3cace1
Reviewed-on: https://gerrit.libreoffice.org/47095
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Now <base href="/"> is changed to
<base href="../../../ (...) ../" to allow links to
operate with http:// and file:// protocol
Drop param from makefile too
Change-Id: I1aea5b9c564bdfe395e95400ecf87e068a5a7c86
Reviewed-on: https://gerrit.libreoffice.org/46932
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I34daf14c83b83085ca5f8ef643e7418893da5924
Reviewed-on: https://gerrit.libreoffice.org/46696
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Show list only after typing 3 or more characters
Hide labels when module results is empty
Change-Id: Ifb7a255b6ac627a0448878df104e837d96074fce
Reviewed-on: https://gerrit.libreoffice.org/46134
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
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>
|
|
Change-Id: Ic38ee7b9a3ee4a45bede9d494f717d833e53d69f
|
|
This case required manual copy of the xhp's and tree.
Change-Id: Ibde9e0e70f9d27735cc0b89bab8eeb34d17c5fdc
Reviewed-on: https://gerrit.libreoffice.org/45968
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Scripts were identical; only difference is whether we pass
local yes/no to get_html.sh. Choice is now expressed via
first param to makehelp.sh; build local is default.
Change-Id: Icbe274fe6d9aeb86c7950aa69daf574e271e3b84
Reviewed-on: https://gerrit.libreoffice.org/45943
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I0f6e35f720c5744757f0ac804a9d780df23d1804
Reviewed-on: https://gerrit.libreoffice.org/45819
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
highlight basic code background color
Change-Id: I64df0dad9443704675dd4a26be943521bc993e97
Reviewed-on: https://gerrit.libreoffice.org/45751
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ie4f52598585b891699b9b14dfea9cc9988777072
Reviewed-on: https://gerrit.libreoffice.org/45621
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Clicking on tabs (Contents, Field, Index) now close the other ones
Set focus into seach field clicking in those tabs
Change-Id: I4b569aea86d4c5c441ce89dfa76f66844f0ebbc4
Reviewed-on: https://gerrit.libreoffice.org/44902
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
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>
|
|
Change-Id: I20c45d4eef8a5302369242e7d3cc5b6bb9f70e39
Reviewed-on: https://gerrit.libreoffice.org/45431
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
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>
|
|
Change-Id: I4724d2444b0bd9daa6a6f0f8c7165a594db08ad9
|
|
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>
|
|
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>
|
|
Change-Id: I57aeab1b6a5abf733fa68835197f129aaf23fef0
Reviewed-on: https://gerrit.libreoffice.org/43761
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ib662f9e0b4dd84abfbddd0bbe91fbfebf6d8a98a
Reviewed-on: https://gerrit.libreoffice.org/43676
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Simplified the markup and tweaked the look a bit.
Change-Id: Ifc296a82b17215e7bcfbfc17432aacddb922664b
Reviewed-on: https://gerrit.libreoffice.org/43345
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|