Skip to main content

An insanely small plugin to add towncrier changelog draft into mkdocs

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_towncrier-0.1.3.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_towncrier-0.1.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_towncrier-0.1.3.tar.gz.

File metadata

  • Download URL: mkdocs_towncrier-0.1.3.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for mkdocs_towncrier-0.1.3.tar.gz
Algorithm Hash digest
SHA256 01bdb869fa37b2adad92b2386d94a91b5447b6e71e2b327984ca5bb048894c75
MD5 33eea91fadc8194015061d0e914ba51e
BLAKE2b-256 844f251bfaae0fecb8586d456eaad5dbcc4414745d94bbc7fd55d8461d6733d8

See more details on using hashes here.

File details

Details for the file mkdocs_towncrier-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_towncrier-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 11ea461a10a29d86953fbc64b4ec545e21f800f4e0c4beacf6e8c56ab59d4bde
MD5 341cc0cf926c89e1314f3ac139140543
BLAKE2b-256 698d3a5f7cad6a88a3d27a312432e2c5117b1a11f4bd4ffba89e2113a0f2242c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page