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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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 Mar 28 19:01:29 2024 UTC