Skip to main content

mkdocstrings-vba

A VBA handler for mkdocstrings.

Since there is no official way of documenting VBA functions, we have opted for the Google Docstring format commonly used in Python projects. This is conveniently parsed by the griffe library which is also used by mkdocstrings[python]. The argument types and return types are taken from the VBA Function or Sub signatures, which we parse using regex.

Examples

See the examples folder.

To build an example site:

  1. pip install mkdocstrings mkdocstrings-vba
  2. cd examples/example1
  3. View the source code.
  4. mkdocs build
  5. cd site/
  6. View the results.

Running tests

pip install -r test-requirements.txt
python -m unittest

This will run all tests. This includes

  • Unit tests from tests/.
  • Doctests from mkdocstrings_vba/.
  • Full builds from examples/.

Linting

Fix code style using black:

black .

Check types using mypy:

mypy .

Release files for mkdocstrings-vba 0.0.10

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 0.0.10
File Size Uploaded
mkdocstrings_vba-0.0.10.tar.gz 20.7 kB Details

Built distribution (wheel)

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

Total release size: 51.1 kB

Release files / mkdocstrings_vba-0.0.10.tar.gz

Download URL mkdocstrings_vba-0.0.10.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1cf6fa5d1c7a33d3fbca6ced1beedcc9202d98954b342d5b5562ac1515fbe720
BLAKE2b-256 checksum
How to use checksums
30efdc49d53dfb927df60af2fa6d56480c008cc07f005368d2f526ffa465f352
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

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

Download URL mkdocstrings_vba-0.0.10-py3-none-any.whl
Size 30.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab0d79815015f23e01a73c6bba3e7e310f294c3fe72abea831a612bd7de3dca4
BLAKE2b-256 checksum
How to use checksums
947b91d11a5e7317fd0ac1192a5f87d11731927b2d5dda7e362672dbd6b9adcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.0.10 This release

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