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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mkdocs_enumerate_and_reference-0.2.0.tar.gz.
File metadata
- Download URL: mkdocs_enumerate_and_reference-0.2.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
161cc1a3819a7c56ade6f198d804f07f4236c5e2ddd85991fd0a05ddf557fe84
|
|
| MD5 |
36dfb46257002cfcb240956b4d3d4dc5
|
|
| BLAKE2b-256 |
cb71fb04ff71fe653e9e347efa6b097dfd7e3a3086d8749c14421aa290eefb48
|
File details
Details for the file mkdocs_enumerate_and_reference-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mkdocs_enumerate_and_reference-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8491638e57d3a3b4f3ad7b815e20ef1583dacf6a2406e7cb6391676a7699d87d
|
|
| MD5 |
fcfea38db63feb75e59862bec883c59b
|
|
| BLAKE2b-256 |
c57888c58e2120c95715be044c6a98c65ab7d1029ca75efe97226ad810db5585
|