Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.32.0

Bug #15877 Problems with "Documentation" page for packages
Submitted: 2009-02-04 01:52 UTC
From: wiesemann Assigned: cweiske
Status: Closed Package: pearweb
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2009-02-04 01:52 UTC] wiesemann (Mark Wiesemann)
Description: ------------ It's nice to have an overview about the manual pages directly on the "Documentation" page, but this list is almost useless without the class and method names, see e.g. here: http://pear.php.net/package/Spreadsheet_Excel_Writer/docs The two main table cells on that page also need valign="top" (it's obvious on the link from above) Test script: --------------- Expected result: ---------------- Actual result: --------------

Comments

 [2009-02-04 08:43 UTC] doconnor (Daniel O'Connor)
Mmm, drat; the original use case was probably tested only really with http://pear.php.net/package/Validate_AU/docs or similar - which works a little better.
 [2009-02-04 08:44 UTC] doconnor (Daniel O'Connor)
Expected result for validate_au would be: Docs: * Introduction * List of available validations * Package Validate_AU Constants * abn * acn * phoneNumber * postalCode * region * ssn * tfn
 [2009-02-07 18:48 UTC] doconnor (Daniel O'Connor)
I fixed the vertical-alignment in CVS, but the documentation being generated is something for cweiske. IE: package-info.php does if (!empty($doc_link)) { echo '<ul><li><a href="' . htmlspecialchars($doc_link) . '">End-user Documentation</a></li></ul>'; $tocfile = 'manual/en/packagetocs/' . strtolower($name) . '.htm'; if (file_exists($tocfile)) { echo file_get_contents($tocfile); } }
 [2009-02-07 18:48 UTC] doconnor (Daniel O'Connor)
-Assigned To: +Assigned To: cweiske
 [2009-02-08 23:15 UTC] wiesemann (Mark Wiesemann)
Is it a bug that the "changeset" <div> is "htmlspecialchars()d" here? In other bugs this isn't the case.
 [2009-02-13 03:48 UTC] cweiske (Christian Weiske)
-Status: Assigned +Status: Closed
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. I fixed the issue for Laurent in cvs. We'll see how it helped on sunday. http://news.php.net/php.pear.webmaster/6422 http://news.php.net/php.pear.webmaster/6355