Не могу разобраться как установить свой pageTitle для генерируемой документации.
В коде в файле /vendor/yiisoft/yii2-apidoc/templates/html/GuideRenderer.php
Код: Выделить всё
/**
* @inheritdoc
*/
public function init()
{
parent::init();
if ($this->pageTitle === null) {
$this->pageTitle = 'The Definitive Guide to Yii 2.0';
}
}
Но смущает уточнение в документации
Сталкивался ли кто нибудь с подобным вопросом?By default the bootstrap template will be used. You can choose a different template with the --template=name parameter. Currently there is only the bootstrap template available.