You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, its impossible to add an absolute url link, which would redirect user from stoplight elements page, to a differente page , which is located outside of stoplight elements scope
Steps to Reproduce
Have @stoplight/elements generated API be placed under specific route, i.e. my-domain.com/api#.
Use hash router.
Have some pages outside of the @stoplight/elements scope, i.e. my-domain.com/guides
Attempt to add a link in API documentation, which would direct user to guides page, i.e. [check out our guides page](/guides)
Current Behavior
The generated links poins to my-domain.com/api#/guides instead of my-domain.com/guides
Expected Behavior
I would expect a valid link to be genrated, which would point to my-domain.com/guides.
Possible Workaround/Solution
No workarounds, unless final host url is known in advance.
Version used: Latest @stoplight/elements version
The text was updated successfully, but these errors were encountered:
Hello,
Context
Currently, its impossible to add an absolute url link, which would redirect user from stoplight elements page, to a differente page , which is located outside of stoplight elements scope
Steps to Reproduce
Current Behavior
The generated links poins to
my-domain.com/api#/guides
instead ofmy-domain.com/guides
Expected Behavior
I would expect a valid link to be genrated, which would point to
my-domain.com/guides
.Possible Workaround/Solution
No workarounds, unless final host url is known in advance.
The text was updated successfully, but these errors were encountered: