knuckleswtf / knuckleswtf/scribe
Try it out base url
- Dominant language
- PHP
- Stars
- 2.3k
- Forks
- 357
- PR merge metrics
- No merged PRs in 30d
Description
### 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
- [X] I've checked [the docs](https://scribe.knuckles.wtf/laravel), the [troubleshooting guide](https://scribe.knuckles.wtf/laravel/troubleshooting), and [existing issues](https://github.com/knuckleswtf/scribe/issues?q=is%3Aissue+), but I didn't find a solution
Contributor guide
Research direction
Start by reviewing the try-it-out base URL configuration and the linked Laravel documentation and troubleshooting guide, then reproduce generation in local and staging environments. Done means generated staging documentation uses the staging or current domain rather than localhost.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- api, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100