Преглед на файлове

documentation: Move yocto-project-qs global parameters to customization file

Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Timo Mueller преди 12 години
родител
ревизия
bbe7cb4770
променени са 2 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 1 2
      documentation/Makefile
  2. 1 1
      documentation/yocto-project-qs/yocto-project-qs-customization.xsl

+ 1 - 2
documentation/Makefile

@@ -124,8 +124,7 @@ STYLESHEET = $(DOC)/*.css
 endif
 
 ifeq ($(DOC),yocto-project-qs)
-XSLTOPTS = --stringparam html.stylesheet qs-style.css \
-           --xinclude
+XSLTOPTS = --xinclude
 ALLPREQ = html tarball
 TARFILES = yocto-project-qs.html qs-style.css figures/yocto-environment.png figures/building-an-image.png figures/using-a-pre-built-image.png figures/yocto-project-transp.png
 MANUALS = $(DOC)/$(DOC).html

+ 1 - 1
documentation/yocto-project-qs/yocto-project-qs-customization.xsl

@@ -4,5 +4,5 @@
   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" />
 
   <xsl:param name="generate.toc" select="'article nop'"></xsl:param>
-
+  <xsl:param name="html.stylesheet" select="'qs-style.css'" />
 </xsl:stylesheet>