-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Add route base path support #126
Conversation
Size Change: +1.53 kB (0%) Total Size: 3.18 MB
ℹ️ View Unchanged
|
Visit the preview URL for this PR (updated for commit 18363f9): https://docusaurus-openapi-36b86--pr126-pmum1vo6.web.app (expires Sat, 09 Jul 2022 22:31:31 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All 'paths' lead back to Mr. Wonderful, works great! Thank you 🚀
Description
This PR adds support for Docusaurus's routeBasePath option. Support for this option is needed to ensure generated inter-API-doc link URLs are constructed properly.
Example:
Motivation and Context
Ability to use
routeBasePath
offers much more flexibility when building routes to API docs, no matter what docpath
they reside in.How Has This Been Tested?
Tested locally against versioned and un-versioned API docs:
routeBasePath
setrouteBasePath
set