-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
How can I create documentation for my app? #131
Comments
That would be great. |
I think that simply |
For folks waiting, I wrote this very simple script as workaround.
Regards, |
I adapted @hujuice 's script to just get the documentation for my app, but it's still only showing the Yii class on the index page, and there's no app-index.html page either:
This is running in the basic folder of the basic app. Any update on this? |
Looks like the yii2-apidocs is at this moment not ready to generate docs for your own application. You have to create a new template and play with apidoc generator and put all together. |
I create API documentation with the following command:
vendor/bin/apidoc api 'backend,frontend,common,vendor/yiisoft,...' ./../apidocs
In index.html is then documentation for namespaces yii, yii\base,... but not for namespaces from my application. Files containing documentation for my application are created, but with navigation containing all namespaces, which are not in index.html.
Is it possible to create e.g. app-index.html with navigation consisting only from namespaces from my application?
The text was updated successfully, but these errors were encountered: