API Reference Generator for Buildstream Projects
Project description
bst-docs
This is a API reference generator in the vein of projects like pydoc or doxygen. The goal is to generate markdown documents which describe elements within a Buildstream Project, ideally for inclusion within hosted documentation.
Usage
To build a documentation folder for a given repo:
uv run bst-docs build $REPO_PATH
Or to build a documentation folder for a network repo (clones using your .netrc):
uv run bst-docs build $REPO_URL
These commands will produce a folder full of markdown files which can then be imported into the documentation portal of your choosing.
An example zensical.toml has been provided to view the results in ./output, to use:
uv run zensical serve
Configuration Options
Usage: bst-docs build [OPTIONS] [PATH]
Generate documentation for a BuildStream project.
Options:
--depth INTEGER Depth of network crawling to perform
--output TEXT Destination folder for markdown files
--clean BOOLEAN Remove all files from cache & output directories
--load-includes BOOLEAN Load content from file includes
--html-elements BOOLEAN If true, html elements will be embedded in
markdown files otherwise pure Commonmark markdown
will be used
--html-links BOOLEAN If true, markdown link extensions will be
converted to .html and html elements will be
enabled
--all-html-fixes BOOLEAN If true, all html level fixes will be applied This
is designed for when html rendering will be done
after the fact
--help Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bst_docs-0.0.7.tar.gz.
File metadata
- Download URL: bst_docs-0.0.7.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e60032b1de764091a176d0a76f2834614455c53f92423ab5b3a32db0a3ea7db4
|
|
| MD5 |
e048ca1184f3e3e3c3691d7deae0710c
|
|
| BLAKE2b-256 |
9d0685ceb3386ff309533ae13a6f45ef1590b3aee3a73e8ca757b26a6e9b456f
|
File details
Details for the file bst_docs-0.0.7-py3-none-any.whl.
File metadata
- Download URL: bst_docs-0.0.7-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7912cbd87f05ac4755a893e93799bd0d1db917c8b6e3eec5e3c9cce4b762563
|
|
| MD5 |
2e0adabcc5aa97a182ba9bbdb70c8d6f
|
|
| BLAKE2b-256 |
aa844c1c4408518a022d3414558fe435ce73ca154536f7f6e83d8f8a89495398
|