Skip to main content

mkdocs-data-plugin

MkDocs Data Plugin is a plugin for MkDocs that allows reading data from markup files and use it in your Markdown pages.

Currently supported formats:

  • JSON: .json
  • YAML: .yml, .yaml

Documentation

This plugin documentation can be found here: https://joapuiib.github.io/mkdocs-data-plugin/

Installation

This plugin can be installed via pip:

pip install mkdocs-data-plugin

Configuration

Activate the plugin in your mkdocs.yml:

plugins:
  - macros
  - data

Overview

When using this plugin, you can define data in YAML or JSON files in a separate directory and reference them in your Markdown files.

root/
├── docs/
│   └── ...
├── data/
│   └── fruits.yml
└── mkdocs.yml
- Apple
- Banana
- Strawberry

Files in this directory can be referenced in your Markdown files using the data variable.

{% for fruit in data.fruits -%}
- {{ fruit }}
{% endfor %}

Metadata

Release files for mkdocs-data-plugin 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mkdocs-data-plugin 0.3.0
File Size Uploaded
mkdocs_data_plugin-0.3.0.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-data-plugin 0.3.0
File Interpreter ABI Platform
mkdocs_data_plugin-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / mkdocs_data_plugin-0.3.0.tar.gz

Download URL mkdocs_data_plugin-0.3.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5845f12064e32ec4a786e4144c22d63669b164a6aa584f94e46da0fe27870020
BLAKE2b-256 checksum
How to use checksums
7ad92e2abd32a45591525c44456ff8eee6d8b3e01bd7bbc58a415ad761d58b91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 25, 2026.

Transparency log

Release files / mkdocs_data_plugin-0.3.0-py3-none-any.whl

Download URL mkdocs_data_plugin-0.3.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76c1f1ab26f73ffd7d3a357640d1559846ef0f71907013488f0059114ec74679
BLAKE2b-256 checksum
How to use checksums
4f68b1ad05672beccb092fd534f40eb5b8835cfc86e4821d4d4bc7558d28642e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page