mkdocs-rss-plugin is an MkDocs plugin that generates RSS and JSON feeds for your documentation site. It leverages your MkDocs site configuration, Git log for commit metadata, and page frontmatter to create rich feed entries. Currently at version 1.18.1, it receives frequent minor updates to improve features, fix bugs, and enhance compatibility with other MkDocs plugins like Material for MkDocs blog.
pip install mkdocs-rss-pluginNo compatibility data collected yet for this library.
To enable the mkdocs-rss-plugin, you need to add it to the `plugins` section of your `mkdocs.yml` configuration file. This example sets up basic RSS and JSON feeds, and configures the plugin to include full page descriptions and filter items from a 'blog' category based on page paths.
Ensure `site_url: https://your-domain.com/` (replace with your actual site URL) is present at the top level of your `mkdocs.yml`.
Ensure `git` is installed and in your system's PATH. When building in CI/CD, avoid shallow clones or ensure your build job performs a full clone if Git-based features are critical.
Upgrade your Python environment to version 3.10 or newer to ensure full compatibility and receive the latest updates.
Keep `mkdocs-rss-plugin` updated to its latest version to benefit from compatibility improvements. Review your Material for MkDocs blog configuration, especially `dir_urls` and social card settings.
Run `pip install mkdocs-rss-plugin` in your project's virtual environment. Then, ensure `plugins: - rss` is correctly added to your `mkdocs.yml`.
Add `site_url: https://your-domain.com/` (replacing with your actual site's base URL) at the top level of your `mkdocs.yml` file.
Ensure Git is installed on your system and available in the environment's PATH. If using a containerized environment, add Git to the container image.
Ensure all integrated plugins (like `material/blog`) are correctly enabled and configured in your `mkdocs.yml`. Update `mkdocs-rss-plugin` to its latest version, as many such integration bugs have been fixed in recent releases.