Mkdocs plugin for numbering and referencing
Project description
Mkdocs Plugin for Enhanced Referencing and Enumeration
An Mkdocs plugin for referencing within documentation, section numbering, and page heading numbering.
Features
- Referencing: This is the main feature of the plugin. Using a tag system, it allows referencing specific points on pages without having to specify the page path.
- Navigation numbering: navigation sections are automatically numbered
- Admonition numbering: numbering of (selected) admonitions accross documentation
How it works
The plugin search for references in the complete documentation to create the links to the appropriate tags then transforms the tag ID with corresponding link.
- Sections enumeration does not work on first level sections
- May be there's an issue if a page is used in multiple places
- In navigation there need to be a section title, if only page provided : - page.md instead of : - subsection: page.md it will not work
Installation
pip install mkdocs-enumerate-and-reference
Enable the pluggin
plugins:
- enumerate-and-reference
Example
plugins:
- enumerate-and-reference:
enumerate:
enabled: true
cumulative: true
number_headings:
enabled: true
activated: true
lowest_level: 2
Parameters
The plugin is composed of two parts that can be either be used or not seprately: the enumerate
and the number_headings
part.
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
Built Distribution
File details
Details for the file mkdocs_enumerate_and_reference-0.1.1.tar.gz
.
File metadata
- Download URL: mkdocs_enumerate_and_reference-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bb6eaaa2307a655be3d57124147e9ddfe6a64b77b0275d9d045404747cc244c |
|
MD5 | 1fa4cdb78e36e59d1b91b942a9c3f632 |
|
BLAKE2b-256 | 4edaa6bf7b7496a3fcad9b540c49c39e86449db5260e18dd39e0c840ef190274 |
File details
Details for the file mkdocs_enumerate_and_reference-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: mkdocs_enumerate_and_reference-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a54d4870fa84829f6a73a139f391f7a80ba5a8411a0785ca0c77da4882cd44c0 |
|
MD5 | 62668dead023f6040593a2cf839d43a2 |
|
BLAKE2b-256 | 9bed493d900000d83494d59509f699634f42a488ff0b1b59ce146e46199e601a |