1
0
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:
William M. Brack
2004-01-10 09:07:09 +00:00
parent c2b06559f5
commit a9b1363e02
37 changed files with 500 additions and 123 deletions

View File

@ -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>