[Libreoffice-commits] core.git: helpcontent2

Olivier Hallot olivier.hallot at libreoffice.org
Wed Nov 1 16:19:27 UTC 2017


 helpcontent2 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c1a2ac824ca51e27d411c99551f3c5bc9f0f7c31
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
Date:   Tue Oct 31 11:14:57 2017 -0200

    Updated core
    Project: help  788f70916eaa53d89775c5998a4d19235ed19f4a
    
    Refactor new help builder script into smaller pieces
    
    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 at libreoffice.org>
    Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/helpcontent2 b/helpcontent2
index 305f83a24245..788f70916eaa 160000
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 305f83a24245f6e8889a33bab2f8d4657b8b2767
+Subproject commit 788f70916eaa53d89775c5998a4d19235ed19f4a


More information about the Libreoffice-commits mailing list