Added css stylesheet for html docs. At the momment, it just gives a
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 28 Jan 2008 19:30:01 +0000 (19:30 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 28 Jan 2008 19:30:01 +0000 (19:30 +0000)
light gray background to display of "programlisting" elements.

doc/Makefile.am
doc/comedilib.css [new file with mode: 0644]
doc/comedilib_html_config.xsl

index fded69be5a359d9c701b53b921431cfe1b251c98..aa10aa84364f9fcc4989476402a4604b28818e55 100644 (file)
@@ -3,12 +3,13 @@ XML = calibration_funcref.xml command_funcref.xml dio_funcref.xml \
        deprecated_funcref.xml error_funcref.xml extensions_funcref.xml \
        drivers.xml funcref.xml glossary.xml \
        install.xml intro.xml other.xml reference.xml tutorial.xml \
-       driverwriting.xml comedilib.xml
+       driverwriting.xml comedilib.xml comedilib.ent
 
 EXTRA_DIST = $(XML) calibration_funcref.txt command_funcref.txt dio_funcref.txt \
        deprecated_funcref.txt error_funcref.txt extensions_funcref.txt \
        funcref mkref drivers.txt mkdr FAQ \
-       acq-seq.gif doc_html man
+       acq-seq.gif doc_html man comedilib_html_config.xsl\
+       comedilib.css
 
 BUILT_SOURCES = calibration_funcref.xml command_funcref.xml dio_funcref.xml \
        deprecated_funcref.xml error_funcref.xml extensions_funcref.xml \
@@ -46,7 +47,7 @@ uninstall-local: $(uninstall_html) $(uninstall_man)
 
 #named this doc_html to avoid phony html target that is automatically generated
 #(at least by automake1.8)
-$(srcdir)/doc_html: $(XML)
+$(srcdir)/doc_html: $(XML) comedilib_html_config.xsl
        { $(XMLTO) -o $(srcdir)/doc_html -m $(srcdir)/comedilib_html_config.xsl --skip-validation html $(srcdir)/comedilib.xml && touch $(srcdir)/doc_html; } || { $(RM) -r $(srcdir)/doc_html; exit 1; }
 
 install_html:
diff --git a/doc/comedilib.css b/doc/comedilib.css
new file mode 100644 (file)
index 0000000..31e338a
--- /dev/null
@@ -0,0 +1,5 @@
+/* give <programlisting> a light grey background */
+.programlisting
+{
+       background-color: #E0E0E0;
+}
index 19cd75f62e6a58eb17596ae5fc4cb4237a7f823e..10e3c661292e8e308c17b2117e7907dd2fcadb67 100644 (file)
@@ -1,11 +1,11 @@
 <?xml version='1.0'?>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                xmlns:fo="http://www.w3.org/1999/XSL/Format"
-                version="1.0">
-  <xsl:param name="use.id.as.filename" select="'1'"/>
-  <xsl:param name="admon.graphics" select="'1'"/>
-  <xsl:param name="admon.graphics.path"></xsl:param>
-  <xsl:param name="chunk.section.depth" select="1"></xsl:param>
-  <xsl:param name="generate.section.toc.level" select="4"></xsl:param>
-<!--   <xsl:param name="html.stylesheet" select="'docbook.css'"/> -->
+       xmlns:fo="http://www.w3.org/1999/XSL/Format"
+       version="1.0">
+       <xsl:param name="use.id.as.filename" select="'1'"/>
+       <xsl:param name="admon.graphics" select="'1'"/>
+       <xsl:param name="admon.graphics.path"></xsl:param>
+       <xsl:param name="chunk.section.depth" select="2"/>
+       <xsl:param name="generate.section.toc.level" select="4"/>
+       <xsl:param name="html.stylesheet">../comedilib.css</xsl:param>
 </xsl:stylesheet>