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.0.tar.gz (4.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: mkdocs-vwmetahelper-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 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.0.tar.gz
Algorithm Hash digest
SHA256 e8de61f6141b11bbddb2c296bbedda04c879bdc44ca6074fc8a6b4c3912372fb
MD5 7ccb03ac8af3f29814a4a93c6661e4ae
BLAKE2b-256 40615fb99af861c898dd56a8c502ca8d969389b84e17db7a7293b8c2491534c5

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