Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bst_docs-0.0.3.post1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bst_docs-0.0.3.post1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file bst_docs-0.0.3.post1.tar.gz.

File metadata

  • Download URL: bst_docs-0.0.3.post1.tar.gz
  • Upload date:
  • Size: 7.7 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

Hashes for bst_docs-0.0.3.post1.tar.gz
Algorithm Hash digest
SHA256 478eccd073a44f0d07c622a8a8808daa6572347ba0b4ed1f49dfe7138ad32e24
MD5 a2913f6ab159d6d7852d2db529e0d901
BLAKE2b-256 52ac4957410d83a21cb8b7934734018110b3d4603b6b0cdc5687bb57372941ff

See more details on using hashes here.

File details

Details for the file bst_docs-0.0.3.post1-py3-none-any.whl.

File metadata

  • Download URL: bst_docs-0.0.3.post1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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

Hashes for bst_docs-0.0.3.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 1d31d40b9fc761c24b8a7769f95c640fee80d3a2568b809e405a6db6347ff569
MD5 0aed9d4dff4d30d2ccb38f92b2a5c6cf
BLAKE2b-256 af16ec46c9e9944a1b050e2d194c12293963034084495c021cef44be72e1d37f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page