Skip to main content

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",
]

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.8.1.tar.gz (45.5 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.8.1.tar.gz.

File metadata

File hashes

Hashes for sphinxcontrib_waterloo_docstrings-0.8.1.tar.gz
Algorithm Hash digest
SHA256 d0ed84ce4982dd89e45440d1d58a762b714a5f23eea2c5517ba99eef36b6fca1
MD5 206030324f77ee054d613106e48f1ddb
BLAKE2b-256 cd74d5823a86c25ae7d35b0748c41acc03beb71691c426aaeeb527cc745d9ff8

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinxcontrib_waterloo_docstrings-0.8.1.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.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinxcontrib_waterloo_docstrings-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b83ca436bbe4fa0412aac7ffac3c2612076947b788a2275e4ff55eb5e064b50d
MD5 85ac3e7924048698d38c4d2cd9c8e6ef
BLAKE2b-256 7b6c442945901595c7ae2f03e850fa365dd49ed5aed6e21e6b1dd8148be1030e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinxcontrib_waterloo_docstrings-0.8.1-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.

Release history Release notifications | RSS feed

0.8.2

2 files

This release

0.8.1 This release

2 files

0.8.0

2 files

0.7.15

2 files

0.7.14

2 files

0.7.13

2 files

0.7.12

2 files

0.7.11

2 files

0.7.10

2 files

0.7.9

2 files

0.7.8

2 files

0.7.7

2 files

0.7.6

2 files

0.7.5

2 files

0.7.4

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

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