From: Frank Mori Hess Date: Mon, 28 Jan 2008 19:30:01 +0000 (+0000) Subject: Added css stylesheet for html docs. At the momment, it just gives a X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=064f43b4f89fb79237953fd7c735bf701001d112;p=comedilib.git Added css stylesheet for html docs. At the momment, it just gives a light gray background to display of "programlisting" elements. --- diff --git a/doc/Makefile.am b/doc/Makefile.am index fded69b..aa10aa8 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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 index 0000000..31e338a --- /dev/null +++ b/doc/comedilib.css @@ -0,0 +1,5 @@ +/* give a light grey background */ +.programlisting +{ + background-color: #E0E0E0; +} diff --git a/doc/comedilib_html_config.xsl b/doc/comedilib_html_config.xsl index 19cd75f..10e3c66 100644 --- a/doc/comedilib_html_config.xsl +++ b/doc/comedilib_html_config.xsl @@ -1,11 +1,11 @@ - - - - - - + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version="1.0"> + + + + + + ../comedilib.css