Create a "daux" binary

Refactored Daux a bit to allow generating documentation from working directory
Cette révision appartient à :
Stéphane Goetz
2016-07-27 23:27:51 +02:00
Parent 4f5bc217e7
révision 3375f8ff2b
15 fichiers modifiés avec 164 ajouts et 71 suppressions

Voir le fichier

@ -22,11 +22,12 @@ class LinkRendererTest extends \PHPUnit_Framework_TestCase
];
$root = vfsStream::setup('root', null, $structure);
$config->setDocumentationDirectory($root->url());
$config['valid_content_extensions'] = ['md'];
$config['mode'] = Daux::STATIC_MODE;
$config['index_key'] = 'index.html';
$tree = new Root($config, $root->url());
$tree = new Root($config);
Builder::build($tree, []);
return $tree;