Skip to main content

theoworks-sphinx-build

The TheoWorks Sphinx extension that emits theoworks-schema.json and the optional diagram-image and computed-directive-result manifests. It runs inside a sphinx-needs build and generates:

  • theoworks-schema.json — the RESOLVED needs_* metamodel, captured after every extension's setup() has run
  • theoworks-directive-images.json — the needuml/needsequence diagram-image location manifest (only when PlantUML rendered one).
  • theoworks-directive-results.json — the computed needtable/needlist/ needextract/needbar/needpie result manifest (only when a computed directive occurs).

Install

pip install theoworks-sphinx-build

Usage

Add the extension to your project's conf.py (after sphinx_needs) — note the importable module name stays theoworks_sphinx, even though the PyPI distribution is theoworks-sphinx-build (so an existing extensions = [..., "theoworks_sphinx"], including anything TheoWorks has already scaffolded for you, keeps working unchanged):

extensions = ["sphinx_needs", "theoworks_sphinx"]

Then build as usual:

sphinx-build -b html docs public

If the package is not installed, a TheoWorks-scaffolded conf.py degrades gracefully — the build still succeeds and still produces needs.json (the floor); you only lose the richer previews above.

Metadata

Release files for theoworks-sphinx-build 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for theoworks-sphinx-build 0.1.2
File Size Uploaded Provenance Actions
theoworks_sphinx_build-0.1.2.tar.gz 51.5 kB Without provenance Details for theoworks_sphinx_build-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for theoworks-sphinx-build 0.1.2
File Interpreter ABI Platform Actions
theoworks_sphinx_build-0.1.2-py3-none-any.whl Python 3 none any Details for theoworks_sphinx_build-0.1.2-py3-none-any.whl

Total release size: 99.9 kB

Release files / theoworks_sphinx_build-0.1.2.tar.gz

Download URL theoworks_sphinx_build-0.1.2.tar.gz
Size 51.5 kB
Tags Source
SHA-256 checksum
How to use checksums
92c11ae91d43085b72601825a9adc792517ee1a17dc9ad4d7985b78c22d48b3e
BLAKE2b-256 checksum
How to use checksums
6b8997afb56585554451ec2938525c3a63189c9c3268684d09177d6f8e2cc20a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Release files / theoworks_sphinx_build-0.1.2-py3-none-any.whl

Download URL theoworks_sphinx_build-0.1.2-py3-none-any.whl
Size 48.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
851f9d06f0319b3ce6b3d799c621f5b7186ec6921ffd8248e7d3a8f339998b49
BLAKE2b-256 checksum
How to use checksums
2c3356b6b3b0cf3994c55d2331a52bd91d2ac50f0e6782c854955c048c31dd20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Security for theoworks-sphinx-build 0.1.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page