diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2017-06-27 14:28:44 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@edx.srv.br> | 2017-07-02 17:52:33 +0200 |
commit | 9eb3382fc24e5d2a4a2a1024f0b4f61f9ed4c035 (patch) | |
tree | eaefac72a13a22bc8a6243a68ed000e6be29d4a2 /help3xsl/get_url.xsl | |
parent | bfe42f086848d11c59a40f9a4dd0523df6996b42 (diff) |
Help-in-browser (vi): more improvements
Improvement:
* image search & screeshots
* inserted TechArticle schema elements from http://schema.org
* new script for usage of helpex in a build
* results in https://helponline.libreoffice.org
Change-Id: I62d1c46f260c8bd5e287df382e8db086112c4d2a
Reviewed-on: https://gerrit.libreoffice.org/39452
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Diffstat (limited to 'help3xsl/get_url.xsl')
-rw-r--r-- | help3xsl/get_url.xsl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/help3xsl/get_url.xsl b/help3xsl/get_url.xsl index a6beff66f5..1cff5f954e 100644 --- a/help3xsl/get_url.xsl +++ b/help3xsl/get_url.xsl @@ -46,15 +46,15 @@ xsltproc get_bookmark.xsl <file.xhp> <!-- Extract the bookmarks branches x filename--> <xsl:template match="/"> - <xsl:variable name="href" select="concat(substring-before($filename,'xhp'),'html')"/> - <xsl:for-each select="//bookmark[@branch!='index']"> - <xsl:if test="not(contains(@branch,'/.uno'))"> - <xsl:text>'</xsl:text> - <xsl:value-of select="substring-after(@branch,'hid/')"/> - <xsl:text>':'</xsl:text> - <xsl:value-of select="$href" /><xsl:text>',
</xsl:text> - </xsl:if> - </xsl:for-each> + <xsl:variable name="href" select="concat(substring-before($filename,'xhp'),'html')"/> + <xsl:for-each select="//bookmark[@branch!='index']"> + <xsl:if test="not(contains(@branch,'/.uno'))"> + <xsl:text>'</xsl:text> + <xsl:value-of select="substring-after(@branch,'hid/')"/> + <xsl:text>':'</xsl:text> + <xsl:value-of select="$href" /><xsl:text>',
</xsl:text> + </xsl:if> + </xsl:for-each> </xsl:template> |