diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2026-06-30 14:29:20 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-08-25 15:22:31 +0900 |
| commit | 60b4bf0d779b0e1d42020239621e16fe86b491ff (patch) | |
| tree | b90317be215f8b518898e0730badf225e01253b8 /gnu/packages | |
| parent | a86a1d13d0e709594605ac7b6be6364d36c316ca (diff) | |
gnu: Add python-sphinx-multitoc-numbering.
* gnu/packages/sphinx.scm (python-sphinx-multitoc-numbering): New variable.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/sphinx.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 40339f35bd2..d9a35a6efd6 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm | |||
| @@ -297,6 +297,32 @@ sources.") | |||
| 297 | (texlive-local-tree | 297 | (texlive-local-tree |
| 298 | (list texlive-anyfontsize texlive-cm-super texlive-tex-gyre)))))) | 298 | (list texlive-anyfontsize texlive-cm-super texlive-tex-gyre)))))) |
| 299 | 299 | ||
| 300 | (define-public python-sphinx-multitoc-numbering | ||
| 301 | (package | ||
| 302 | (name "python-sphinx-multitoc-numbering") | ||
| 303 | (version "0.1.3") | ||
| 304 | (source | ||
| 305 | (origin | ||
| 306 | (method git-fetch) | ||
| 307 | (uri (git-reference | ||
| 308 | (url "https://github.com/executablebooks/sphinx-multitoc-numbering") | ||
| 309 | (commit (string-append "v" version)))) | ||
| 310 | (file-name (git-file-name name version)) | ||
| 311 | (sha256 | ||
| 312 | (base32 | ||
| 313 | "1vpdc19jl0y2lxhpgq4d42wvmd3by6sga6zybfxm09dm557wq0p6")))) | ||
| 314 | (build-system pyproject-build-system) | ||
| 315 | ;; The tests currently rely on an obsolete sphinx.testing version (see: | ||
| 316 | ;; <https://github.com/executablebooks/sphinx-multitoc-numbering/issues/28>). | ||
| 317 | (arguments (list #:tests? #f)) | ||
| 318 | (native-inputs (list python-pytest python-setuptools)) | ||
| 319 | (propagated-inputs (list python-sphinx)) | ||
| 320 | (home-page "https://sphinx-multitoc-numbering.readthedocs.io/en/latest") | ||
| 321 | (synopsis "Sphinx extension for continuous HTML section numbering") | ||
| 322 | (description "This package provides a Sphinx extension adding support for | ||
| 323 | continuous HTML section numbering.") | ||
| 324 | (license license:expat))) | ||
| 325 | |||
| 300 | (define-public python-sphinx-tags | 326 | (define-public python-sphinx-tags |
| 301 | (package | 327 | (package |
| 302 | (name "python-sphinx-tags") | 328 | (name "python-sphinx-tags") |
