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

Try it out base url #838

Open playerro opened 2 months ago

playerro commented 2 months ago

Scribe version

latest

Your question

Hi all! I was searching for solution to config different base url for local dev environment, staging server etc. Found that I can config base url for try it out. I did it and for local environment I get correct urls. But when I execute scribe generate on staging server, it is always localhost. I checked all files, everything in staging and dev are the same

Maybe there are option to make try it out link from current domain name?

Docs

mikeah2011 commented 2 months ago

staging environment APP_URL=https://staging.develop.com:8282

shalvah commented 1 month ago

Did you try what it says in https://scribe.knuckles.wtf/laravel/reference/config#try_it_out ?