mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-31 02:43:06 +03:00
Added new facility to "autogen" the search script. Fixed a few more
* doc/search.xml, doc/search.templ, doc/Makefile.am, doc/search.php.inc: Added new facility to "autogen" the search script. Fixed a few more problems with the API page generation. * doc/site.xsl, doc/api.xsl, doc/newapi.xsl: integrated the autogeneration of the php script. Note that from this point doc/search.php will be include in the generic "Rebuilt docs". * doc/*: api docs rebuilt.
This commit is contained in:
13
doc/api.xsl
13
doc/api.xsl
@ -183,6 +183,19 @@
|
||||
<xsl:template match="/">
|
||||
<xsl:message>Executing api.xsl</xsl:message>
|
||||
<xsl:apply-templates select="$apirefs/apirefs"/>
|
||||
<xsl:if test="$dirname=''"> <!-- template for search only for base dir -->
|
||||
<xsl:message>Generating search template</xsl:message>
|
||||
<xsl:variable name="dummydata">
|
||||
<xsl:element name="insert_php">
|
||||
<xsl:value-of select="'Insert point for php code'"/>
|
||||
</xsl:element>
|
||||
</xsl:variable>
|
||||
<xsl:call-template name="new_page">
|
||||
<xsl:with-param name="filename" select="'search.templ'"/>
|
||||
<xsl:with-param name="title" select="'Search engine'"/>
|
||||
<xsl:with-param name="target" select="$dummydata"/>
|
||||
</xsl:call-template>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
Reference in New Issue
Block a user