Publish analyses in Docus, fix links, rewrite cross-plugin links#351
Open
Publish analyses in Docus, fix links, rewrite cross-plugin links#351
Conversation
Signed-off-by: Patrice Chalin <pchalin@gmail.com>
✅ Deploy Preview for cncf-techdocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
nate-double-u
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
analyses/as a first-class Docusaurus docs instance with its own autogenerated sidebar and navbar entry.And more ...
- Rewrites cross-plugin Markdown links so GitHub-authored `docs/` and `analyses/` links resolve correctly on the site. - Rewrites unbundled data asset links such as `.csv` files to GitHub blob URLs so they remain usable in rendered pages. - Restricts preview-only asset URL generation to deploy-preview contexts while keeping local builds pinned to the canonical `main` branch URLs. - Moves build-context and GitHub/branch detection logic into small helpers under `lib/`. - Normalizes imported root `README.md` links for the preview site without changing general content-plugin behavior. - Adds unit tests for link-rewrite behavior, including `.mdx` handling, passthrough cases, and full remark-pipeline coverage. - Updates markdown and link-check tooling configuration to match the new analyses publishing flow. - Replaces empty-hash KEDA deployment links with verified upstream section anchors. - Updates Helm and Knative analysis content to avoid dead or misleading external links. - Keeps TypeScript validation working with the current Docusaurus/TypeScript configuration.Preview: https://deploy-preview-351--cncf-techdocs.netlify.app/
Screenshot