Skip to main content

Add badges to your mkdocs page

Project description

mkdocs-badges

PyPI version License Python versions

This package allows you to add badges to your mkdocs site.

Documentation

This README is just a short intro to the package. For a quick start and detailed information please see the documentation. The documentation is also available in the docs folder of the source code and can be built localy with MkDocs.

Testing

The documentation also serves as a test of the plugin. A hidden test page is available at /test.

Build the documentation with the latest source code:

pip install . && mkdocs serve -t <theme>

Themes that sould work are mkdocs, readthedocs, and material.

Unit tests

The github repository now contains some unit test. You can run them against the current code with the following command (issued in the root directory of the repository):

pip install . && python -m unittest

Notable changes

Version 0.3.3

  • Added tags badges

Version 0.3.1

  • Better error handling, fixed a crash
  • Started adding unit tests

Version 0.3.0

  • Breaking changes to the badges formats. See the migration guide
  • Added support for reference links

Version 0.2.0

  • Each badge now needs to be the only thing on its line
  • Badges inside code blocks are no longer parsed
  • The |end at the end of custom badges is no longer neccessary. A simple | is enough. This shorter form is recommended from now on.
  • Documentation is now in the docs folder in the form of a mkdocs website
  • Added link badges

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-badges-0.3.3.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

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

mkdocs_badges-0.3.3-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs-badges-0.3.3.tar.gz.

File metadata

  • Download URL: mkdocs-badges-0.3.3.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for mkdocs-badges-0.3.3.tar.gz
Algorithm Hash digest
SHA256 d2ca5a38a20a94f4134f650c982e9ab8e30989c758da74655b1110993c4d7d95
MD5 a57cc4c325e867aa77ace143e78f2c18
BLAKE2b-256 277b4befb3cda7030674f5610fdd9fdd894e1218f36628a9255d8c73f362dc03

See more details on using hashes here.

File details

Details for the file mkdocs_badges-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: mkdocs_badges-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for mkdocs_badges-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ee2ba4ee79a7db2fa275c1c641133807a3b9819d881f6ddb90edc54e14b2d069
MD5 97dcdf8c4ff0b05fbb74a2cc7b0da2a7
BLAKE2b-256 6e32a3d4db733ee7d3137d0dfa76cd7794e7c6b67d9ba2dcba5b5506f44b8fc3

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