Skip to content

Conversation

@simonguo
Copy link
Member

This pull request introduces automated sitemap and robots.txt generation for the documentation site using the next-sitemap package. It adds configuration for customizing sitemap entries and exclusion rules, updates build scripts to generate these files after building, and updates type documentation for several components with new properties.

Sitemap & SEO automation:

  • Added next-sitemap configuration in docs/next-sitemap.config.js to generate sitemaps and robots.txt, including custom priorities, change frequencies, and exclusion of internal/example pages.
  • Updated build process in docs/package.json to run next-sitemap as a postbuild step, ensuring sitemaps and robots.txt are generated automatically after each build.

Dependency updates:

Robots.txt and sitemap output:

  • Added a generated docs/public/robots.txt file with rules for search engines and sitemap reference.

Component documentation improvements:

  • Updated type documentation for Badge, Icon, Modal, and TreePicker components to include new properties: size for Badge and Icon, bodyFill for Modal, and onlyLeafSelectable for TreePicker. [1] [2] [3] [4]

@codesandbox
Copy link

codesandbox bot commented Dec 11, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@vercel
Copy link

vercel bot commented Dec 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
rsuite-main Ready Ready Preview Comment Dec 11, 2025 3:05am
rsuite-storybook Ready Ready Preview Comment Dec 11, 2025 3:05am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
rsuite-v5 Ignored Ignored Preview Dec 11, 2025 3:05am

@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 11, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@codecov
Copy link

codecov bot commented Dec 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.49%. Comparing base (1c39f37) to head (ed07dbe).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4464   +/-   ##
=======================================
  Coverage   94.48%   94.49%           
=======================================
  Files         559      560    +1     
  Lines       13797    13803    +6     
  Branches     4106     4108    +2     
=======================================
+ Hits        13036    13043    +7     
+ Misses        689      688    -1     
  Partials       72       72           
Flag Coverage Δ
chromium 94.49% <ø> (+<0.01%) ⬆️
firefox 94.48% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@simonguo simonguo merged commit 24da158 into main Dec 11, 2025
17 checks passed
@simonguo simonguo deleted the docs/next-sitemap-sitemap branch December 11, 2025 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants