Sphinx extension for Waterloo Docstrings
Project description
Sphinx-Contrib Waterloo Docstrings
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:
- https://uwe-at-sdv.github.io/sphinxcontrib_waterloo_docstrings/showcase/furo/
- https://uwe-at-sdv.github.io/sphinxcontrib_waterloo_docstrings/showcase/alabaster/
- https://uwe-at-sdv.github.io/sphinxcontrib_waterloo_docstrings/showcase/classic/
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinxcontrib_waterloo_docstrings-0.7.13.tar.gz.
File metadata
- Download URL: sphinxcontrib_waterloo_docstrings-0.7.13.tar.gz
- Upload date:
- Size: 42.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
659dacab4970c9f93ddf6cfe4eac23fa1572bc1b6b0cefe9734ee51328d8da88
|
|
| MD5 |
33297db378c218762260e7e7e8f55766
|
|
| BLAKE2b-256 |
72ba61335e39d9d67d33e50adde94b97d849d20cbb0fb0852301208a780ef8f4
|
Provenance
The following attestation bundles were made for sphinxcontrib_waterloo_docstrings-0.7.13.tar.gz:
Publisher:
publish_pypi.yaml on uwe-at-sdv/sphinxcontrib_waterloo_docstrings
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinxcontrib_waterloo_docstrings-0.7.13.tar.gz -
Subject digest:
659dacab4970c9f93ddf6cfe4eac23fa1572bc1b6b0cefe9734ee51328d8da88 - Sigstore transparency entry: 2226069801
- Sigstore integration time:
-
Permalink:
uwe-at-sdv/sphinxcontrib_waterloo_docstrings@eb55eedc776f57072aa2c4fd2527002e2a57ef92 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/uwe-at-sdv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yaml@eb55eedc776f57072aa2c4fd2527002e2a57ef92 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sphinxcontrib_waterloo_docstrings-0.7.13-py3-none-any.whl.
File metadata
- Download URL: sphinxcontrib_waterloo_docstrings-0.7.13-py3-none-any.whl
- Upload date:
- Size: 48.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1df786c45d4c59d66d8ca90a766ab77bd6fc9d2ea529db2ca4107bdc54f1869
|
|
| MD5 |
f57632ec4e5b2ef266cd54568c10fb05
|
|
| BLAKE2b-256 |
9a29bc11ee3bfe4582aaa840f2d8de5762cde04098fd292af8d9576bed02f2d7
|
Provenance
The following attestation bundles were made for sphinxcontrib_waterloo_docstrings-0.7.13-py3-none-any.whl:
Publisher:
publish_pypi.yaml on uwe-at-sdv/sphinxcontrib_waterloo_docstrings
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinxcontrib_waterloo_docstrings-0.7.13-py3-none-any.whl -
Subject digest:
f1df786c45d4c59d66d8ca90a766ab77bd6fc9d2ea529db2ca4107bdc54f1869 - Sigstore transparency entry: 2226070417
- Sigstore integration time:
-
Permalink:
uwe-at-sdv/sphinxcontrib_waterloo_docstrings@eb55eedc776f57072aa2c4fd2527002e2a57ef92 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/uwe-at-sdv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yaml@eb55eedc776f57072aa2c4fd2527002e2a57ef92 -
Trigger Event:
push
-
Statement type: