scribe
scribe copied to clipboard
@group isn't making a menu in the top left
Scribe version
3.0
Your question
How do you make a menu of the @group annotation.
This is what i have:
`/**
- @group Core
- @subgroup Account
- The Account Controller. */ class AccountController extends Controller {`
But what i get in the browser is this:
Not only is the @group not showing but also I can't find my subgroup.
Can someone help me with this? If you need more info, please let me know!
Docs
- [X] I've checked the docs, the troubleshooting guide, and existing issues, but I didn't find a solution
Hii, sorry. Your report says you're on v3, and I have limited time available, so I can't help with an unsupported version. Have you tried upgrading to v4? It's a mostly automated process. https://scribe.knuckles.wtf/laravel/migrating-v4
Hi i have updated to V4 but still the menu in empty:
But in my scribe.php order is not empty:
And if i manually fill in the div (toc) and regenerate then the div gets overwritten and turns back into a ul block.
This is the js error i get
it is fixable because when I look at the demo application and go to the github and check the index.html i see that my index.html is missing a script tag:
When i manually put the script in my index.html and refresh the browser the error is gone but the menu is still not showing probably because it isnt generated.
That's weird. Can't help right now, but will try to have a look later.
I am also unable to assign a subgroup to a Controller - group works fine, subgroup does not.