feat: enable faster Docusaurus builds and clarify beta rollback#443
feat: enable faster Docusaurus builds and clarify beta rollback#443
Conversation
- Purpose: turn on Docusaurus Faster for this docs site and document the beta.2 rollback path more clearly. - Before: the repo used the default Docusaurus build path, the faster flags were not configured, full-build validation was blocked even when explicitly requested, and TypeScript editor checks failed on React JSX and local type declarations. - Problem: build-speed improvements were unavailable, the new faster config was not wired for this repo, rollback guidance for TPM/internal boot users was ambiguous, and the TS failures made config validation noisy. - Change: add @docusaurus/faster, enable the experimental_faster flags with the required v4 compatibility flag, update the 7.3.0-beta.2 notes to allow rollback to 7.3.0-beta.1 but not 7.2.4 or earlier after TPM/internal boot, relax AGENTS.md so full builds are allowed when explicitly requested, and fix the TS config and local declarations so tsc passes. - How it works: Docusaurus now uses the faster SWC/Rspack path, the config opts into the required future flag for worker-thread SSG, the React/iframe typings are aligned with the current toolchain, and the edited docs text matches the actual supported rollback path.
📝 WalkthroughWalkthroughThe changes modernize the TypeScript configuration and build setup while updating dependency declarations, refactoring module declarations, and adjusting documentation guidance. Configuration updates enable Docusaurus build optimizations and extend React/TypeScript type definitions. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
unraid-docs | 7efc062 | Commit Preview URL Branch Preview URL |
Apr 01 2026, 08:47 PM |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
docs/unraid-os/release-notes/7.3.0.md (1)
26-26: Tighten scope at Line 26 to avoid mixed interpretation.Line 26 can read as a general rollback path suggestion, while Line 22 is a hard prohibition for internal-boot/TPM-enabled testers. Consider scoping this sentence explicitly to avoid ambiguity (and it also resolves the repeated “If” style hint).
✏️ Suggested wording
-If you are considering any rollback path below `7.3.0-beta.1`, also see the [7.2.4 release notes](/unraid-os/release-notes/7.2.4/). +For systems that did **not** enable internal boot or TPM-based licensing, any rollback path below `7.3.0-beta.1` should also be validated against the [7.2.4 release notes](/unraid-os/release-notes/7.2.4/).🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@docs/unraid-os/release-notes/7.3.0.md` at line 26, The sentence on Line 26 is ambiguous relative to the hard prohibition on Line 22—make Line 26 explicitly scoped so it only applies to non‑TPM/internal‑boot users; replace the current line with a scoped sentence such as: "For users not using internal‑boot or TPM (i.e., standard BIOS/UEFI installs), if you are considering any rollback path below 7.3.0‑beta.1, also see the 7.2.4 release notes." This clarifies intent and removes the mixed interpretation while preserving the rollback pointer.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@docs/unraid-os/release-notes/7.3.0.md`:
- Line 26: The sentence on Line 26 is ambiguous relative to the hard prohibition
on Line 22—make Line 26 explicitly scoped so it only applies to
non‑TPM/internal‑boot users; replace the current line with a scoped sentence
such as: "For users not using internal‑boot or TPM (i.e., standard BIOS/UEFI
installs), if you are considering any rollback path below 7.3.0‑beta.1, also see
the 7.2.4 release notes." This clarifies intent and removes the mixed
interpretation while preserving the rollback pointer.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: c0a1741f-65de-4cfc-8a9c-b5b48a75acd3
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (8)
AGENTS.mddocs/unraid-os/release-notes/7.3.0.mddocusaurus.config.tspackage.jsonsidebar-semver-sort.d.tssrc/components/HomepageFeatures/index.tsxsrc/types/react-augmentations.d.tstsconfig.json
Summary
Validation
Build notes
siteConfig.onBrokenMarkdownLinksis deprecated and thatbabel.config.jscan be removed when using the SWC loaderSummary by CodeRabbit
Documentation
Chores