Locally searchable build
| From: | Steph | Date: | Mon, 27 Jan 2003 19:24:51 +0000 |
| Subject: | Locally searchable build | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-596@lists.php.net to get a copy of this message | ||
Hi gang,
I finally committed something..
To get rid of the scary error messages during the build process for any
.php version of the manual, you will need to delete lines 34 - 37
inclusive from php-gtk-doc/stylesheets/common/titles.xsl:
32 <xsl:otherwise>
33 <xsl:message>
34 <xsl:text>Request for title of unexpected element: </xsl:text>
35 <xsl:value-of select="name(.)"/>
36 </xsl:message>
37 <xsl:text>???TITLE???</xsl:text>
38 </xsl:otherwise>
(James please leave that in, it's useful to know what it's not finding
:)
Searchable versions are either "searchable_zip" or "searchable_tar".
Extract the resulting archive to your toplevel Apache dir (or
equivalent). The dir name is set to 'htdocs'; if you happen to have a
different name for your www directory you will need to alter line 32 in
Makefile.in to reflect that.
The searching isn't terribly sophisticated (yet); it relies on a match
at present, e.g. although you can type in 'window' and get multiple
results, you'll get an error for 'win'. I'm hoping to rectify this in
the next few days.
Please test this, people :)
Thanks
- Steph