Skip to main content

Sphinx extension for Waterloo Docstrings

Project description

Waterloo Logo

Sphinx-Contrib Waterloo Docstrings

License Version Python Sphinx WTRL GitHub

Project Status

The project is under development, but seems to do what it is supposed to do. feel free to dowload and try out.

About

The sphinxcontrib-waterloo-docstrings package provides the Sphinx rendering layer for Waterloo Docstrings.

Waterloo Docstrings define a structured docstring format with explicit section semantics, normativity rules, and machine-readable output layers. This package connects that format to Sphinx by providing roles, directives, and rendering helpers for documentation projects that want to present Waterloo docstrings as human-readable HTML.

The extension is intentionally theme-friendly. It lets Sphinx themes such as Furo, Alabaster, and Classic provide most of the final layout, while the extension supplies semantic CSS classes for Waterloo roles and generated documentation structures.

What it provides

  • Sphinx roles for Waterloo inline markup.
  • Directives for rendering modules, classes, functions, methods, and context scopes.
  • Static CSS for Waterloo semantic roles.
  • Theme showcase sources for Furo, Alabaster, and Classic.

Related packages

  • sdv-doc-waterloo: core parser, validator, renderer, waterlint, and MCP server.
  • python-waterloo-lexer: Pygments lexer for Python files with Waterloo docstrings.

Documentation showcase

The Sphinx extension documentation is published at:

The Sphinx extension showcase is published under:

Installation

Install the Sphinx extension from PyPI:

pip install sphinxcontrib-waterloo-docstrings

The package depends on sdv-doc-waterloo and provides the Sphinx integration layer for Waterloo Docstrings.

Quick check

After installation, add the extension to a Sphinx conf.py:

extensions = [
    "sphinxcontrib.waterloo_docstrings",
]

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

sphinxcontrib_waterloo_docstrings-0.7.11.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file sphinxcontrib_waterloo_docstrings-0.7.11.tar.gz.

File metadata

File hashes

Hashes for sphinxcontrib_waterloo_docstrings-0.7.11.tar.gz
Algorithm Hash digest
SHA256 9c7519726c5fb3f01ec04302f45925990da51c90c19ebdb878f868dbc8af3f80
MD5 36d3a525a58c0fef774cc5ae382bee57
BLAKE2b-256 b77bc54a26cb865db4f462a16ec095a8ea3270c32d317b70aa66e7642e024c59

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinxcontrib_waterloo_docstrings-0.7.11.tar.gz:

Publisher: publish_pypi.yaml on uwe-at-sdv/sphinxcontrib_waterloo_docstrings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sphinxcontrib_waterloo_docstrings-0.7.11-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinxcontrib_waterloo_docstrings-0.7.11-py3-none-any.whl
Algorithm Hash digest
SHA256 8242072f862b5293b5280fb0472ce0cd8eda543b2878a37bb72e7577f04fe9d9
MD5 0cd46ec30303b9a12cb8894b7d198c18
BLAKE2b-256 da17de05c16e65e8ba690e1b8cae1975625f95d52d1636a7d1a9775fd9501d63

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinxcontrib_waterloo_docstrings-0.7.11-py3-none-any.whl:

Publisher: publish_pypi.yaml on uwe-at-sdv/sphinxcontrib_waterloo_docstrings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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