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.

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.2.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.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mkdocs_towncrier-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 139d1b953ef330ef7f9e2ee60fef72d31aafefdeed076c7909f2fd13faaa8a1b
MD5 a92885605264c7543d374695d9273627
BLAKE2b-256 fe8fcd84d4d27ae97b959084c0fb3321279959b5aabb7994705288052a0d94e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkdocs_towncrier-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a80869a1ba5243df9b8e492d017b725303e5f47c1038523c9c89080d36735626
MD5 8ae21dc6acbe116f5f34ecb4c06f75f3
BLAKE2b-256 b97e5fdf8ae3e2b73b897fc6f937e568e7c4a44bbe398bf6a1aae55f83134bf5

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