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
--html-elements BOOLEAN If true, html elements will be embedded in markdown
files otherwise pure Commonmark markdown will be
used
--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.4.tar.gz.
File metadata
- Download URL: bst_docs-0.0.4.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96a6fc566942f6ba6687217ea91b362c3591e9b55209ff82a847480bb0739b5e
|
|
| MD5 |
8abc4a6c6cab2bc0b2076ee2f9346726
|
|
| BLAKE2b-256 |
406563e7936580ec23b84fe65d4e3fbbcdd7ac9585dc2eee7d712efad3f56599
|
File details
Details for the file bst_docs-0.0.4-py3-none-any.whl.
File metadata
- Download URL: bst_docs-0.0.4-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82bd71a7555c929d5c59f0916f55d3ad35c5ae538ec3a8abc69dc9c9f829106b
|
|
| MD5 |
ceb527a62e61c4df2f263b9e1fe98e01
|
|
| BLAKE2b-256 |
e0d07297365aea4dd56b0375300af11af3dae3e7b3e63dbf903708011e4861dd
|