rss.xml
Publish an RSS 2.0 feed for changelog updates defined in your Heyo Docs content.
Loading documentation…
This is already configured in projects created with create-heyo-docs. No action is required if you used the creator to install Heyo Docs.
Heyo Docs publishes an RSS 2.0 feed at /rss.xml from the <Update> entries
in configured changelog pages. Regular documentation pages are deliberately
not included, so subscribers receive product updates rather than every content
edit.
Add a changelog group and point updates to the MDX page that contains its
entries. Set siteUrl at the same time so feed item links use the production
origin.
Each update needs a label. A date is optional, but lets the feed publish an RSS
pubDate; tags become RSS categories.
The generated item URL includes the update anchor, for example
https://docs.example.com/changelog#version-2-4. Feed text is XML-escaped and
the response uses application/rss+xml; charset=utf-8.
Generate the feed from the server-side page registry with rssXml(). Do not
copy changelog data into a separate feed: the registry keeps the feed and UI in
sync.
Register the resource route before the documentation catch-all:
Then create app/routes/rss.ts:
For static React Router deployments, include /rss.xml in prerender().
Create src/pages/rss.xml.ts:
Astro emits this route at build time when the project uses static output.
Create app/rss.xml/route.ts:
The starter calls its generated server-side registry markdownPages; it is the
frontmatter-free page data used by both RSS and the AI-facing resources.