Re: Pretty much rolling
| From: | Christian Weiske | Date: | Sun, 12 Mar 2006 08:33:24 +0000 |
| Subject: | Re: Pretty much rolling | ||
| References: | 1 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1911@lists.php.net to get a copy of this message | ||
Steph,
> Everything's ticking along pretty much.
Glad you got it.
> and the search mechanism to panic over.
If you missed it:
I made a PEAR-compatible package for the doc search.
You can find the current version at
> http://xml.cweiske.de/PhpGtkDoc_Search2-0.0.5.tgz
The search is based on an index that is looked up, instead of looping
through the list of all the doc files. That allows grouping and
prioritizing the results, but also means that the index needs to be
created first.
The package itself can be installed via "pear install
PhpGtkDoc_Search2-0.0.5.tgz" (if you have shell access to the server).
The index can be generated with the "make_index.php" in the examples
directory. Both variables in the file need to be customized.
The search itself is done in the example file "htmlsearch.php". You need
to customize the $strIndexFile and $strDocumentationDir variables, that
should be all. (doc dir is the path of the manual relative to the search
file)
The examples get installed in $peardir/docs/PhpGtkDocs/examples/.
--
Regards/MfG,
Christian Weiske