Skip to content

Turn off RSS feeds and git page dates in the docs site - #789

Open
kristin-kronstain-brown wants to merge 2 commits into
mainfrom
kkb-slim-rss
Open

kristin-kronstain-brown wants to merge 2 commits into
mainfrom
kkb-slim-rss

Conversation

@kristin-kronstain-brown

@kristin-kronstain-brown kristin-kronstain-brown commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR turns off the site's RSS feeds and its git-based page dates.

  • Feeds: the home page and every docs section built an RSS feed with the full content of up to 50 pages. The site has no blog, no page linked to these feeds, and their items had no real dates.
  • Page dates: pages no longer get a sitemap <lastmod>, an Open Graph article:modified_time, or a JSON-LD dateModified, unless they set a date in front matter.

Changes

  • docs-site/hugo.yaml
    • home and section drop RSS, and taxonomy and term are HTML only, which removes the empty /tags/ and /categories/ feeds.
    • Drops enableGitInfo, and frontmatter.lastmod becomes ["lastmod", "date", "publishDate"].
  • docs-site/content/kagent/_index.md and docs-site/content/kmcp/_index.md drop "rss" from their outputs.

Why drop the page dates

  • Git dates miss content changes. Docs pages that reuse shared snippets keep their git date when only a snippet changes.
  • A shallow checkout gives every page the same date. Search engines read that as "every page changed on every deploy."
  • A wrong date is worse than none. Google uses lastmod only when it is "consistently and verifiably accurate", and trusts or ignores all of a site's dates together, as described in https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping

solo-io/docs-theme-extras#111 tracks a prototype that dates each page from the snippets it uses. The same change is in agentgateway/website#1613.

Results

Local build of this branch:

  • No RSS feeds are built.
  • None of the 438 sitemap entries has a <lastmod>.
  • Hextra adds no RSS <link rel="alternate"> tags, so no page points at a removed feed.

How to test

  1. Build the site with hugo --gc --minify from docs-site/.
  2. Run find docs-site/public -name '*.xml' -not -name 'sitemap*'. Nothing should be listed.
  3. Run grep -c '<lastmod>' docs-site/public/sitemap.xml. The count should be 0.

🤖 Generated with Claude Code

Signed-off-by: Kristin Brown <kristin.brown@solo.io>
Signed-off-by: Kristin Brown <kristin.brown@solo.io>
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Docs preview

Link Points at
Branch preview The newest push to this branch. Updates in place.
Commit preview 64b7f79 only. Frozen.

Both are uploaded Worker versions and serve no production traffic.

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.

1 participant