Skip to content

docs: add sitemap XML documentation and robots.txt directive#152

Open
malteos wants to merge 4 commits intomasterfrom
fix/various-fixes2
Open

docs: add sitemap XML documentation and robots.txt directive#152
malteos wants to merge 4 commits intomasterfrom
fix/various-fixes2

Conversation

@malteos
Copy link
Contributor

@malteos malteos commented Feb 23, 2026

Summary

  • Add docs/sitemap-xml.md with comprehensive documentation of the sitemap feature (URLs, caching, section details, how to extend).
  • Add Sitemap: https://de.openlegaldata.io/sitemap.xml directive to robots.txt so search engines can automatically discover the sitemap index
  • Fixes Add sitemap XML #137
  • Removed total queries on homepage and pagination
  • Fixed missing translations

Test plan

  • make test passes (595 tests OK)
  • Verify /robots.txt includes the Sitemap: line in deployed environment
  • Review docs/sitemap-xml.md for completeness

🤖 Generated with Claude Code

malteos and others added 4 commits February 23, 2026 16:57
… pagination

Homepage no longer runs COUNT(*) for cases/laws — button now says
"View all cases" instead of showing the exact total. Case list pagination
uses LimitedPaginator and shows "> N items" when the count exceeds
PAGINATE_BY * PAGINATE_UNTIL.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Also updates the DE theme homepage to remove explicit counts from both
the cases and laws buttons.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add dedicated docs/sitemap-xml.md covering sitemap feature (URLs, caching,
sections, how to extend). Add Sitemap directive to robots.txt so search
engines can discover the sitemap index automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Add sitemap XML

1 participant