#47394 [Opn]: phd config files

From: Date: Mon, 16 Feb 2009 08:04:00 +0000
Subject: #47394 [Opn]: phd config files
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1874@lists.php.net to get a copy of this message
ID: 47394 Updated by: bjori@php.net Reported By: cweiske@php.net Status: Open Bug Type: Doc Build problem PHP Version: Irrelevant New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2009-02-15 12:17:45] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47394&edit=1

« previous php.doc.bugs (#1874) next »