Skip to content

Add robots.txt and exclude next from sitemap#586

Merged
ruibaby merged 1 commit intohalo-dev:mainfrom
ruibaby:update-sitemap
Apr 28, 2026
Merged

Add robots.txt and exclude next from sitemap#586
ruibaby merged 1 commit intohalo-dev:mainfrom
ruibaby:update-sitemap

Conversation

@ruibaby
Copy link
Copy Markdown
Member

@ruibaby ruibaby commented Apr 28, 2026

Create static/robots.txt to disallow crawling of the /next preview and old versioned docs and point to the sitemap. Update docusaurus.config.js sitemap settings: set priority and changefreq to null and add "/next/**" to ignorePatterns so preview content is excluded from the generated sitemap.

None

Create static/robots.txt to disallow crawling of the /next preview and old versioned docs and point to the sitemap. Update docusaurus.config.js sitemap settings: set priority and changefreq to null and add "/next/**" to ignorePatterns so preview content is excluded from the generated sitemap.
@f2c-ci-robot f2c-ci-robot Bot added the release-note-none Denotes a PR that doesn't merit a release note. label Apr 28, 2026
@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot Bot commented Apr 28, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign guqing for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ruibaby ruibaby merged commit c1f537c into halo-dev:main Apr 28, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note-none Denotes a PR that doesn't merit a release note.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant