On Wed, Jul 6, 2011 at 12:20, Hannes Magnusson <hannes.magnus...@gmail.com> wrote: > Hi all > > > Currently our php.net/indexes is "manually generated" with the > genfuncindex.php script.. > > I'd like to propose to use an PI for this, and generate the list in PhD... > You could print out indexes for pretty much anything PhD indexes.. so > the following patch prints out the list of all refentries and > examples.
There is a slight problem with that. There doesn't seem to be any correct way of differentiating refentries.. so if its a refentry for function, method, variable, url wrapper, context option.. PhD has no idea. I played around a little trying to teach the indexer the difference (depending on the refnames, and the rest of the structure of the file), but it becomes very messy and not 100% accurate. I can't think of any other way then to modify the markup to explicitly mention what kind of refentry it is.. thoughts? Maybe its not important for the indexes page, just list all refentries alphabetically? -Hannes