diff options
| author | Yan Abu Arab <yanabuarab@gmail.com> | 2026-02-21 19:10:16 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-23 23:16:34 +0000 |
| commit | c5bf001c2fda8104501d37affe40dec9c31a52a4 (patch) | |
| tree | 1549b9f9389e93979de346b3fe56a9a5dc8d89a5 /gnu/packages/sphinx.scm | |
| parent | 375e6157dbf09c0d5fea405e7000f7d753c79a1d (diff) | |
gnu: Add python-sphinx-toml.
* gnu/packages/sphinx.scm (python-sphinx-toml): New variable.
Change-Id: Ia610e34b2fc1bea09bead7628fc01c184f69581e
Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Reviewed-by: Andreas Enge <andreas@enge.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/sphinx.scm')
| -rw-r--r-- | gnu/packages/sphinx.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 6ce02ed637b..a42ece625a1 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -326,6 +326,38 @@ sources.") create tags for documentation pages.") (license license:expat))) +(define-public python-sphinx-toml + (let ((commit "095a4d193a7fd046317b9f15074a5f70d6b1fd38") + (revision "0")) + (package + (name "python-sphinx-toml") + ;; version number from untagged commit + ;; 1dc4121cbec4247ae931165c2b22727705cf0caa + (version (git-version "0.0.4" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/Carreau/sphinx_toml") + (commit commit))) + (sha256 + (base32 "0f5vm8m8gbjl963mgw4r3yq5k9npyiyp80c785f73sh8z9zhq485")))) + (build-system pyproject-build-system) + (native-inputs + (list python-flit-core)) + (propagated-inputs + (list python-intersphinx-registry + python-pydantic + python-tomli)) + (home-page "https://github.com/Carreau/sphinx_toml") + (synopsis "Load data from a sphinx.toml file next to a conf.py file") + (description + "This package implements a functionality of partially load Sphinx +configuration from @code{sphinx.toml} situated in the same dir as +@code{conf.py}.") + (license license:expat)))) + (define-public python-sphinxcontrib-apidoc (package (name "python-sphinxcontrib-apidoc") |
