-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use custom apidoc templates #5607
Comments
you can set up an alias for |
But where can I inject the alias? I am using vendor/bin/apidoc and there is no config in use. |
Currently you can use the --appconfig option to set a specific config as described here: http://www.yiiframework.com/doc-2.0/guide-tutorial-console.html#configuration Will try to make this easier. |
Thanks for the info, I think I understand how I should work with it. As I want to just change the headline I'll focus on other things first. |
Issue moved to yiisoft/yii2-apidoc#48 |
I tried to create a custom apidoc and guide renderer by extending the one from the bootstrap template.
But it looks to me like I can not get past these two lines, with a custom generator location:
https://github.com/yiisoft/yii2/blob/master/extensions/apidoc/commands/ApiController.php#L145
https://github.com/yiisoft/yii2/blob/master/extensions/apidoc/commands/GuideController.php#L96
Should be i.e. changed to params with absolute paths/NS, what do you think?
The text was updated successfully, but these errors were encountered: