Repository navigation
refactor: consolidate setup/teardown docs to docs site - #764
Conversation
- Move setup/teardown scripts documentation from marketing to docs site - Update SCRIPTS_URL to point to docs.superset.sh/setup-teardown-scripts - Add NEXT_PUBLIC_DOCS_URL to desktop build CI and electron config - Remove duplicate content from marketing site - Single source of truth: docs.superset.sh/setup-teardown-scripts
📝 WalkthroughWalkthroughAdds NEXT_PUBLIC_DOCS_URL to CI and Vite builds, exposes it to desktop main/renderer configs, removes the marketing Scripts page and the shared COMPANY.SCRIPTS_URL constant, and updates desktop UI components to use a new EXTERNAL_LINKS.SETUP_TEARDOWN_SCRIPTS built from NEXT_PUBLIC_DOCS_URL. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (2)
🧰 Additional context used📓 Path-based instructions (4)apps/desktop/**/*.{ts,tsx}📄 CodeRabbit inference engine (apps/desktop/AGENTS.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
apps/**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (2)📚 Learning: 2026-01-02T06:50:28.671ZApplied to files:
📚 Learning: 2026-01-02T06:50:28.671ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
✏️ Tip: You can disable this entire section by setting 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 |
- Remove SCRIPTS_URL from packages/shared/src/constants.ts (too targeted) - Update desktop components to construct docs URL directly - Components now use process.env.NEXT_PUBLIC_DOCS_URL inline
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
- Create EXTERNAL_LINKS section in desktop shared/constants.ts - Add SETUP_TEARDOWN_SCRIPTS constant pointing to docs site - Update SetupConfigModal to use EXTERNAL_LINKS constant - Update ConfigFilePreview to use EXTERNAL_LINKS constant - Centralized external link management for desktop app
Summary
Consolidates setup/teardown scripts documentation to the docs site, eliminating duplicate content and establishing a single source of truth.
Changes
apps/marketing/src/app/scripts/page.tsxSCRIPTS_URLfromsuperset.sh/scriptsto${process.env.NEXT_PUBLIC_DOCS_URL}/setup-teardown-scriptsNEXT_PUBLIC_DOCS_URLto:.github/workflows/build-desktop.yml)apps/docs/content/docs/setup-teardown-scripts.mdxResult
docs.superset.sh/setup-teardown-scriptsTesting
Summary by CodeRabbit
Documentation
Chores
✏️ Tip: You can customize this high-level summary in your review settings.