scribe icon indicating copy to clipboard operation
scribe copied to clipboard

@group isn't making a menu in the top left

Open Pjeter0 opened this issue 1 year ago • 5 comments

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:

image

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

Pjeter0 avatar Dec 07 '23 15:12 Pjeter0

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

shalvah avatar Dec 12 '23 21:12 shalvah

Hi i have updated to V4 but still the menu in empty: image

But in my scribe.php order is not empty: image

And if i manually fill in the div (toc) and regenerate then the div gets overwritten and turns back into a ul block.

Pjeter0 avatar Dec 18 '23 09:12 Pjeter0

image

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.

Pjeter0 avatar Dec 18 '23 13:12 Pjeter0

That's weird. Can't help right now, but will try to have a look later.

shalvah avatar Jan 18 '24 09:01 shalvah

I am also unable to assign a subgroup to a Controller - group works fine, subgroup does not.

hwalker928 avatar Jun 22 '24 16:06 hwalker928