diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-06-05 16:43:34 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-18 10:30:46 +0100 |
| commit | 5aa464ca26333771bdb7df7382629775dca938a7 (patch) | |
| tree | 9400b27e2a9e4f50be19790a42e91ce8b762b30b | |
| parent | 90497d8fffb2789b996cff160b2d401126db7151 (diff) | |
| download | poky-5aa464ca26333771bdb7df7382629775dca938a7.tar.gz | |
ref-manual-customization.xsl: Changes to custom layer to support permalinks.
Fixes [YOCTO #5772]
Added some code to suck in the XSL templates that support
permalinks.
(From yocto-docs rev: 713a17465df48de2ece3845bbd7a8bf972e353b0)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | documentation/ref-manual/ref-manual-customization.xsl | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/documentation/ref-manual/ref-manual-customization.xsl b/documentation/ref-manual/ref-manual-customization.xsl index f1e6e0dcf8..3569d2c711 100644 --- a/documentation/ref-manual/ref-manual-customization.xsl +++ b/documentation/ref-manual/ref-manual-customization.xsl | |||
| @@ -3,19 +3,17 @@ | |||
| 3 | 3 | ||
| 4 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" /> | 4 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" /> |
| 5 | 5 | ||
| 6 | <xsl:include href="../template/permalinks.xsl"/> | ||
| 7 | <xsl:include href="../template/section.title.xsl"/> | ||
| 8 | <xsl:include href="../template/component.title.xsl"/> | ||
| 9 | <xsl:include href="../template/division.title.xsl"/> | ||
| 10 | <xsl:include href="../template/formal.object.heading.xsl"/> | ||
| 11 | |||
| 6 | <xsl:param name="html.stylesheet" select="'ref-style.css'" /> | 12 | <xsl:param name="html.stylesheet" select="'ref-style.css'" /> |
| 7 | <xsl:param name="chapter.autolabel" select="1" /> | 13 | <xsl:param name="chapter.autolabel" select="1" /> |
| 8 | <xsl:param name="appendix.autolabel" select="A" /> | 14 | <xsl:param name="appendix.autolabel" select="A" /> |
| 9 | <xsl:param name="section.autolabel" select="1" /> | 15 | <xsl:param name="section.autolabel" select="1" /> |
| 10 | <xsl:param name="section.label.includes.component.label" select="1" /> | 16 | <xsl:param name="section.label.includes.component.label" select="1" /> |
| 11 | 17 | <xsl:param name="generate.id.attributes" select="1" /> | |
| 12 | <xsl:attribute-set name="normal.para.spacing"> | ||
| 13 | <xsl:attribute name="text-indent"> | ||
| 14 | <xsl:choose> | ||
| 15 | <xsl:when test="self::para">2em</xsl:when> | ||
| 16 | <xsl:otherwise>inherit</xsl:otherwise> | ||
| 17 | </xsl:choose> | ||
| 18 | </xsl:attribute> | ||
| 19 | </xsl:attribute-set> | ||
| 20 | 18 | ||
| 21 | </xsl:stylesheet> | 19 | </xsl:stylesheet> |
