mkdocstrings-vba
A VBA handler for mkdocstrings and Zensical.
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 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mkdocstrings_vba-0.1.0.tar.gz | 52.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mkdocstrings_vba-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 88.5 kB
Release files / mkdocstrings_vba-0.1.0.tar.gz
| Download URL | mkdocstrings_vba-0.1.0.tar.gz |
|---|---|
| Size | 52.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a5aa96eca27f30960a8070a3c93644761900294d6001bc25c6080d165a31243
|
|
BLAKE2b-256 checksum How to use checksums |
badb54f6ef49b557587ee037e64d53395fcd4554352a845d16e0b17e3c060fb9
|
| 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 logRelease files / mkdocstrings_vba-0.1.0-py3-none-any.whl
| Download URL | mkdocstrings_vba-0.1.0-py3-none-any.whl |
|---|---|
| Size | 35.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1ceb1ddfc1a021dcb0b82387d93c36831cc7151956c1d360dc9a5e0e0eef4fb
|
|
BLAKE2b-256 checksum How to use checksums |
ff83288aa35e6fe0c616e5dcb92bc451899242ed8dad1059b84f6cf21557db63
|
| 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