[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - helpcontent2
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Aug 8 12:47:22 UTC 2018
helpcontent2 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f67b2270770e28ed794e0682d40da566b1e4e51c
Author: Jan Holesovsky <kendy at collabora.com>
AuthorDate: Wed Aug 8 13:18:49 2018 +0200
Commit: Gerrit Code Review <gerrit at gerrit.libreoffice.org>
CommitDate: Wed Aug 8 14:46:51 2018 +0200
Update git submodules
* Update helpcontent2 from branch 'distro/collabora/cp-6.0'
- Some images are not present in this branch.
Change-Id: If7c5a15afe1392b0715983866d4ce7967d618aa1
- No spreadsheet files in this branch.
Change-Id: I814d93e0a298b140287df1b81cf4343c462f2906
- Some dialog screenshots are missing in this branch.
Change-Id: Ia1ab427186adcd5fe24d1d93dc53f46d56b21d90
- Revert the .xhp parts of "Deploy videos in New Help (WIP)"
Partially reverts commit 93ebf037016819613322ef1c39951a3de893ec14.
- Revert the .xhp parts of "Add vnd.oasis.opendocument.* objects in new help"
Partially reverts commit 73bf8469d4a443617935dae6a245d9b327e74a95.
- Fix <otherwise> case for icon replacement
Change-Id: Ia5db370d1e19aa2818fba7ad7b2427692ff1b80e
Reviewed-on: https://gerrit.libreoffice.org/57927
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Restore 'GLOBAL' label in Index
GLOBAL is the external nam of the SHARED bookmarks.
Change-Id: If4a877cc26dddb3fa99e5369ef63c7333aa53ffe
Reviewed-on: https://gerrit.libreoffice.org/57815
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- tdf#118844 Add missing icons in Help pages
Apply strategy #1 described in tdf#118844 comment #3
Change-Id: I072bf837217acc8dc84ff1104324df69e33a22bd
Reviewed-on: https://gerrit.libreoffice.org/57801
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- tdf#115524 Some branch bookmarks are not working 1
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 at libreoffice.org>
- Also add that here…
Change-Id: Ia31ace1a2f844dbd707839a44ec131f424513924
- Helponline: Fix alignment of TOC in sidebar
It was too close to the window border in Edge, Chrome and Firefox Nightly.
Change-Id: I29a7b17c6abc240baa1f75cba879942810ebee07
- tdf#118430 Three column layout with 1440px width
Contents will now stay collapsed until 1440px width, when
it will move to the right side of the screen.
Removed useless and harmful float:left from .index-label.
Change-Id: I504e8c4be3a5e777dc7bafbd6a6105b163e4a5f3
Reviewed-on: https://gerrit.libreoffice.org/57129
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Helponline: Improve a few colors some more
Change-Id: I3d9db610057119cdb08b1f31152700ed18d6ea16
- Add mode="embed" for bascode
Embeded <bascode> was not properly rendered because it had
no embed mode
Change-Id: Icdc91c5b00b165d7963248f9083837b899d382f2
Reviewed-on: https://gerrit.libreoffice.org/56726
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Helponline: New .howtoget, small tweaks to other boxes, tiny changes to colors
Change-Id: I3d7d396482df4143b09776230c571c0c69ab0b5a
Reviewed-on: https://gerrit.libreoffice.org/56040
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
- Fix <bascode> rendering for paragraphs
Change-Id: I4c76bac48f3be30dc3bcd358df427843a5f97a7a
Reviewed-on: https://gerrit.libreoffice.org/55837
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Add back fonts for complex scripts
Change-Id: Ibe468e41fd016871ee30909dd6a9515e7d10b22a
Reviewed-on: https://gerrit.libreoffice.org/55801
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Helponline: Allow for system typeface to be used
Change-Id: Ic3868b0bcdbb978f450666b4f98e53587b5e7f85
Reviewed-on: https://gerrit.libreoffice.org/55728
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Clean up space/tab mixture
At least Emacs warned about those "suspicious lines".
Change-Id: I587e7d65318a7fdb1634e49f2db761c853e67b05
Reviewed-on: https://gerrit.libreoffice.org/55383
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
- (Partially) fix --with-help=html dependencies on .xhp files
There are three rules in helpcontent2/CustomTarget_html.mk that process (with
XSLT) all or some of the .xhp files in the helpcontent2/source/text/ tree (for
en-US; or their translations in the
workdir/HelpTranslatePartTarget/*/helpcontent2/source/text/ trees for other
languages). Lists of all those .xhp files are defined in
helpcontent2/AllLangHelp_*.mk (with gb_AllLangHelp_add_helpfiles), but the code
in helpcontent2/CustomTarget_html.mk used `find` to assemble the relevant lists.
That has two issues (at least for the en-US case operating on the untranslated
helpcontent2/source/text/ files): For one, if the content of those .xhp files
changes, the relevant XSLT processing is not re-run. For another, if .xhp files
are added to or removed from the lists in helpcontent2/AllLangHelp_*.mk, the
relevant XSLT processeing is not re-run, either.
For the processing of translated .xhp files, there were already dependencies on
those translated files in place. I assume (but have not really proved it) that
those dependencies are already sufficient to cover both of the above issues.
That only leaves the en-US case, operating on the untranslated files.
The lists of .xhp files as defined in helpcontent2/AllLangHelp_*.mk (with "*"
ranging over the various "modules": sbasic, scalc, schart, etc.) are now made
available in gb_AllLangHelp_*_HELPFILES variables. The contents of those
variables is used instead of `find` to pass the relevant .xhp files to the XSLT
processings. (Needing some RESPONSEFILE and `xargs -n 1` boilerplate to feed
individual files to the XSL processing without overflowing maximum command line
lengths. Also, on Windows, var2file apparently writes CRLF line ends but the CR
parts need to be filtered out again, and xargs problems must be worked around
similar to df9edbcd2883cec2d0596133131cfbc220dee91f "Work around 'xargs:
environment is too large for exec' errors on Windows".)
However, those variables apparently cannot be used to specify dependencies for
the three XSLT-processing rules. Presumably, the variables do not necessarily
have their values assigned yet by the time the rules' dependencies are
constructed (depending on the order in which .mk files are read?). So "dummy"
gb_AllLangHelp_get_helpfiles_target targets are introduced, which depend on all
the relevant .xhp files (and which get constructed during
gb_AllLangHelp_add_helpfiles, just like the gb_AllLangHelp_*_HELPFILES
variables), and which the XSLT-processing rules in turn depend on. That makes
sure that the XSLT-processing rules are re-run when the content of .xhp files
changes or when new .xhp files are added.
However, the above still fails to re-run the XSLT-processing rules when .xhp
files are removed.
This is the helpcontent2 part of a commit spanning core and helpcontent2.
Change-Id: I9a72c0f6837a8e13458a703fdecf7e5b0ef2076f
Reviewed-on: https://gerrit.libreoffice.org/55364
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
- tdf#94121 Give code paragraphs a different background, again
The old wikihelp had this, but this time it won’t look as tawdry.
Change-Id: I709b94c512cb15d6c1b5ef5b76b9e1bb13b6f09b
Reviewed-on: https://gerrit.libreoffice.org/55301
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Colored boxes for .note, .tip and .warning
Change-Id: I067100546ac669fa34e59cf9401796a4d166718f
Reviewed-on: https://gerrit.libreoffice.org/55239
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Fix default cases in switches
Change-Id: I40f6c8e5a6fd0a0ff1d3e6205de449f14598212b
Reviewed-on: https://gerrit.libreoffice.org/55107
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Add GDPR in online help
Change-Id: Ic752beee3901bd9963deb4782702a1de745b5406
Reviewed-on: https://gerrit.libreoffice.org/54785
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Properly handle language-specific parts of --with-help=html media/ sub-tree
...that previously ended up in language-independent parts of installation sets.
The structure of that media/ tree doesn't allow to directly mis-use the existing
AllLangPackage machinery (which expects the language to be encoded in the first
pathname segment within the tree; and which is already mis-used for the
helpcontent2/AllLangPackage_html_lang.mk parts).
So introduce gb_AllLangPackage_add_files_for_lang that allows to specify the
language explicitly, independent of where it is encoded in the pathname (if at
all). The underlying gb_AllLangPackage_add_file sets a
gb_AllLangPackage_ALLDIRS that is used by `make packageinfo`, which may need
further fixing by anybody actually using that target; see the mail thread
starting at
<https://lists.freedesktop.org/archives/libreoffice/2018-May/080242.html>
"Broken --with-help=html `make packageinfo`".
All files in $(SRCDIR)/helpcontent2/source/media/ must now explicitly be listed
in either helpcontent2/Package_html_media.mk (for the language-independent
files) or helpcontent2/AllLangPackage_html_media_lang.mk (for the language-
specific files). Also note the two TODOs in
helpcontent2/AllLangPackage_html_media_lang.mk.
What is not quite right yet is that content from
helpcontent2/AllLangPackage_html_lang.mk and
helpcontent2/AllLangPackage_html_media_lang.mk is ending up in both per-language
helpcontent installation sets (as intended, via the instructions in
helpcontent2/CustomTarget_html.mk) and per-language languagepack installation
sets (which is unintended). This needs to be fixed with a follow-up commit.
This is the helpcontent2 part of a commit spanning core and helpcontent2.
Change-Id: Ie7916b75eee0dde3106e784d19e99fde5bb93195
Reviewed-on: https://gerrit.libreoffice.org/54749
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
- Fix media path for en-US
Change-Id: If3a9667fa3dd8c1007132448a23e75d66279a192
Reviewed-on: https://gerrit.libreoffice.org/54640
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Add support for localized collateral files
Fix src
Change-Id: I4997884f087b625c8ac8dbf923363d97f88f7922
Reviewed-on: https://gerrit.libreoffice.org/54599
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Helponline: Only add extra <p> margin for main body text
Change-Id: Ia6413bbe4e16ee39dbd01ba48fa307514f517fbe
- Helponline: Give links a different color
It was the same color as headings, which was confusing.
Also, remove the underline until hovering, which improves readability,
particularly with Chinese, Japanese and Korean.
And add a custom selection color because… why not?
Change-Id: I3d120c7fd6cbe27d74f0c7c40b72e23cddaa0296
- tdf#115685 Bring new help UI strings to Pootle
Change-Id: Ifcd56f626ed36d4ab7f7da0cd3ef6e95e2456971
Reviewed-on: https://gerrit.libreoffice.org/53976
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Refactor test for online case wrt objects
Also refactor the section "Open file with example".
Wrap in a div with class.
Change-Id: I14b1b7ca6ca788383824db3db4db4014b295976e
Reviewed-on: https://gerrit.libreoffice.org/53946
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Helponline: ordered list numbers were too small
Change-Id: Ia41478b03ff696f1ab86a8b57090b1ce0bf79efc
- Helponline: Tame that gaudy-looking magnifier icon…
… at least where Unicode variation selectors are supported.
Change-Id: I9cf30c732e66a79e64a0e7becada7e82bded93cb
- Fix icon path for colibre + screenshot lang
Note, Tip and Warning icon path
Fix screenshot lang path for en-US
Change-Id: Ia8a7c5d396ea4e3d6858ebcde6019d71c43278b0
Reviewed-on: https://gerrit.libreoffice.org/53910
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- s/galaxy/colibre/
... as galaxy got removed with 60413c9800c27f53c1108015b50754b065bc98c6
Change-Id: I4e3ec6db6b57b31e184ec53def5bdb54e064ad21
- Helponline: Provide a visual indicator for people to notice inputs
Otherwise, it’s impossible to know you can click one and have its text
copied into your clipboard.
Change-Id: I9243229c0e507f35b35768ec71473117c2c34a8d
- tdf#116240: Include --with-help=html in installation sets
...by extending the hackery in helpcontent2/CustomTarget_html.mk (see comment
there). (Ultimately, the gbuild HelpTarget machinery should probably be adapted
to the needs of this new help format, once the old help format is no longer
supported?)
The Perl packaging code finds source files through the "include" paths specified
in instsetoo_native/util/openoffice.lst.in. To avoid potential name clashes,
put the new .filelist files into
workdir/CustomTarget/helpcontent2/help3xsl/filelists/html-help/ sub-directories.
read_filelist in solenv/bin/modules/installer/filelists.pm does not strip white
space following the last item in a file list, but (with HAVE_GNUMAKE_FILE_FUNC)
the gb_HelpTarget_get_translation_target .filelist files (which are then
transformed with sed into the .html .filelist files read by the Perl packaging
code) may contain such trailing white space. So $(strip ...) their content in
solenv/gbuild/HelpTarget.mk.
This is the helpcontent2 part of a change spanning core and helpcontent2.
Change-Id: I730caaaec783d0a0a9c79caf85268a775220dee3
Reviewed-on: https://gerrit.libreoffice.org/53724
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
- Make --with-help=html work on Windows
Change-Id: Ib8168a6ac770e81a8e5049d8d60e63aa04c7e64b
Reviewed-on: https://gerrit.libreoffice.org/53722
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
- Helponline: Add some more translated strings
Change-Id: Idc3e4624a5779735614af338e036f406a815fc9f
- Remove extra line break in icontables
Change-Id: Ic800e91e6dde2fa425497070c0da36038c1c3a4e
Reviewed-on: https://gerrit.libreoffice.org/53690
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Helponline: Some footer tweaks
Change-Id: Ie52a789f61a44896abc81ecf3895d94ce054040d
- Restore nice box shadows
Shadows were for tables only. Add shadows to some special tables
rendered as div's.
Change-Id: If3d6757c27a00598c67e510c5cccb77f89fddb6d
Reviewed-on: https://gerrit.libreoffice.org/53549
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Replace icontable by div + CSS flexbox
Icon tables are detected when the first cell has an image.
Change-Id: I808c814870404dbef696e12c6f30a7611468d2ee
Reviewed-on: https://gerrit.libreoffice.org/53429
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Replace onecell table by a div
Replace table of type onecell by a div + css
Change-Id: I120a85c96b312d206a8f582c69405aeb5fd80a9c
Reviewed-on: https://gerrit.libreoffice.org/53428
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Replace note,tip,warning with CSS flexbox
Replace <table> by <div>'s with CSS flexbox property.
Independent CSS classes for each div for easier tweaking
Change-Id: Idedcebc7d9d7b28738c25f4fe11314209e92576c
Reviewed-on: https://gerrit.libreoffice.org/53427
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Replace "howtoget" table by div + CSS flexdoc
Change-Id: Ie79c7345af176edcae3ec99a36a466e8b9978d07
Reviewed-on: https://gerrit.libreoffice.org/53444
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- We use px for font sizes in navigation
Change-Id: I91de80116d82c8bc6bdc34436a98ebdd629ebb0c
Reviewed-on: https://gerrit.libreoffice.org/53461
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Helponline: Tweak pagination symbols for improved clarity
Change-Id: I5308fb5f7039db592038f674b390f92779376d6d
- Helponline: Contents and Index labels are oversized
Change-Id: Iea3de265bd5cb81747f87e4279d6ac498be06c47
- Helponline: Add some styling to the tables
Change-Id: Iafef063c594142efeec56b96b1e508da3ac0d8b7
- WIP: Split --with-help=html packages into non-locale and per-locale
...in preparation of packaging the per-locale data properly.
non-locale: GeneratedPackage_html_media
Package_html_dynamic
Package_html_static
per-locale: GeneratedPackage_html_lang_generated
Package_html_lang
This is the helpcontent2 part of a change that spans core and helpcontent2.
Change-Id: Iabe24a710d46d23246699d102ab96686cfe85ab4
Reviewed-on: https://gerrit.libreoffice.org/53317
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
- Syntactic clean-up in GeneratedPackage_html_media.mk
Change-Id: Ic3c1873c6c746434f00b3babd74e718cd941e39b
Reviewed-on: https://gerrit.libreoffice.org/53209
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
- Avoid name clash between Package and GeneratedPackage htmlcontent2_html
...by renaming the latter to htmlcontent2_html_generated. The name clash
happened to not cause trouble yet, but would once these packages are added to
installation sets (i.e., once both would want to occur in
gb_Helper_register_packages_for_install lists in Repository.mk).
(Also do some minor syntactic clean up.)
Change-Id: I009c154d3bb06312a9f4224b2d5feb1d9f6689fc
Reviewed-on: https://gerrit.libreoffice.org/53208
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
- New Help: Improve table head rendering
Add class to parent <td> of <paragraph role="tablehead">
Change-Id: Ifb9caf4d4ac3ab5e4c750b5bd96260e2dcb298e1
Reviewed-on: https://gerrit.libreoffice.org/53179
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Remove unused sourceMappingURL
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 at libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
- Include help2.js not help.js
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 at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Helpcontent2 housekeeping
Deleted spurious file in source/
Change-Id: Ia7417413e615635496398c223a0d95911c994123
Reviewed-on: https://gerrit.libreoffice.org/53012
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Fix index in sidebar
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 at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- tdf#116150 Review XHP <switch> style transform
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 at libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Fix typos
Change-Id: If081f3b5ac8b752234d115709731a104cea950d9
Reviewed-on: https://gerrit.libreoffice.org/52208
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Helponline: Rely on color, not thick borders, to separate content from UI
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
- Helponline: Prettify donation prompt
Change-Id: Iedf3d560c2a8d1feabadcf3ce1be40f1b5e01989
- Add vnd.oasis.opendocument.* objects in new help
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Deploy videos in New Help (WIP)
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Fix path for images in offline/online help pages
Change-Id: I69a09398a3465ba3fb8eee953e4d9df67ee9ec84
Reviewed-on: https://gerrit.libreoffice.org/51639
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- tdf#116296 remove produt version from help path
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 at redhat.com>
Tested-by: Stephan Bergmann <sbergman at redhat.com>
- Drop undefined navigator property
Change-Id: I42a37211bfc6d6e3b91061593f252feb6c38a8b6
Reviewed-on: https://gerrit.libreoffice.org/50782
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- tdf#116150 Fix logic for case/caseinline with 'sys'
Change-Id: I5c9cb270fa89ea5281355fc80be2a155b9d9ef9e
Reviewed-on: https://gerrit.libreoffice.org/50650
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Add spacing between paragraphs, update normalize.css
Change-Id: I85df8d29fa78377d684adb4435087cc9f586dbe3
Reviewed-on: https://gerrit.libreoffice.org/50516
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Update release for new help in script
Change-Id: Ia2531f7bb69d1ccb4c5e6665b04ffb6ab2b577cd
Reviewed-on: https://gerrit.libreoffice.org/50450
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- tdf#94017 embeded h1 entries should be h2
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Add more support for languages in online new Help
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Better handling of user language in help online
Change-Id: I6a14081321cfd94fe1efb1f2b5fd23f20d4a27fc
Reviewed-on: https://gerrit.libreoffice.org/49613
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Better handling of help URLs anchors
Change-Id: I25a6b105f4a809839575e43cd4834cf96a1e5e7c
Reviewed-on: https://gerrit.libreoffice.org/49516
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Tweaked contents expansion
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- tdf#115255 and auto-expand contents per subitem
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Add anchor to branch bookmarks in hid-to-file
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Fix typo
Change-Id: I8fd351833236fe594a0480d9e09b0ef072ec7c46
Reviewed-on: https://gerrit.libreoffice.org/48997
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
- Fixes for MS browsers and tweaks to fuzzy search
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- New Help: Add donation link for online version
Change-Id: I340362a70ecc115565c7fd7cb2be1a5d0fbb5599
Reviewed-on: https://gerrit.libreoffice.org/48929
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Switched from list.js to fuse.js and paginathing.js
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- New Help: allow product version = "latest"
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Adjust online builder xhp2html.sh to new bookmarks
Change-Id: Ie3a211d7247acd0ef7c15266368d9db7e1c8f232
Reviewed-on: https://gerrit.libreoffice.org/48681
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Module names must stay uppercase due to DbPAR=MODULE
Change-Id: I10cea1b204b20d482abec6a8f66d5cfee6cf6dfe
Reviewed-on: https://gerrit.libreoffice.org/48509
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Use list.js for Index listing and search
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Correct Catalan spelling
Typo introduced in 01879555450189381cc02517433807056b193af8
Change-Id: I9978ec8b238493a501981e192aa92547f2c1fe5d
- Add more localized strings for new Help
Change-Id: I8c0cdcf8cf1ce64a407c98f4619a46b08c259b7d
Reviewed-on: https://gerrit.libreoffice.org/48186
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Fix detection of bad help call
remove single quotes
Change-Id: Ia7951508cbf0a49ae029588e1d254de5f3942f12
Reviewed-on: https://gerrit.libreoffice.org/48165
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- tdf#114907 Expand and collapse symbols for Contents
Unicode like it's 1993.
Change-Id: I625dc220341db788dd578c210ef2f368bec58199
Reviewed-on: https://gerrit.libreoffice.org/47902
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Fix HIDs with '?' inside
'?' interferes in logic to extract HID
Change-Id: I5252d1cf861959cc6ad2b49afe9b19f4c9698f56
Reviewed-on: https://gerrit.libreoffice.org/47734
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Add L10n to labels, in New help UI
* 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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Add Content-Security-Policies in new Help pages
Change-Id: I115fc16fbf4b8284bfedc735761434bb586f0355
Reviewed-on: https://gerrit.libreoffice.org/47660
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Add l10n to the 'Module' string in Help UI
Change-Id: I3b1b202ea4544f1458086abf3b149dcd0be2d115
Reviewed-on: https://gerrit.libreoffice.org/47489
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Switched to a sidebar layout. Art direction by Andreas Kainz
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- tdf#114709, tdf#112758, tdf#112757
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Relativise <base href="/"> wrt file position
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Use quotes around positional args.
Change-Id: I34daf14c83b83085ca5f8ef643e7418893da5924
Reviewed-on: https://gerrit.libreoffice.org/46696
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Fixed remaining index search bugs
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Replace usage of readlink -f with realpath.
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- allow to build online help too
Change-Id: Ib926dc2cd815a8d7e43c7cdcbccecd6c65f11980
- move generation of HTML help to gbuild
Change-Id: Ic38ee7b9a3ee4a45bede9d494f717d833e53d69f
- Add option to build en-US too.
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Merge makelocal and makeonline into single script.
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Remove confusing white space.
Change-Id: I0f6e35f720c5744757f0ac804a9d780df23d1804
Reviewed-on: https://gerrit.libreoffice.org/45819
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Clean unused scripts
Change-Id: Ie4f52598585b891699b9b14dfea9cc9988777072
Reviewed-on: https://gerrit.libreoffice.org/45621
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Fixed UX bugs
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Replace cp -rap with cp -a, satisfying all *nixes.
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 at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Chmod +x for makelocal.sh.
Change-Id: I20c45d4eef8a5302369242e7d3cc5b6bb9f70e39
Reviewed-on: https://gerrit.libreoffice.org/45431
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
- Fix hid2file.js
Change-Id: I976801b1e84defd3f8588a3423acc4254098c237
Reviewed-on: https://gerrit.libreoffice.org/45411
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
diff --git a/helpcontent2 b/helpcontent2
index c084a6cc7a44..70ea38c53437 160000
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit c084a6cc7a44ecd652b78351a35dd5c3ae9624f1
+Subproject commit 70ea38c53437f42e7e966e5411b5db75e8a5fa48
More information about the Libreoffice-commits
mailing list