Skip to content

Latest commit

 

History

History
87 lines (64 loc) · 4.57 KB

index.md

File metadata and controls

87 lines (64 loc) · 4.57 KB
title authors date description image tags
The MkDocs RSS Plugin
[email protected] (Julien Moura)
2020-07-06
MkDocs RSS plugin: generate RSS and JSON feeds for your static website using git log ad YAML frontmatter (markdown pages'metadata header).
assets/rss_icon.svg
JSON Feed
Mkdocs
plugin
RSS

PyPi version badge PyPI - Downloads PyPI - Python Version

codecov Code style: black flake8 Imports: isort pre-commit pre-commit.ci status 📚 Documentation

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).

Quickstart

Installation:

> pip install mkdocs-rss-plugin
---> 100%
RSS plugin for Mkdocs installed! Add 'rss' to your 'plugins' section in mkdocs.yml

Then in your mkdocs.yml:

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.

plugins:
  - rss

Example

As examples, here are the feeds generated for this documentation:

Or it could be displayed as a RSS or Feedly follow button:

RSS logo{: width=130 loading=lazy } Feedly button{: width=130 loading=lazy } {: align=middle }

For JSON Feed, you can use the icon:

JSON Feed icon{: width=130 loading=lazy } {: align=middle }

!!! tip See how to make your RSS and JSON discoverable.


Credits

RSS logo{: align=right }

  • Plugin logic is inspired from Tim Vink git-based plugins and main parts of Git stuff are nearly copied/pasted.
  • Using magic mainly from:
  • Documentation colors are a tribute to the classic RSS color scheme: orange and white.
  • Logo generated with DALL·E.