The following files exists in this folder. Click to view.
CDIFactoryDocumentation.php1 lines ASCII Unix (LF) <?php
namespace Anax\DI;
/**
* Extended factory for Anax documentation.
*
*/
class CDIFactoryDocumentation extends CDIFactoryDefault
{
/**
* Construct.
*
*/
public function __construct()
{
parent::__construct();
$this->set('documentation', function () {
$fc = new \Anax\Content\CFileContent();
$fc->setBasePath(ANAX_INSTALL_PATH . 'docs/documentation');
return $fc;
});
$this->theme->setVariable('style', "article {max-width: 650px;}");
$this->theme->setBaseTitle(" - Anax documentation");
}
}