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
  --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


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.6.tar.gz (9.1 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.6-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file bst_docs-0.0.6.tar.gz.

File metadata

  • Download URL: bst_docs-0.0.6.tar.gz
  • Upload date:
  • Size: 9.1 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

Hashes for bst_docs-0.0.6.tar.gz
Algorithm Hash digest
SHA256 f99b5b32da22e2294655c1afbed107e6f0e9694f76f01a8dc8992901a8a2a07c
MD5 e505169d3bf581e1a4fb876e7a2d5a57
BLAKE2b-256 4b26d1059dda014b7d4a99b23ed6df2e41bba5180cc810446d70025d3116988f

See more details on using hashes here.

File details

Details for the file bst_docs-0.0.6-py3-none-any.whl.

File metadata

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

Hashes for bst_docs-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0519d71054a3bdcd3863f70b0b36ed073405c1ef1d9a5a9d8ce2625e8a59aa44
MD5 ef5e9ad723402569bfdb63421ba9b012
BLAKE2b-256 0b3eccdab2be5ff2e8b2870f9464d81e1f673645e091685b13c1bff07b7aac02

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