Commit Graph

12 Commits

Author SHA1 Message Date
49f82528ae Precisions about OS recognition in scripts
plus a few invitations to go Python 
Change-Id: I0c58b9f35638c0d609727e6ef4affffac8fce971
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/183441
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
Tested-by: Jenkins
2025-03-31 16:46:50 +02:00
842cf7acf0 Precision about Win environment variable
Change-Id: I2105960d58fa0342dde9d7f762ecc1a18b3e9bb5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/168448
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2024-06-07 09:24:30 +02:00
1c3257e391 tdf#155193 Fill indexer= when omitted in Help files
Change-Id: I10f3c9e1e698619dcace7c4314f2bd37adf698de
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155363
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-05 11:42:52 +02:00
7e42394ecb tdf#152323 drop name attribute from <link> elements
Replacement done with

find . -name \*.xhp -print0 |xargs -0 -P 0 perl -CS -pi -e \
        's#(<link[^>]*?) +name *="[^"]*" *( [^>]+|) *>#$1$2>#g'

(note some inconsistencies with space between name and = and also having
empty value, and some more complicated expression to also clear up
double space before/after the attribute)

translation files will be prepped with:

find */helpcontent2 -name \*.po -print0 |xargs -0 -P 0 perl -CS -pi -e \
    $'s#(<link[^>]*?) +name=(?:\\\\"[^"]*\\\\"|\'[^\']*\') *( [^>]+|) *(/?>)#$1$2$3#g unless /^#/'

(note that not all languages use the " as quote character for the
attributes, but that also single quotes appera in the po file. Hence
the use of the shell $'string' syntax to be able to quote ' as \'
It also requires to quote the backslash, so that it needs to be escaped
once for the shell, then another time for perl. Also don't work on
obsolete strings (those are prefixed with #~ in the po files)
Also note that <link..></link> gets turned into <link ../> during
translation extraction (along with removal of the space between the
attribute name and the value), so the pattern needs to be slightly
different here)

Change-Id: I95e53a08e6b0095cd894109ea0de154cc4859d8f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143713
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-07 17:39:02 +00:00
b9be28ffef Bracketed hidden <help text> gets shown
Change-Id: I30a459a5445e7e42bf762fe081cfe7e7474188f1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141576
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-10-21 10:16:49 +02:00
9be45efd58 Fix a couple of product names
Change-Id: I7d1fffadc0bcaec4ec9e9d43c9d9bb3351d570b7
2020-03-05 16:29:47 -06:00
d17d3ef38a related topics section title miss
+ related topics legibility improvement in compatible.xhp
Change-Id: I59ce332560d99b949f180cd37cfd61c40d9ff3f9
Reviewed-on: https://gerrit.libreoffice.org/83981
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-28 12:45:14 +01:00
ec480186a3 De-dup paragraph id
Change-Id: Ibbd54040bd439e08c5496383575aa15aae5f4f05
Reviewed-on: https://gerrit.libreoffice.org/72606
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-20 16:32:36 +02:00
3218853d57 Platform regognition for Basic language
localisation adjustments

Change-Id: Iced427fc30c0bb8fe3873f9d42e64786c863c619
Reviewed-on: https://gerrit.libreoffice.org/72603
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-20 16:11:08 +02:00
4f954243e7 - Partial refactoring using API calls
- New bookmarks
- Link from Basic Adv libraries to Platform page

Caution: Please fix GlobalScope miss in </bascode> parser in the first place!

Change-Id: Ifeaa98d5491b659a1dddbdbe3dddc417779374cf
Reviewed-on: https://gerrit.libreoffice.org/72583
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-20 15:35:09 +02:00
5f787a1f2d Python: improve navigation between Help pages
add links between python pages
add links from Contents section

Change-Id: Ifc6704862c8213008eeb5d6e6baf86aa7c7be50b
Reviewed-on: https://gerrit.libreoffice.org/67778
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-02-14 13:21:02 +01:00
de5dad498a Add more python examples
Change-Id: Id34674cd96d615b8613a35e18d96886a3d39bae0
Reviewed-on: https://gerrit.libreoffice.org/66763
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-23 12:39:28 +01:00