Repository navigation
CDN docs url change - #8466
CDN docs url change#8466
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughUpdates the CDN base URL used for generated standalone documentation HTML from ChangesDocumentation CDN URL update
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Problem
The standalone renderer will be served from cdn.usebruno.com/docs/index.js + index.css (using index under the /docs/ prefix rather than repeating the name as docs.js). Two source changes are needed to make the emitted asset and the consumer agree on the new naming.
Proposed Solution
opencollection / oc-docs — in vite.config.standalone.ts, change the standalone build output names:
UMD fileName: docs.js → index.js
CSS assetFileNames: docs.css → index.css
ES fileName: docs.esm.js → index.esm.js for consistency
bruno / bruno-app — in the Generate Documentation component:
CDN_BASE_URL: https://cdn.opencollection.com → https://cdn.usebruno.com
template refs: ${CDN_BASE_URL}/docs.css → ${CDN_BASE_URL}/docs/index.css, ${CDN_BASE_URL}/docs.js → ${CDN_BASE_URL}/docs/index.js
https://usebruno.atlassian.net/browse/BRU-3709
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.
Summary by CodeRabbit