Skip to content

Conversation

@daniel-lxs
Copy link
Member

@daniel-lxs daniel-lxs commented Aug 14, 2025

Description

The /evals page was missing from the generated sitemap because it's a dynamic route that isn't automatically discovered by next-sitemap.

Changes

  • Updated apps/web-roo-code/next-sitemap.config.cjs to explicitly add the /evals page in the additionalPaths function
  • Set proper priority (0.8) and change frequency (monthly) for the /evals page to match the configuration in the transform function

Testing

  • Ran pnpm build in apps/web-roo-code
  • Verified that /evals is now included in the generated public/sitemap.xml
  • Confirmed all pages are present in the sitemap:
    • / (homepage) - priority 1.0
    • /enterprise - priority 0.8
    • /evals - priority 0.8 ✅ (now fixed)
    • /privacy - priority 0.5
    • /terms - priority 0.5

Related Issues

Follow-up fix to PR #6206 which implemented next-sitemap but missed the dynamic /evals route.


Important

Add /evals page to sitemap generation in next-sitemap.config.cjs with priority 0.8 and monthly change frequency.

  • Sitemap Configuration:
    • Updated next-sitemap.config.cjs to include /evals in additionalPaths.
    • Set /evals priority to 0.8 and change frequency to monthly.
  • Testing:
    • Verified /evals inclusion in public/sitemap.xml after running pnpm build.
    • Confirmed all pages have correct priorities in the sitemap.

This description was created by Ellipsis for b399af9. You can customize this summary. It will automatically update as commits are pushed.

The /evals page is a dynamic route and wasn't being included in the sitemap
automatically. Added it explicitly to the additionalPaths function to ensure
it's included in the generated sitemap with proper priority (0.8) and
change frequency (monthly).
@daniel-lxs daniel-lxs requested review from cte, jr and mrubens as code owners August 14, 2025 16:05
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. bug Something isn't working labels Aug 14, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Review] in Roo Code Roadmap Aug 14, 2025
@github-actions
Copy link
Contributor

🚀 Preview deployed!

Your changes have been deployed to Vercel:

Preview URL: https://roo-code-website-4c1mmbu31-roo-code.vercel.app

This preview will be updated automatically when you push new commits to this PR.

loc: '/evals',
changefreq: 'monthly',
priority: 0.8,
lastmod: new Date().toISOString(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider conditionally setting the lastmod value based on config.autoLastmod (as done in the transform function) to maintain consistency if auto-lastmod is disabled.

Suggested change
lastmod: new Date().toISOString(),
lastmod: config.autoLastmod ? new Date().toISOString() : undefined,

Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I've reviewed the changes and have some suggestions for improvement.

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
@mrubens mrubens merged commit 253d5ac into main Aug 14, 2025
14 checks passed
@mrubens mrubens deleted the fix/add-evals-to-sitemap branch August 14, 2025 16:48
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Aug 14, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Aug 14, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 14, 2025
fxcl added a commit to tameslabs/Roo-Cline that referenced this pull request Aug 16, 2025
* main: (70 commits)
  fix: use native Ollama API instead of OpenAI compatibility layer (RooCodeInc#7137)
  feat: add support for OpenAI gpt-5-chat-latest model (RooCodeInc#7058)
  Make enhance with task history default to true (RooCodeInc#7140)
  Bump cloud version to 0.16.0 (RooCodeInc#7135)
  Release: v1.51.0 (RooCodeInc#7130)
  Add an API for resuming tasks by ID (RooCodeInc#7122)
  Add support for task page event population (RooCodeInc#7117)
  fix: add type check before calling .match() on diffItem.content (RooCodeInc#6905) (RooCodeInc#6906)
  Fix: Enable save button for provider dropdown and checkbox changes (RooCodeInc#7113)
  fix: Use cline.cwd as primary source for workspace path in codebaseSearchTool (RooCodeInc#6902)
  Hotfix multiple folder workspace checkpoint (RooCodeInc#6903)
  fix: prevent XML entity decoding in diff tools (RooCodeInc#7107) (RooCodeInc#7108)
  Refactor task execution system: improve call stack management (RooCodeInc#7035)
  Changeset version bump (RooCodeInc#7104)
  feat(web): fill missing SEO-related values (RooCodeInc#7096)
  Update contributors list (RooCodeInc#6883)
  Release v3.25.15 (RooCodeInc#7103)
  fix: add /evals page to sitemap generation (RooCodeInc#7102)
  feat: implement sitemap generation in TypeScript and remove XML file (RooCodeInc#6206)
  fix: reset condensing state when switching tasks (RooCodeInc#6922)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer PR - Needs Review size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants