RSS σε 66 κοινωνικά δίκτυα: Facebook, Instagram, X, LinkedIn, Telegram και άλλα Blog Συνεργατικό Πρόγραμμα Επικοινωνία
Σύνδεση Ξεκινήστε δωρεάν
Updated: 2026-10-06
MkDocs RSS Feed: Add the RSS Plugin and Auto-Post Updates

Short answer: MkDocs does not generate an RSS feed by itself, but the mkdocs-rss-plugin package does. Install it with pip, add rss to the plugins list in mkdocs.yml, set site_url, and limit the feed to the pages that should appear in it with match_path. The plugin writes one feed of newly created pages and one of recently updated pages on every build. Point an RSS auto-poster at the “created” feed and every new blog post or release note is shared automatically.

MkDocs, and especially the Material for MkDocs theme, has become a standard tool for documentation: product docs, internal knowledge bases, open source project sites and engineering blogs. Documentation changes all the time, but readers rarely notice unless someone tells them. An RSS feed is the simplest way to announce new guides, release notes and blog posts, both to people who subscribe and to tools that share updates on social networks and in team chats. This guide shows how to add a reliable feed to an MkDocs site, the settings that cause wrong dates and broken links, and how to automate announcements from it.

Does MkDocs have an RSS feed?

Not by default. MkDocs builds a static site from Markdown and has no feed feature in its core. Material for MkDocs includes a blog plugin for posts, archives and categories, but its documentation also recommends a separate plugin for RSS. That plugin is mkdocs-rss-plugin, a mature, maintained package that works with any MkDocs theme.

Check your live site first: if /feed_rss_created.xml returns XML, the plugin is already active and you can skip to the configuration tips.

Install and enable the plugin

Install the package in the same environment you build the site with:

pip install mkdocs-rss-plugin

Add it to your requirements.txt as well, so CI builds on GitHub Actions, GitLab CI or Read the Docs install it too. Then enable it in mkdocs.yml:

site_name: Example Docs
site_url: https://docs.example.com/

plugins:
  - search
  - rss

Note that once you define a plugins list, MkDocs no longer adds the built-in search plugin automatically, so list search explicitly if you use it.

After mkdocs build, the site folder contains two new files:

  • feed_rss_created.xml: pages ordered by creation date, which is what you want for announcing new content;
  • feed_rss_updated.xml: pages ordered by last update, useful for people who follow changes to existing docs.

Recent versions can also write JSON Feed files next to them. For auto-posting, use the “created” RSS feed, so an edit to an old page is not shared as if it were new.

Always set site_url

The plugin builds absolute item links from site_url. If it is missing, links cannot be absolute, and feed readers or auto-posters cannot open them. If it is wrong, for example still pointing to a staging domain or missing a subfolder on GitHub Pages, every shared link goes to the wrong place.

For a project site at https://user.github.io/project/, include the folder: site_url: https://user.github.io/project/. After building, open the feed and click the first item link. It should open the page in a browser exactly as visitors see it. For more on why this matters, see relative URLs in RSS feeds.

Choose which pages belong in the feed

By default the plugin considers every page. On a documentation site that is rarely what you want: nobody needs a social post every time the installation page is touched. Use match_path, a regular expression on the source path, to limit the feed:

plugins:
  - rss:
      match_path: "(blog/posts|releases)/.*"
      length: 20
      abstract_chars_count: 200

Here only blog posts and release notes are included, the feed holds 20 items, and each description is cut at about 200 characters. Typical patterns:

  • Material blog: blog/posts/.*
  • Release notes folder: releases/.* ή changelog/.*
  • Everything except reference pages: a pattern that matches your guide folders only.

Think about the audience of the feed. A feed for social sharing should contain announcements. A feed for engineers who track documentation changes can include more. Nothing stops you from running separate builds or separate sites for each, but most projects are best served by one focused feed.

Get the dates right

Dates are where MkDocs feeds most often go wrong. The plugin can take dates from two places: the page’s front matter, or the Git history of the Markdown file.

Front matter dates are the most predictable. Material blog posts already have them, and you can map them explicitly:

plugins:
  - blog
  - rss:
      match_path: "blog/posts/.*"
      date_from_meta:
        as_creation: date.created
      categories:
        - categories
        - tags

If your posts use a single date: value instead of the nested date: created: form, set as_creation: date.

Git dates are used when no front matter date is configured. They work well locally, but there is a classic CI trap: many pipelines check out the repository with a shallow clone, so every file appears to have been created in the latest commit. The result is a feed where all items share today’s date, and tools may treat old pages as new. In GitHub Actions, fix it with:

- uses: actions/checkout@v4
  with:
    fetch-depth: 0

If you cannot get a full history in your build environment, use front matter dates for the pages in the feed. Validators and readers also expect correct RFC 822 dates; our article on pubDate errors covers the common mistakes.

Descriptions, categories and images

Each feed item needs a short description. The plugin uses the page’s description front matter if present and otherwise takes the beginning of the content, cut to abstract_chars_count characters. A written description is almost always better: it becomes the text of many social posts, and an automatic excerpt may start with an admonition or a code block.

---
title: Version 3.2 released
description: Faster builds, a new CLI command and two deprecations to plan for.
date:
  created: 2026-10-01
categories:
  - Releases
---

Categories listed under the categories option become <category> elements in the feed, which helps route items and turn them into hashtags. For images, the plugin can add an image for each item from page metadata; check the plugin documentation for the exact key in your version. Social networks also read the page’s og:image, and Material’s social cards feature can generate those images automatically. See how to control which image gets auto-posted.

Feed discovery and linking

Readers and tools find a feed most easily through an autodiscovery link in the HTML head. With Material for MkDocs, add it through a theme override, for example in overrides/main.html:

{% extends "base.html" %}
{% block extrahead %}
  <link rel="alternate" type="application/rss+xml"
        title="Example Docs: new pages"
        href="{{ config.site_url }}feed_rss_created.xml">
{% endblock %}

Also link the feed visibly, for example in the footer or on the blog index, with a short line such as “Subscribe to new posts via RSS”. More on discovery is in Αυτόματη ανίχνευση RSS feed.

Versioned and multilingual documentation

Larger documentation sites often publish several versions side by side, for example with the mike tool, or several languages built from separate folders. Both affect the feed.

  • Versions. Each version is usually a separate build in its own folder, so each one gets its own feed. For announcements, use the feed of the latest version only, or of a dedicated blog that is not versioned at all. Otherwise a new version build can make every page look new.
  • Aliases. If latest is an alias for the current version, decide whether the feed’s links should use the alias or the version number. Links with the version number never change meaning; links through the alias always show the newest docs. Pick one and keep it, because changing it later changes every item’s ID.
  • Languages. Give each language its own feed and its own social channels. Mixing languages in one feed confuses readers and makes automated posts look random.

Whatever the structure, the principle is the same as for any site: one feed per audience, stable links, and dates that reflect when content really appeared.

Build, deploy and validate

Because MkDocs is static, the feed changes only when the site is rebuilt. Make sure your pipeline builds on every merge to the main branch, and that the deploy step publishes the feed files together with the pages. Then:

  • open the deployed feed_rss_created.xml and check that the newest post is first;
  • check that item dates are different and plausible;
  • click a few links to confirm they open the right pages;
  • run the feed through the W3C Feed Validation Service.

The mkdocs-rss-plugin documentation lists every option and is worth checking after upgrades. A broader checklist is in RSS feed validation before auto-posting.

Common MkDocs feed problems

SymptomCauseFix
No feed file on the live sitePlugin missing from requirements.txt in CIΠροσθήκη mkdocs-rss-plugin to requirements
Search stopped workingCustom plugins list without searchList search explicitly
Item links are relative or wrongMissing or incorrect site_urlSet the full public URL, including subfolders
All items have the same dateShallow Git clone in CIfetch-depth: 0 or front matter dates
Feed full of reference pagesNo match_pathLimit to blog and release folders
Edited pages shared as newAuto-poster uses the updated feedUse feed_rss_created.xml

Announce docs updates automatically

Documentation teams often write a release note, then post about it in a chat channel, on Mastodon, on LinkedIn and in a community forum, one by one. With a feed, that is configuration rather than routine work. Typical set-ups:

  • release notes to a team chat such as Slack, Microsoft Teams, Mattermost or Zulip, so internal teams see changes;
  • blog posts to Mastodon, Bluesky, X or LinkedIn for the developer community;
  • both to a Telegram or Discord channel for users who want every update;
  • new tutorials to DEV or other developer platforms, linking back to the docs.

Use clear titles such as “Version 3.2 released” or “How to migrate from the v2 API”, and write a one-sentence description for every announced page. Those two fields decide how good the automated posts look.

How PostRSS works with an MkDocs feed

PostRSS has been publishing RSS and Atom feeds to social networks and team tools since 2014. Paste the address of feed_rss_created.xml, connect your accounts and choose the post format. PostRSS checks the feed as often as every minute and shares each new page, with its image and link, to the networks you choose among 66 supported networks, including Mastodon, Bluesky, Discord, Telegram, Mattermost, Zulip, Google Chat and DEV, plus webhooks for Slack, Microsoft Teams, Zapier and n8n. Keyword filters, UTM parameters and hashtags from categories help you tailor each channel. See the PostRSS features page and the plan details on the pricing page. More developer guides are under the Technical Guide tag.

Related reading

The bottom line

An MkDocs RSS feed takes one plugin and a few lines of configuration. Install mkdocs-rss-plugin, set site_url, limit the feed with match_path, and get dates from front matter or a full Git history. Use the “created” feed for announcements, validate it once, and every new blog post or release note can reach your community and team channels automatically.

FAQ

How do I add an RSS feed to MkDocs?

Install mkdocs-rss-plugin with pip, add rss to the plugins list in mkdocs.yml and set site_url. On the next build the plugin writes feed files for created and updated pages into the site folder.

Which MkDocs feed should I use for auto-posting?

Use feed_rss_created.xml. It lists pages by creation date, so only new pages are announced. The updated feed also includes edits to existing pages, which would be shared as if they were new.

Why do all items in my MkDocs feed have the same date?

The plugin reads Git history, and many CI pipelines use a shallow clone. Fetch the full history, for example with fetch-depth 0 in GitHub Actions, or take dates from front matter instead.

Does the feed work with Material for MkDocs blog posts?

Yes. Limit the feed to the blog posts folder with match_path, map the creation date from the post front matter, and add categories and tags. Material’s documentation recommends this plugin for blog feeds.

Can I post MkDocs updates to Slack or Teams automatically?

Yes. Point an RSS auto-poster at the feed and connect a team chat or a webhook. Every new release note or post then appears in the channel without anyone copying links by hand.

New guides, once a month

What changed in the networks, what broke, and how to fix it before it costs you reach.

We send a confirmation e-mail first. Unsubscribe any time.

Περισσότερα εργαλεία από την ομάδα μας

Από την Internet Solutions, την ομάδα πίσω από το PostRSS. Κάθε προϊόν σάς εξοικονομεί χρόνο με τον δικό του τρόπο.

Live chat με AI για ιστότοπους Talkmio Ο ιστότοπός σας απαντά στους επισκέπτες 24/7 με βάση το δικό σας περιεχόμενο, στη γλώσσα τους. Δωρεάν πρόγραμμα · χωρίς κάρτα Βοηθός AI Ask Mio Συνομιλία, κώδικας, σχεδιασμός, γραφή και έρευνα. Το Mio επιλέγει το καλύτερο μοντέλο για κάθε εργασία. Δωρεάν πρόγραμμα Αυτόματος πιλότος AI για blog και social AI Blog Autopilot Η AI γράφει άρθρα SEO 2.000–3.000 λέξεων και κοινοποιεί το καθένα σε 58+ κοινωνικά δίκτυα. Τα 3 πρώτα άρθρα δωρεάν Έλεγχος υγείας ιστότοπου Site AI Audit SEO, ταχύτητα, SSL, ασφάλεια και ρυθμίσεις email σε μία αναφορά, με σειρά προτεραιότητας. Ο πρώτος έλεγχος δωρεάν Σε βάθος ανίχνευση SEO Site SEO AI Audit Πλήρης ανίχνευση SEO σε 7 τομείς, μαζί με την ορατότητα στην αναζήτηση AI, με διορθώσεις ταξινομημένες κατά αντίκτυπο. Ο πρώτος έλεγχος δωρεάν RSS και ροές προϊόντων RSS Feed Creator Δημιουργήστε RSS από οποιαδήποτε σελίδα, καθώς και ροές προϊόντων για Google και Meta που ενημερώνονται μόνες τους. Δωρεάν πρόγραμμα Ανάπτυξη ιστότοπων και SEO Internet Solutions Ιστότοποι, ηλεκτρονικά καταστήματα και εξατομικευμένα συστήματα, που σχεδιάζει, κατασκευάζει και υποστηρίζει η ομάδα μας. Από το 2011
PostRSS - Αυτοματισμός RSS Feed & αυτόματη δημοσίευση
Επισκόπηση Απορρήτου

Αυτός ο ιστότοπος χρησιμοποιεί cookies ώστε να μπορούμε να σας παρέχουμε την καλύτερη δυνατή εμπειρία χρήστη. Οι πληροφορίες των cookies αποθηκεύονται στον περιηγητή σας και εκτελούν λειτουργίες όπως η αναγνώρισή σας όταν επιστρέφετε στον ιστότοπό μας και η βοήθεια της ομάδας μας να κατανοήσει ποια τμήματα του ιστότοπου βρίσκετε πιο ενδιαφέροντα και χρήσιμα.