Skip to main content

Cylc Sphinx Extensions

A library of Sphinx extensions for documenting Cylc projects.

Installation

Install all extensions (but not dependencies):

$ pip install cylc-sphinx-extensions

OR all extensions + dependencies for specified extension(s) by name:

$ pip install cylc-sphinx-extensions.git[cylc_lang]

OR all extensions + dependencies for all extensions:

$ pip install cylc-sphinx-extensions.git[all]

Note the minicylc extension requires graphviz:

# install graphviz from your package manager e.g:
$ sudo apt-get install -y graphviz

Usage

To use an extension register it in your project’s conf.py e.g:

extension = [
    'cylc.sphinx_ext.cylc_lang'
]

Some of these extensions are “auto-loading” and do not require any extra steps to activate.

If the html_static_path configuration is set in your conf.py you will need to move this into a setup function, otherwise extensions cannot append to this path to add their own static resources e.g:

def setup(app):
    app.config.html_static_path.append('_static')

Development

Fork and clone https://github.com/cylc/cylc-sphinx-extensions.git.

Extensions are auto-documented from their module docstrings.

Build documentation by running:

$ make clean <format>  # e.g. make html slides

This documentation build serves as a simple test battery (warnings will cause it to fail), for everything else there’s pytest:

$ pytest

For code linting:

$ pycodestyle .  # python
$ eslint cylc/   # javascript

Metadata

Release files for cylc-sphinx-extensions 1.4.4

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

Source distribution (sdist)

Source distribution for cylc-sphinx-extensions 1.4.4
File Size Uploaded Provenance Actions
cylc_sphinx_extensions-1.4.4.tar.gz 33.7 kB Without provenance Details for cylc_sphinx_extensions-1.4.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cylc-sphinx-extensions 1.4.4
File Interpreter ABI Platform Actions
cylc_sphinx_extensions-1.4.4-py3-none-any.whl Python 3 none any Details for cylc_sphinx_extensions-1.4.4-py3-none-any.whl

Total release size: 80.6 kB

Release files / cylc_sphinx_extensions-1.4.4.tar.gz

Download URL cylc_sphinx_extensions-1.4.4.tar.gz
Size 33.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a61ade2364c22dd43ccdb29ef93021468e7ed1ad5a2c762f99e699c82c67d5d7
BLAKE2b-256 checksum
How to use checksums
8eb2d562086545ce5e78d2c0877dda0ba8befe3ad78ac864614e9d00bb1aaf97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / cylc_sphinx_extensions-1.4.4-py3-none-any.whl

Download URL cylc_sphinx_extensions-1.4.4-py3-none-any.whl
Size 47.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7da5dce4924295331eb6258df7c59267ab21f461837f53363a0fce25666f17b1
BLAKE2b-256 checksum
How to use checksums
5ed46d30d81dd80c1ac3ad01b48c8a9a5632dea6dded8526f34410c3fff1169b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for cylc-sphinx-extensions 1.4.4

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