new look manual
| From: | Colin Viebrock | Date: | Wed, 07 Feb 2001 23:46:10 +0000 |
| Subject: | new look manual | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-3860@lists.php.net to get a copy of this message | ||
Jim,
How possible is it to get the manual generating scripts to produce one more
file
that is basically a tree structure of the entire manual? I imagine this
could be
done with two arrays.
One would be a simple list of the page name and filename:
$FILES = array(
'_top' => 'PHP Manual',
'preface' => 'Preface',
'getting-started' => 'Getting Started',
...
'ref.aspell' => 'Aspell Functions',
...
'func.xmldoc' => 'xmldoc',
...
);
The next one (and trickier, I guess) is an array that refers a filename to
it's
"parent" file. Something like:
$PARENTS = array(
'_top' => false,
'preface' => '_top',
'getting-started' => '_top',
...
'ref.aspell' => 'funcref',
...
'func.xmldoc' => 'ref.domxml',
...
);
Alternatively, you could maybe run some fancy stylesheet and create a simple
XML file
that describes the tree. This could run through an XSL sheet to make the
above files.
- Colin