Skip to main content

MkDocs plugin providing get_meta() and call_macro() with lazy front-matter indexing.

Project description

mkdocs-vwmetahelper (classic setup.py)

A tiny MkDocs plugin that exposes:

  • get_meta(id) — fetch another page's front matter (and computed URL) by id
  • call_macro(file, name, **kwargs) — call a macro defined in a *.j2 include file

Build & publish

python -m pip install --upgrade build twine wheel setuptools
python setup.py sdist bdist_wheel
twine upload dist/*

Usage

plugins:
  - search
  - vwmetahelper:
      include_dir: docs/_includes

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-vwmetahelper-0.1.1.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file mkdocs-vwmetahelper-0.1.1.tar.gz.

File metadata

  • Download URL: mkdocs-vwmetahelper-0.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.32.5 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for mkdocs-vwmetahelper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5f219c12af9dd8d2a7febf72eb813be1116cf0a17bf14a7261acbb72f3fe6b4f
MD5 4b37f0bb843448696740ff7b17f94be1
BLAKE2b-256 d6dd87617ed049f05c42463995eb3c32b5ec87239af1d51781b8e8a87ce13ea5

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