summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorYan Abu Arab <yanabuarab@gmail.com>2026-02-21 19:10:16 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-02-23 23:16:34 +0000
commitc5bf001c2fda8104501d37affe40dec9c31a52a4 (patch)
tree1549b9f9389e93979de346b3fe56a9a5dc8d89a5 /gnu
parent375e6157dbf09c0d5fea405e7000f7d753c79a1d (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')
-rw-r--r--gnu/packages/sphinx.scm32
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.")
326create tags for documentation pages.") 326create tags for documentation pages.")
327 (license license:expat))) 327 (license license:expat)))
328 328
329(define-public python-sphinx-toml
330 (let ((commit "095a4d193a7fd046317b9f15074a5f70d6b1fd38")
331 (revision "0"))
332 (package
333 (name "python-sphinx-toml")
334 ;; version number from untagged commit
335 ;; 1dc4121cbec4247ae931165c2b22727705cf0caa
336 (version (git-version "0.0.4" revision commit))
337 (source
338 (origin
339 (method git-fetch)
340 (uri
341 (git-reference
342 (url "https://github.com/Carreau/sphinx_toml")
343 (commit commit)))
344 (sha256
345 (base32 "0f5vm8m8gbjl963mgw4r3yq5k9npyiyp80c785f73sh8z9zhq485"))))
346 (build-system pyproject-build-system)
347 (native-inputs
348 (list python-flit-core))
349 (propagated-inputs
350 (list python-intersphinx-registry
351 python-pydantic
352 python-tomli))
353 (home-page "https://github.com/Carreau/sphinx_toml")
354 (synopsis "Load data from a sphinx.toml file next to a conf.py file")
355 (description
356 "This package implements a functionality of partially load Sphinx
357configuration from @code{sphinx.toml} situated in the same dir as
358@code{conf.py}.")
359 (license license:expat))))
360
329(define-public python-sphinxcontrib-apidoc 361(define-public python-sphinxcontrib-apidoc
330 (package 362 (package
331 (name "python-sphinxcontrib-apidoc") 363 (name "python-sphinxcontrib-apidoc")