Skip to content
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

Add option to disable normalization of spec download URLs #402

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ctreatma
Copy link

This adds a normalizeUrl option to the spec options so that plugin users can opt out of the behavior to convert spec download URLs to absolute URLs, which makes it possible to build a self-contained site. For backwards compatibility, the normalizeUrl flag defaults to true.

Fixes #400

Copy link

changeset-bot bot commented Mar 11, 2025

🦋 Changeset detected

Latest commit: 9b2fe3c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
docusaurus-plugin-redoc Patch
docusaurus-theme-redoc Patch
redocusaurus Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Mar 11, 2025

@ctreatma is attempting to deploy a commit to the Rohit Gohri's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't specify a relative URL for download
1 participant