-
Notifications
You must be signed in to change notification settings - Fork 467
docs: improve docs #4947
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
docs: improve docs #4947
Conversation
These 2 versions are no longer supported
Ensure canonical URLs are generated without trailing slash
WalkthroughThis change removes documentation for versions 26.5, 27.0, and 27.1, including guides, options, migration, and introduction files. It also updates Markdown links in introduction files of later versions (28.0, 29.0, 29.2, 29.3, 29.4) to explicitly include the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Docs
Note over Docs: Before: [babel7-or-ts] links<br>could resolve ambiguously
User->>Docs: Clicks "Babel7 + preset-typescript vs TypeScript"
Docs->>Docs: Resolves link to ./babel7-or-ts.md
Docs-->>User: Loads the correct Markdown file
Possibly related PRs
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
npm error Exit handler never called! ✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🔭 Outside diff range comments (1)
website/versions.json (1)
1-7: Remove leftover versioned sidebars for pruned releasesWe still have sidebar artifacts for 26.5, 27.0, and 27.1 that need to go:
• Delete these files:
– website/versioned_sidebars/version-26.5-sidebars.json
– website/versioned_sidebars/version-27.0-sidebars.json
– website/versioned_sidebars/version-27.1-sidebars.json• Ensure corresponding docs dirs are removed (if present):
– website/versioned_docs/version-26.5/
– website/versioned_docs/version-27.0/
– website/versioned_docs/version-27.1/After cleanup, rerun a focused grep to confirm no hard-coded references remain:
rg -n '"(26\.5|27\.0|27\.1)(?:[/"\-_])' website
♻️ Duplicate comments (4)
website/versioned_docs/version-28.0/introduction.md (1)
10-10: Same.mdsuffix concern applies hereSee comment on version 29.0; recommend consistent, extension-less doc links.
website/versioned_docs/version-29.2/introduction.md (1)
10-10: Same.mdsuffix concern applies hereSee comment on version 29.0; recommend consistent, extension-less doc links.
website/versioned_docs/version-29.4/introduction.md (1)
10-10: Same link clarification applied to v29.4 docsThe update mirrors the un-versioned doc and maintains cross-environment consistency. Looks good.
website/versioned_docs/version-29.3/introduction.md (1)
10-10: v29.3 doc link brought in line with other versionsChange is correct and consistent with the rest of the documentation set.
🧹 Nitpick comments (1)
website/versioned_docs/version-29.0/introduction.md (1)
10-10: Link now includes “.md” – validate Docusaurus resolves itDocusaurus normally prefers doc-ID links (
(./babel7-or-ts)).
WithtrailingSlash: false, adding the.mdsuffix should still work, but can emit warnings if the file gets renamed.Consider reverting to the extension-less form to stay future-proof:
-[Read more …](./babel7-or-ts.md) +[Read more …](./babel7-or-ts)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (82)
website/docs/introduction.md(1 hunks)website/docusaurus.config.ts(1 hunks)website/versioned_docs/version-26.5/babel7-or-ts.md(0 hunks)website/versioned_docs/version-26.5/contributing.md(0 hunks)website/versioned_docs/version-26.5/debugging.md(0 hunks)website/versioned_docs/version-26.5/getting-started/installation.md(0 hunks)website/versioned_docs/version-26.5/getting-started/options.md(0 hunks)website/versioned_docs/version-26.5/getting-started/options/astTransformers.md(0 hunks)website/versioned_docs/version-26.5/getting-started/options/babelConfig.md(0 hunks)website/versioned_docs/version-26.5/getting-started/options/compiler.md(0 hunks)website/versioned_docs/version-26.5/getting-started/options/diagnostics.md(0 hunks)website/versioned_docs/version-26.5/getting-started/options/isolatedModules.md(0 hunks)website/versioned_docs/version-26.5/getting-started/options/stringifyContentPathRegex.md(0 hunks)website/versioned_docs/version-26.5/getting-started/options/tsconfig.md(0 hunks)website/versioned_docs/version-26.5/getting-started/paths-mapping.md(0 hunks)website/versioned_docs/version-26.5/getting-started/presets.md(0 hunks)website/versioned_docs/version-26.5/getting-started/version-checking.md(0 hunks)website/versioned_docs/version-26.5/guides/esm-support.md(0 hunks)website/versioned_docs/version-26.5/guides/mock-es6-class.md(0 hunks)website/versioned_docs/version-26.5/guides/react-native.md(0 hunks)website/versioned_docs/version-26.5/guides/test-helpers.md(0 hunks)website/versioned_docs/version-26.5/guides/troubleshooting.md(0 hunks)website/versioned_docs/version-26.5/guides/using-with-monorepo.md(0 hunks)website/versioned_docs/version-26.5/introduction.md(0 hunks)website/versioned_docs/version-26.5/migration.md(0 hunks)website/versioned_docs/version-26.5/processing.md(0 hunks)website/versioned_docs/version-27.0/babel7-or-ts.md(0 hunks)website/versioned_docs/version-27.0/contributing.md(0 hunks)website/versioned_docs/version-27.0/debugging.md(0 hunks)website/versioned_docs/version-27.0/getting-started/installation.md(0 hunks)website/versioned_docs/version-27.0/getting-started/options.md(0 hunks)website/versioned_docs/version-27.0/getting-started/options/astTransformers.md(0 hunks)website/versioned_docs/version-27.0/getting-started/options/babelConfig.md(0 hunks)website/versioned_docs/version-27.0/getting-started/options/compiler.md(0 hunks)website/versioned_docs/version-27.0/getting-started/options/diagnostics.md(0 hunks)website/versioned_docs/version-27.0/getting-started/options/isolatedModules.md(0 hunks)website/versioned_docs/version-27.0/getting-started/options/stringifyContentPathRegex.md(0 hunks)website/versioned_docs/version-27.0/getting-started/options/tsconfig.md(0 hunks)website/versioned_docs/version-27.0/getting-started/options/useESM.md(0 hunks)website/versioned_docs/version-27.0/getting-started/paths-mapping.md(0 hunks)website/versioned_docs/version-27.0/getting-started/presets.md(0 hunks)website/versioned_docs/version-27.0/getting-started/version-checking.md(0 hunks)website/versioned_docs/version-27.0/guides/esm-support.md(0 hunks)website/versioned_docs/version-27.0/guides/mock-es6-class.md(0 hunks)website/versioned_docs/version-27.0/guides/react-native.md(0 hunks)website/versioned_docs/version-27.0/guides/test-helpers.md(0 hunks)website/versioned_docs/version-27.0/guides/troubleshooting.md(0 hunks)website/versioned_docs/version-27.0/guides/using-with-monorepo.md(0 hunks)website/versioned_docs/version-27.0/introduction.md(0 hunks)website/versioned_docs/version-27.0/migration.md(0 hunks)website/versioned_docs/version-27.0/processing.md(0 hunks)website/versioned_docs/version-27.1/babel7-or-ts.md(0 hunks)website/versioned_docs/version-27.1/contributing.md(0 hunks)website/versioned_docs/version-27.1/debugging.md(0 hunks)website/versioned_docs/version-27.1/getting-started/installation.md(0 hunks)website/versioned_docs/version-27.1/getting-started/options.md(0 hunks)website/versioned_docs/version-27.1/getting-started/options/astTransformers.md(0 hunks)website/versioned_docs/version-27.1/getting-started/options/babelConfig.md(0 hunks)website/versioned_docs/version-27.1/getting-started/options/compiler.md(0 hunks)website/versioned_docs/version-27.1/getting-started/options/diagnostics.md(0 hunks)website/versioned_docs/version-27.1/getting-started/options/isolatedModules.md(0 hunks)website/versioned_docs/version-27.1/getting-started/options/stringifyContentPathRegex.md(0 hunks)website/versioned_docs/version-27.1/getting-started/options/tsconfig.md(0 hunks)website/versioned_docs/version-27.1/getting-started/options/useESM.md(0 hunks)website/versioned_docs/version-27.1/getting-started/paths-mapping.md(0 hunks)website/versioned_docs/version-27.1/getting-started/presets.md(0 hunks)website/versioned_docs/version-27.1/getting-started/version-checking.md(0 hunks)website/versioned_docs/version-27.1/guides/esm-support.md(0 hunks)website/versioned_docs/version-27.1/guides/mock-es6-class.md(0 hunks)website/versioned_docs/version-27.1/guides/react-native.md(0 hunks)website/versioned_docs/version-27.1/guides/test-helpers.md(0 hunks)website/versioned_docs/version-27.1/guides/troubleshooting.md(0 hunks)website/versioned_docs/version-27.1/guides/using-with-monorepo.md(0 hunks)website/versioned_docs/version-27.1/introduction.md(0 hunks)website/versioned_docs/version-27.1/migration.md(0 hunks)website/versioned_docs/version-27.1/processing.md(0 hunks)website/versioned_docs/version-28.0/introduction.md(1 hunks)website/versioned_docs/version-29.0/introduction.md(1 hunks)website/versioned_docs/version-29.2/introduction.md(1 hunks)website/versioned_docs/version-29.3/introduction.md(1 hunks)website/versioned_docs/version-29.4/introduction.md(1 hunks)website/versions.json(1 hunks)
💤 Files with no reviewable changes (74)
- website/versioned_docs/version-26.5/guides/esm-support.md
- website/versioned_docs/version-26.5/getting-started/version-checking.md
- website/versioned_docs/version-26.5/debugging.md
- website/versioned_docs/version-27.1/debugging.md
- website/versioned_docs/version-27.1/getting-started/options/useESM.md
- website/versioned_docs/version-27.0/getting-started/version-checking.md
- website/versioned_docs/version-27.0/introduction.md
- website/versioned_docs/version-27.0/getting-started/options/useESM.md
- website/versioned_docs/version-27.0/guides/using-with-monorepo.md
- website/versioned_docs/version-26.5/getting-started/options/compiler.md
- website/versioned_docs/version-27.1/getting-started/version-checking.md
- website/versioned_docs/version-27.1/introduction.md
- website/versioned_docs/version-27.0/migration.md
- website/versioned_docs/version-27.0/getting-started/options/compiler.md
- website/versioned_docs/version-26.5/introduction.md
- website/versioned_docs/version-27.1/getting-started/options/compiler.md
- website/versioned_docs/version-26.5/migration.md
- website/versioned_docs/version-27.1/migration.md
- website/versioned_docs/version-27.0/debugging.md
- website/versioned_docs/version-27.1/guides/test-helpers.md
- website/versioned_docs/version-26.5/guides/using-with-monorepo.md
- website/versioned_docs/version-26.5/guides/test-helpers.md
- website/versioned_docs/version-27.1/guides/using-with-monorepo.md
- website/versioned_docs/version-27.0/babel7-or-ts.md
- website/versioned_docs/version-26.5/guides/mock-es6-class.md
- website/versioned_docs/version-26.5/getting-started/installation.md
- website/versioned_docs/version-27.0/guides/mock-es6-class.md
- website/versioned_docs/version-27.0/getting-started/installation.md
- website/versioned_docs/version-26.5/getting-started/options/isolatedModules.md
- website/versioned_docs/version-26.5/babel7-or-ts.md
- website/versioned_docs/version-27.0/getting-started/options/tsconfig.md
- website/versioned_docs/version-27.1/getting-started/paths-mapping.md
- website/versioned_docs/version-26.5/getting-started/paths-mapping.md
- website/versioned_docs/version-27.1/getting-started/options/babelConfig.md
- website/versioned_docs/version-27.0/guides/test-helpers.md
- website/versioned_docs/version-27.1/getting-started/installation.md
- website/versioned_docs/version-26.5/getting-started/options/tsconfig.md
- website/versioned_docs/version-27.1/getting-started/options.md
- website/versioned_docs/version-27.1/getting-started/options/astTransformers.md
- website/versioned_docs/version-26.5/getting-started/options/stringifyContentPathRegex.md
- website/versioned_docs/version-26.5/getting-started/options/babelConfig.md
- website/versioned_docs/version-27.1/getting-started/options/isolatedModules.md
- website/versioned_docs/version-27.1/getting-started/options/stringifyContentPathRegex.md
- website/versioned_docs/version-27.1/guides/react-native.md
- website/versioned_docs/version-27.0/getting-started/paths-mapping.md
- website/versioned_docs/version-27.0/getting-started/options/isolatedModules.md
- website/versioned_docs/version-26.5/getting-started/options.md
- website/versioned_docs/version-27.0/getting-started/options/astTransformers.md
- website/versioned_docs/version-26.5/guides/react-native.md
- website/versioned_docs/version-27.0/getting-started/options/stringifyContentPathRegex.md
- website/versioned_docs/version-26.5/processing.md
- website/versioned_docs/version-26.5/getting-started/options/astTransformers.md
- website/versioned_docs/version-27.1/guides/troubleshooting.md
- website/versioned_docs/version-27.1/getting-started/options/tsconfig.md
- website/versioned_docs/version-27.0/getting-started/options/babelConfig.md
- website/versioned_docs/version-27.1/babel7-or-ts.md
- website/versioned_docs/version-27.0/processing.md
- website/versioned_docs/version-26.5/getting-started/options/diagnostics.md
- website/versioned_docs/version-26.5/getting-started/presets.md
- website/versioned_docs/version-27.1/getting-started/options/diagnostics.md
- website/versioned_docs/version-27.1/guides/mock-es6-class.md
- website/versioned_docs/version-27.1/contributing.md
- website/versioned_docs/version-26.5/contributing.md
- website/versioned_docs/version-27.1/guides/esm-support.md
- website/versioned_docs/version-27.0/getting-started/options.md
- website/versioned_docs/version-26.5/guides/troubleshooting.md
- website/versioned_docs/version-27.0/contributing.md
- website/versioned_docs/version-27.1/getting-started/presets.md
- website/versioned_docs/version-27.0/guides/react-native.md
- website/versioned_docs/version-27.0/guides/troubleshooting.md
- website/versioned_docs/version-27.0/getting-started/presets.md
- website/versioned_docs/version-27.0/getting-started/options/diagnostics.md
- website/versioned_docs/version-27.0/guides/esm-support.md
- website/versioned_docs/version-27.1/processing.md
🧰 Additional context used
🪛 LanguageTool
website/versioned_docs/version-29.3/introduction.md
[grammar] ~10-~10: Ensure spelling is correct
Context: ...cluding type-checking. [Read more about Babel7 + preset-typescript vs TypeScript...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
website/versioned_docs/version-29.0/introduction.md
[grammar] ~10-~10: Ensure spelling is correct
Context: ...cluding type-checking. [Read more about Babel7 + preset-typescript vs TypeScript...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
website/versioned_docs/version-28.0/introduction.md
[grammar] ~10-~10: Ensure spelling is correct
Context: ...cluding type-checking. [Read more about Babel7 + preset-typescript vs TypeScript...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
website/versioned_docs/version-29.2/introduction.md
[grammar] ~10-~10: Ensure spelling is correct
Context: ...cluding type-checking. [Read more about Babel7 + preset-typescript vs TypeScript...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
website/docs/introduction.md
[grammar] ~10-~10: Ensure spelling is correct
Context: ...cluding type-checking. [Read more about Babel7 + preset-typescript vs TypeScript...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
🔇 Additional comments (2)
website/docusaurus.config.ts (1)
20-20:trailingSlash: falselooks correctGood call—this produces cleaner URLs and avoids double redirects.
No further action needed.website/docs/introduction.md (1)
10-10: Link target explicitly includes.md– good improvementAdding the explicit
./babel7-or-ts.mdpath keeps the link working both on GitHub and in the built Docusaurus site, eliminating the previous ambiguity. ✔️



Summary
See commits
Test plan
Green CI
Does this PR introduce a breaking change?
Other information
N.A.
Summary by CodeRabbit