-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: route knative docs base URL from knative.dev/docs to knative.dev #6319
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
base: main
Are you sure you want to change the base?
feat: route knative docs base URL from knative.dev/docs to knative.dev #6319
Conversation
- Updated base URL configuration from knative.dev/docs to knative.dev - Added comprehensive 301 redirects for smooth transition - Updated blog configuration to point to new base URL - Ensures backward compatibility with existing links and search results This change routes the base URL for Knative docs to knative.dev instead of knative.dev/docs, while maintaining backward compatibility through proper redirects that won't break search results or existing links.
|
✅ Deploy Preview for knative ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rohan-019 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @rohan-019! It looks like this is your first PR to knative/docs 🎉 |
/ok-to-test |
Hey, @rohan-019 ! Thanks for doing this. In the preview, I'm not seeing the described effect, though I can see that you made changes intended to produce this effect. Am I looking at something wrong? E.g.
(and yes, serving HTML for a 301 is not great...) |
Migrate documentation from /docs/* to root domain with 301 redirects
Overview
This PR restructures the Knative documentation URL hierarchy by moving content from
https://knative.dev/docs/*
tohttps://knative.dev/*
, creating a cleaner and more intuitive navigation experience.fixes: #6292
Changes Made
Configuration Updates
site_url
fromhttps://knative.dev/docs
tohttps://knative.dev
Redirect Strategy
Benefits
Testing Completed
/docs/*
→/*
redirects function correctlyImpact
/docs/*
URLs remain functional via redirects