Skip to content

An insanely small plugin to add towncrier changelog draft into mkdocs

License

Notifications You must be signed in to change notification settings

davfsa/mkdocs-towncrier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mkdocs-towncrier

An insanely small plugin to add towncrier changelog draft into mkdocs

Supported python versions PyPI version
Pyright badge Ruff badge

Installation

You can install the package from PyPI using:

pip install -U mkdocs-towncier

and then enabling it in your mkdocs.yml file:

plugins:
  - towncrier

Usage

Using mkdocs-towncrier is as easy as adding a directive to wherever you want the draft changelog to be added:

# Changelog

<!--- You can even specify the header value! (defaults to "Unreleased") -->
:: towncrier-draft Unreleased changes

--8<-- "CHANGELOG.md"

And that's it! Any draft fragment files will be picked up and automatically added to your pages.

Acknowledgements

This project is heavily inspired in the wonderful sphinx-contrib/sphinxcontrib-towncrier!

About

An insanely small plugin to add towncrier changelog draft into mkdocs

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages