MkDocs plugin which generates a static RSS feed using git log and page.meta.
Project Links
Meta
Author: Julien Moura
Requires Python: >=3.9, <4
Classifiers
Intended Audience
- Developers
- Information Technology
Programming Language
- Python :: 3
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: Implementation :: CPython
Development Status
- 5 - Production/Stable
License
- OSI Approved :: MIT License
Operating System
- OS Independent
Topic
- Documentation
- Text Processing :: Markup :: Markdown
MkDocs RSS plugin
A plugin for MkDocs, the static site generator, which creates RSS 2.0 and JSON Feed 1.1 feeds using the creation and modification dates from git log and page metadata (YAML frontmatter).
Installation
pip install mkdocs-rss-plugin
Usage
Minimal mkdocs.yml
configuration:
site_description: required. Used as feed mandatory channel description.
site_name: required. Used as feed mandatory channel title and items source URL label.
site_url: required. Used to build feed items URLs.
Minimal plugin option:
plugins:
- rss
Full options:
plugins:
- rss:
abstract_chars_count: 160 # -1 for full content
abstract_delimiter: <!-- more -->
categories:
- tags
comments_path: "#__comments"
date_from_meta:
as_creation: "date" # means from page.meta.date
as_update: "git" # means from git log
datetime_format: "%Y-%m-%d %H:%M"
default_time: "09:30"
default_timezone: Europe/Paris
enabled: true
feed_description: "My custom feed description" # MkDocs site_description: will be used if this key is not present
feeds_filenames:
json_created: feed_json_created.json
json_updated: feed_json_updated.json
rss_created: feed_rss_created.xml
rss_updated: feed_rss_updated.xml
feed_title: "My custom feed title" # MkDocs site_name: will be used if this key is not present
feed_ttl: 1440
image: https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Feed-icon.svg/128px-Feed-icon.svg.png
json_feed_enabled: true
length: 20
match_path: ".*"
pretty_print: false
rss_feed_enabled: true
url_parameters:
utm_source: "documentation"
utm_medium: "RSS"
utm_campaign: "feed-syndication"
use_git: true
use_material_blog: true
use_material_social_cards: true
For further information, see the user documentation.
Following initiative from the author of Material for MkDocs, this plugin provides its own JSON schema to validate configuration: source - documentation.
Development
Clone the repository:
# install development dependencies
python -m pip install -U -r requirements/development.txt
# alternatively: pip install -e .[dev]
# install project as editable
python -m pip install -e .
# install git hooks
pre-commit install
Then follow the contribution guidelines.
Run the tests
# install development dependencies
python -m pip install -U -r requirements/testing.txt
# alternatively: pip install -e .[test]
# run tests
pytest
Build the documentation
# install dependencies for documentation
python -m pip install -U -r requirements/documentation.txt
# alternatively: pip install -e .[doc]
# build the documentation
mkdocs build
Release workflow
- Fill the
CHANGELOG.md
- Change the version number in
__about__.py
- Apply a git tag with the relevant version:
git tag -a 0.3.0 {git commit hash} -m "New awesome feature"
- Push tag to main branch:
git push origin 0.3.0
Oct 10, 2025
1.17.4
May 30, 2025
1.17.3
May 23, 2025
1.17.2
Dec 16, 2024
1.17.1
Dec 02, 2024
1.17.0
Oct 24, 2024
1.16.0
Jul 03, 2024
1.15.0
Jun 26, 2024
1.14.0
Jun 24, 2024
1.13.4
Jun 23, 2024
1.13.3
Jun 23, 2024
1.13.2
Jun 15, 2024
1.13.1
Jun 10, 2024
1.13.0
Apr 30, 2024
1.12.2
Feb 14, 2024
1.12.1
Jan 13, 2024
1.12.0
Jan 11, 2024
1.11.1
Dec 19, 2023
1.11.0
Dec 16, 2023
1.10.0
Dec 07, 2023
1.9.0
Jul 24, 2023
1.8.0
May 28, 2023
1.7.0
Feb 21, 2023
1.6.0
Oct 13, 2022
1.5.0
Oct 07, 2022
1.4.1
Oct 07, 2022
1.4.0
Oct 07, 2022
1.3.0
Oct 03, 2022
1.2.0
Apr 27, 2022
1.1.0
Mar 31, 2022
1.0.0
Feb 10, 2022
0.21.0
Feb 08, 2022
0.20.1
Jan 06, 2022
0.20.0
Oct 04, 2021
0.19.1
Oct 02, 2021
0.19.0
Sep 20, 2021
0.18.0
Jun 14, 2021
0.17.0
May 13, 2021
0.16.1
May 13, 2021
0.16.0
Apr 25, 2021
0.15.0
Mar 27, 2021
0.14.0
Feb 22, 2021
0.13.0
Jan 18, 2021
0.12.0
Jan 05, 2021
0.11.0
Dec 26, 2020
0.10.0
Oct 30, 2020
0.9.0
Oct 22, 2020
0.8.0
Oct 20, 2020
0.7.2
Oct 20, 2020
0.7.1
Sep 22, 2020
0.7.0
Sep 07, 2020
0.6.1
Sep 07, 2020
0.6.0
Aug 30, 2020
0.5.0
Jul 28, 2020
0.4.0
Jul 21, 2020
0.3.0
Jul 08, 2020
0.2.0
Jul 08, 2020
0.1.0
Jul 07, 2020
0.0.0