knuckleswtf / scribe

Generate API documentation for humans from your Laravel codebase.✍
https://scribe.knuckles.wtf/laravel/
MIT License
1.58k stars 280 forks source link

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

Open Pjeter0 opened 6 months ago

Pjeter0 commented 6 months ago

Scribe version

3.0

Your question

How do you make a menu of the @group annotation.

This is what i have:

`/**

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

shalvah commented 6 months ago

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

Pjeter0 commented 6 months ago

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 commented 6 months ago

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.

shalvah commented 5 months ago

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

hwalker928 commented 1 week ago

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