* StaticExporter: * extensions: * - DocumentationStaticPublisherExtension * * * If you don't plan on using static publisher for anything else and you have * the cms module installed, make sure you disable that from being published. * * Again, in your applications config.yml file * * * StaticExporter: * disable_sitetree_export: true * * * @package docsviewer */ class DocumentationStaticPublisherExtension extends Extension { public function alterExportUrls(&$urls) { $manifest = new DocumentationManifest(true); foreach($manifest->getPages() as $url => $page) { $urls[$url] = $url; } } }