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 redirects to docusaurus #22911

Open
wants to merge 1 commit into
base: dev/docs/docusaurus
Choose a base branch
from

Conversation

RishhiB
Copy link
Contributor

@RishhiB RishhiB commented Oct 28, 2024

This does not work on local, only prod


// Map of incoming URL paths to redirect URLs
const routes = new Map([
["/docs/apis", "/docs/api/${currentVersion}"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pattern doesn't work with our new setup. I actually have a prototype more or less finished locally that works with the new hierarchy, I was planning on testing it tomorrow.

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.

2 participants