Re: the solution to livedocs problem
| From: | Nuno Lopes | Date: | Tue, 01 Jun 2004 17:23:59 +0000 |
| Subject: | Re: the solution to livedocs problem | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969361125@lists.php.net to get a copy of this message | ||
> Nuno,
>
> Looks good, my only question is why in mkindex.php you changed
> DIRECTORY_SEPARATOR to / ?
>
> Ilia
It is needed as the phpdoc/scripts/file-entities.php generates a file like:
<!ENTITY appendices.about SYSTEM
'c:/cvs/phpdoc/en/appendices/about.xml'>
<!ENTITY appendices.aliases SYSTEM
'c:/cvs/phpdoc/en/appendices/aliases.xml'>
<!ENTITY appendices.comparisons SYSTEM
'c:/cvs/phpdoc/en/appendices/comparisons.xml'>
<!ENTITY appendices.debugger SYSTEM
'c:/cvs/phpdoc/en/appendices/debugger.xml'>
(...)
As you can see the directory separator is /.
Instead of hacking livedocs, we could change the phpdoc script to convert
'/' to DIRECTORY_SEPARATOR.
What do you prefer?
Nuno