don't forget configuration in case of deeper source directory
This commit is contained in:
parent
618da86277
commit
6a52f6bff7
@ -123,6 +123,14 @@ class d3DocumentRenderer implements BlockRendererInterface
|
|||||||
|
|
||||||
$output = new NullOutput();
|
$output = new NullOutput();
|
||||||
$daux = new Daux(Daux::STATIC_MODE, $output);
|
$daux = new Daux(Daux::STATIC_MODE, $output);
|
||||||
|
|
||||||
|
foreach ($_SERVER['argv'] as $arg) {
|
||||||
|
if (stristr($arg, '--source=')) {
|
||||||
|
$docsdir = trim(str_replace('--source=', '', $arg));
|
||||||
|
$daux->getParams()->setDocumentationDirectory($docsdir);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$daux->initializeConfiguration();
|
$daux->initializeConfiguration();
|
||||||
|
|
||||||
$params = $daux->getParams();
|
$params = $daux->getParams();
|
||||||
|
Loading…
Reference in New Issue
Block a user