php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47386 Read manual title from xml docbook file
Submitted: 2009-02-14 13:49 UTC Modified: 2009-08-26 19:32 UTC
From: cweiske@php.net Assigned:
Status: Closed Package: Doc Build problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2009-02-14 13:49 UTC] cweiske@php.net
Description:
------------
Currently, the title of the generated HTML files is hardcoded into the HTML templates. This should be changed to reading the title from the docbook file, making phd a bit more usable for non-pear and non-phpdoc.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-18 19:17 UTC] philip@php.net
A few additional comments. Most every themes/php/* has this ("PHP 
Manual") hardcoded, but from manual.xml.in we have:

<set xmlns="http://docbook.org/ns/docbook" version="5.0" 
xml:id="index" xml:lang="@LANG@" 
xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>&PHPManual;</title>
 &bookinfo;

 <book xml:id="manual">
  <title>&PHPManual;</title>
  &preface;
 </book>

So as already stated, this should be used instead.

 [2009-08-26 19:32 UTC] moacir@php.net
The title now are from the long description (ldesc) of the root element of the docbook file.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Dec 05 15:05:52 2022 UTC