diff options
| author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2020-10-05 16:30:32 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-06 13:56:17 +0100 |
| commit | 43d07a285181e64c30d98d10ff93ef50391efe59 (patch) | |
| tree | 78918fc94d55d44d35e1e3e61c7a6fccc28bca24 /documentation/template/section.title.xsl | |
| parent | 1fd9c4b2c0ae927df29f7a0d34c3e595bcf48e89 (diff) | |
| download | poky-43d07a285181e64c30d98d10ff93ef50391efe59.tar.gz | |
sphinx: remove DocBook files
The Yocto Project documentation was migrated to Sphinx. Let's remove
the deprecated DocBook files.
(From yocto-docs rev: 28fb0e63b2fbfd6426b00498bf2682bb53fdd862)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/template/section.title.xsl')
| -rw-r--r-- | documentation/template/section.title.xsl | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/documentation/template/section.title.xsl b/documentation/template/section.title.xsl deleted file mode 100644 index 5c6ff9a96e..0000000000 --- a/documentation/template/section.title.xsl +++ /dev/null | |||
| @@ -1,55 +0,0 @@ | |||
| 1 | <xsl:stylesheet version="1.0" | ||
| 2 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
| 3 | xmlns:d="http://docbook.org/ns/docbook" | ||
| 4 | xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="d"> | ||
| 5 | |||
| 6 | <xsl:template name="section.title"> | ||
| 7 | <xsl:variable name="section" | ||
| 8 | select="(ancestor::section | | ||
| 9 | ancestor::simplesect| | ||
| 10 | ancestor::sect1| | ||
| 11 | ancestor::sect2| | ||
| 12 | ancestor::sect3| | ||
| 13 | ancestor::sect4| | ||
| 14 | ancestor::sect5)[last()]"/> | ||
| 15 | |||
| 16 | <xsl:variable name="renderas"> | ||
| 17 | <xsl:choose> | ||
| 18 | <xsl:when test="$section/@renderas = 'sect1'">1</xsl:when> | ||
| 19 | <xsl:when test="$section/@renderas = 'sect2'">2</xsl:when> | ||
| 20 | <xsl:when test="$section/@renderas = 'sect3'">3</xsl:when> | ||
| 21 | <xsl:when test="$section/@renderas = 'sect4'">4</xsl:when> | ||
| 22 | <xsl:when test="$section/@renderas = 'sect5'">5</xsl:when> | ||
| 23 | <xsl:otherwise><xsl:value-of select="''"/></xsl:otherwise> | ||
| 24 | </xsl:choose> | ||
| 25 | </xsl:variable> | ||
| 26 | |||
| 27 | <xsl:variable name="level"> | ||
| 28 | <xsl:choose> | ||
| 29 | <xsl:when test="$renderas != ''"> | ||
| 30 | <xsl:value-of select="$renderas"/> | ||
| 31 | </xsl:when> | ||
| 32 | <xsl:otherwise> | ||
| 33 | <xsl:call-template name="section.level"> | ||
| 34 | <xsl:with-param name="node" select="$section"/> | ||
| 35 | </xsl:call-template> | ||
| 36 | </xsl:otherwise> | ||
| 37 | </xsl:choose> | ||
| 38 | </xsl:variable> | ||
| 39 | |||
| 40 | <xsl:call-template name="section.heading"> | ||
| 41 | <xsl:with-param name="section" select="$section"/> | ||
| 42 | <xsl:with-param name="level" select="$level"/> | ||
| 43 | <xsl:with-param name="title"> | ||
| 44 | <xsl:apply-templates select="$section" mode="object.title.markup"> | ||
| 45 | <xsl:with-param name="allow-anchors" select="1"/> | ||
| 46 | </xsl:apply-templates> | ||
| 47 | <xsl:if test="$level > 0"> | ||
| 48 | <xsl:call-template name="permalink"> | ||
| 49 | <xsl:with-param name="node" select="$section"/> | ||
| 50 | </xsl:call-template> | ||
| 51 | </xsl:if> | ||
| 52 | </xsl:with-param> | ||
| 53 | </xsl:call-template> | ||
| 54 | </xsl:template> | ||
| 55 | </xsl:stylesheet> | ||
