Skip to main content

mkdocstrings-vba

A VBA handler for mkdocstrings and Zensical.

Documentation · Live showcase

Quickstart

The development version supports Zensical. PyPI 0.0.10 does not include these changes; install this source revision with Python 3.11 or newer and Git:

python -m pip install "zensical==0.0.70" "mkdocstrings==1.0.7" "mkdocstrings-vba @ git+https://github.com/mkdocstrings/vba.git@2dfdf0fa1d0e55eac8b3a97abc0a21fe1bac5696"

In mkdocs.yml:

site_name: My VBA library
theme:
  name: material
plugins:
  - autorefs
  - mkdocstrings:
      handlers:
        vba: {}

In docs/index.md:

# My VBA library

::: src/example.bas
    handler: vba

Export your VBA module to src/example.bas and place Google-style documentation comments directly after each procedure signature. Source paths are relative to mkdocs.yml; Latin-1 is the default encoding.

Run zensical serve to preview or zensical build to generate the site.

See Getting started for a complete example and MkDocs Material installation, or Usage for configuration, compatibility, and parser limits. More examples are in examples/.

Running tests

Use Python 3.12 or newer for development.

python -m pip install --upgrade pip
python -m pip install --group dev -e .
python -m unittest

This will run all tests. This includes

  • Unit tests from test/.
  • Doctests from mkdocstrings_handlers/vba/.
  • Full builds from examples/.

Linting

Fix code style using black:

python -m black .

Check types using mypy:

python -m mypy

Building distributions

python -m build
python -m twine check --strict dist/*

Metadata

Release files for mkdocstrings-vba 1.0.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 mkdocstrings-vba 1.0.0
File Size Uploaded
mkdocstrings_vba-1.0.0.tar.gz 53.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mkdocstrings-vba 1.0.0
File Interpreter ABI Platform
mkdocstrings_vba-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 89.7 kB

Release files / mkdocstrings_vba-1.0.0.tar.gz

Download URL mkdocstrings_vba-1.0.0.tar.gz
Size 53.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4035cb919915548fa8e0a4e87c71ba67b99f2fd4f0e8c63026185b740c3a2e51
BLAKE2b-256 checksum
How to use checksums
639a32c35ff8a9bbc7e3be5e8123d1354aef23dd2eaf248f4dc1a362b17fd7ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 13, 2026.

Transparency log

Release files / mkdocstrings_vba-1.0.0-py3-none-any.whl

Download URL mkdocstrings_vba-1.0.0-py3-none-any.whl
Size 35.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
710109a2707e86030f5944dfb118772eb5a65d4ea9a1bb1ae15bb73afc3c7941
BLAKE2b-256 checksum
How to use checksums
3ec74f4b9930764e906cd829b3b63eff6a1f2e0f39ca2bc9231d7f9f43679546
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.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