sphinx_packaging.toml

Sphinx extension which adds the toml role for referencing sections of the TOML specification.

Classes:

TOML()

Sphinx role for referencing a section of the TOML specification.

Functions:

class TOML[source]

Bases: ReferenceRole

Sphinx role for referencing a section of the TOML specification.

Methods:

build_uri()

Constrict the target URI for the reference node.

run()

Process the role.

build_uri()[source]

Constrict the target URI for the reference node.

Return type

str

run()[source]

Process the role.

Return type

Tuple[List[Node], List[system_message]]

setup(app)[source]

Setup sphinx_packaging.toml.

Parameters

app (Sphinx) – The Sphinx application.

Return type

Dict[str, Any]