php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #47394 phd config files
Submitted: 2009-02-15 12:17 UTC Modified: 2010-04-29 21:45 UTC
From: cweiske@php.net Assigned: bjori (profile)
Status: Closed Package: Doc Build problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cweiske@php.net
New email:
PHP Version: OS:

 

 [2009-02-15 12:17 UTC] cweiske@php.net
Description:
------------
Currently one has to pass a bunch of options to phd to make it generate the files in the flavor one wants it.
When doing that repeatedly, it would help to have configuration files where phd would read its options from.

The config files could contain:
- general options, like indexing settings
- per-theme options, like output filename


[phd]
file=manual.xml
format=xhtml
index=false
verbose=false
language=de
color=true
highlighter=PhD_Highlighter_Geshi

[pearchunkedhtml]
outdir=build/{$language}/html/

[pearbightml]
outfile=build/$language/pear_manual_{$language}.html



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-16 08:04 UTC] bjori@php.net
This is definitely something "PhD-Setup" should solve (among other things).

I'm not sure if INI format is the way to go, I was kind of hoping for a config.nice var_export()ed file..
Given your example of using $language for the output filenames.. maybe INI really are the correct choice.

 [2010-03-12 16:25 UTC] moacir@php.net
-Type: Bug +Type: Feature/Change Request
 [2010-04-29 21:45 UTC] bjori@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: bjori
 [2010-04-29 21:45 UTC] bjori@php.net
This bug has been fixed in SVN. Since the websites are not directly
updated from the SVN server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.

Thank you for the report, and for helping us make PHP.net better.

Fixed in r298784
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC