docbook docs are now able to do syntax highlighting.
This commit is contained in:
parent
6c42ff9216
commit
6bd0bfe206
@ -1,7 +1,7 @@
|
|||||||
XSLSTYLE=doctrine.xsl
|
XSLSTYLE=doctrine.xsl
|
||||||
XSLSTYLE_CHUNKED=doctrine-chunked.xsl
|
XSLSTYLE_CHUNKED=doctrine-chunked.xsl
|
||||||
%.html: %.xml
|
%.html: %.xml
|
||||||
xsltproc --output $@ $(XSLSTYLE) $<
|
xsieve -xinclude --output $@ $(XSLSTYLE) $<
|
||||||
xsltproc --stringparam base.dir html/ $(XSLSTYLE_CHUNKED) $<
|
xsieve -xinclude --stringparam base.dir html/ $(XSLSTYLE_CHUNKED) $<
|
||||||
|
|
||||||
html: doctrine.html
|
html: doctrine.html
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<?xml version='1.0'?>
|
<?xml version='1.0'?>
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||||
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/chunk.xsl"/>
|
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/chunk.xsl"/>
|
||||||
<xsl:param name="html.stylesheet" select="'doctrine.css'"/>
|
<xsl:import href="/root/src/xsieve/experiments/programlisting/colorer.xsl"/>
|
||||||
|
<xsl:import href="/root/src/xsieve/experiments/programlisting/colorer-html.xsl"/>
|
||||||
|
<xsl:param name="html.stylesheet" select="'../doctrine.css'"/>
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
@ -2,3 +2,8 @@ body, p, td
|
|||||||
{
|
{
|
||||||
font-family: arial, "lucida console", sans-serif
|
font-family: arial, "lucida console", sans-serif
|
||||||
}
|
}
|
||||||
|
.programlisting
|
||||||
|
{
|
||||||
|
margin: 10px;
|
||||||
|
background-color: #eeeeee;
|
||||||
|
}
|
||||||
|
@ -171,7 +171,7 @@
|
|||||||
If the power of DQL isn't enough, you should consider using the rawSql API for object population.
|
If the power of DQL isn't enough, you should consider using the rawSql API for object population.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<programlisting><![CDATA[
|
<programlisting role="php"><![CDATA[
|
||||||
<?php
|
<?php
|
||||||
// DO NOT USE THE FOLLOWING CODE
|
// DO NOT USE THE FOLLOWING CODE
|
||||||
// (using many sql queries for object population):
|
// (using many sql queries for object population):
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<?xml version='1.0'?>
|
<?xml version='1.0'?>
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||||
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/docbook.xsl"/>
|
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/docbook.xsl"/>
|
||||||
|
<xsl:import href="/root/src/xsieve/experiments/programlisting/colorer.xsl"/>
|
||||||
|
<xsl:import href="/root/src/xsieve/experiments/programlisting/colorer-html.xsl"/>
|
||||||
<xsl:param name="html.stylesheet" select="'doctrine.css'"/>
|
<xsl:param name="html.stylesheet" select="'doctrine.css'"/>
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user