#47423 [Opn->Ver]: CHM theme with partial rendering
| From: | cweiske@php.net | Date: | Thu, 19 Feb 2009 08:53:44 +0000 |
| Subject: | #47423 [Opn->Ver]: CHM theme with partial rendering | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1902@lists.php.net to get a copy of this message | ||
ID: 47423
Updated by: cweiske@php.net
Reported By: pear at laurent-laville dot org
-Status: Open
+Status: Verified
Bug Type: Doc Build problem
Operating System: Windows XP
PHP Version: Irrelevant
New Comment:
We could create a fake index.html redirecting to the right page.
Previous Comments:
------------------------------------------------------------------------
[2009-02-17 13:57:28] pear at laurent-laville dot org
Forget to give additionnal information:
I use PhD 0.4.4 and Microsoft HTML Help Compiler 4.74.8702
Error returns by hhc.exe is
HHC5003: Error: Compilation failed while compiling res\index.html.
The following files were not compiled:
res\index.html
------------------------------------------------------------------------
[2009-02-17 13:53:22] pear at laurent-laville dot org
Description:
------------
If you generate a partial render of PHP or PEAR Manual with the CHM
theme, you'll have a CHM file that could not display the first page.
Reason came from hard-coded default topic in hhp stream.
For PHP CHM theme, see file
http://cvs.php.net/viewvc.cgi/phd/themes/php/chmsource.php?annotate=1.4.2.5.2.11
line 258
Default topic=res' . DIRECTORY_SEPARATOR . 'index.html
For PEAR CHM theme, see file
http://cvs.php.net/viewvc.cgi/phd/themes/pear/pearchm.php?annotate=1.4.2.2.2.5
line 269
Default topic=res\index.html
In both files, we used an "index.html" page that is not generated on
partial rendering with -p | -partial switch
Reproduce code:
---------------
phd -f xhtml -p package.html.html-css -o build/tmp -d .manual.xml
Expected result:
----------------
package.html.html-css.html (main page) when I open the
pear_manual_en.chm file
Actual result:
--------------
This program could not display the web page
Or something equivalent (I don't really know what is displayed in
english, because I've a french version)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47423&edit=1