sphinx-autodoc-bmotif
Generate documentation for BuildingMOTIF templates, compatible with Jupyter Book v2 / mystmd.
Installation
uv add sphinx-autodoc-bmotif
Usage
Option 1: CLI (multi-page, pre-build)
Generate .md and .svg files for each template, then include them in your myst.yml table of contents:
sphinx-autodoc-bmotif generate <template-library-dir> <output-dir>
# or
python -m sphinx_autodoc_bmotif generate <template-library-dir> <output-dir>
Then build with myst build or jb build ..
Option 2: MyST executable plugin (single-page, inline)
Add the plugin to your myst.yml:
project:
plugins:
- type: executable
path: path/to/myst_plugin.py
Or if installed as a package:
project:
plugins:
- type: executable
path: sphinx-autodoc-bmotif-plugin
Then use the directive in your .md files:
```{autotemplatedoc} path/to/template-library
```
Required Sphinx extensions (for the inline plugin)
None — this plugin uses the mystmd plugin protocol directly. Tabs, code blocks, and links are rendered natively by mystmd.
Build docs
# Pre-generate template docs
uv run sphinx-autodoc-bmotif generate templates docs/libraries
# Build with mystmd
cd docs && myst build
Metadata
Release files for sphinx-autodoc-bmotif 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sphinx_autodoc_bmotif-0.2.1.tar.gz | 84.2 kB | Without provenance | Details for sphinx_autodoc_bmotif-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sphinx_autodoc_bmotif-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for sphinx_autodoc_bmotif-0.2.1-py3-none-any.whl |
Total release size: 92.0 kB
Release files / sphinx_autodoc_bmotif-0.2.1.tar.gz
| Download URL | sphinx_autodoc_bmotif-0.2.1.tar.gz |
|---|---|
| Size | 84.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23c92d9d3732a86961bf3313fd0c3ff1ad53714ffbb2e0c56af40f2049fa1b8c
|
|
BLAKE2b-256 checksum How to use checksums |
8661481057aaeb850493610539419b523201f939455801a60b4a17ba2d094d9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / sphinx_autodoc_bmotif-0.2.1-py3-none-any.whl
| Download URL | sphinx_autodoc_bmotif-0.2.1-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c29bb9266571127e99c8f95e000653e33090a5e8a62e561919305c985b3d309
|
|
BLAKE2b-256 checksum How to use checksums |
243d2d3ee531dee56a43384c6164ef5401b21e48994d7052d5f959031df4886d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for sphinx-autodoc-bmotif 0.2.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.