Re: Documentation linking issues
| From: | Alexey Borzov | Date: | Thu, 27 Jan 2011 11:18:27 +0000 |
| Subject: | Re: Documentation linking issues | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-54027@lists.php.net to get a copy of this message | ||
Hi Christian,
On 27.01.2011 10:25, Christian Weiske wrote:
Also there is a problem that peardoc/scripts/pearwebpackagetocs.php either doesn't run currently or cannot generate a TOC file for HTML_Common2 If TOC file existed, then it would be automatically displayed by pearweb/public_html/package-info.php in "Documentation" tab. I suspect that something may be wrong with HTML_Common2 docs themselves, but cannot understand exactly what. Please let me know if you can.I found it: cron/find-documentation.phpNo, I updated it. http://news.php.net/php.pear.webmaster/6786 Seems this is still a bug.Seems the PEAR website wasn't updated yet?and tried several times to add a link to that as the package's "Documentation URI". It appears OK, but is later removed (!!!) by some automatic (at least one hopes that it's not manual) process.Once we upgrade successfully the cron that updates the site should be turned back on.$url = $response->getStatus() == 404 ? $new_url : '';So whenever the documentation is not found, it gets the new url. If it's found, it keeps the URL as it is (later on, $url is sent to database when it is not empty).