diff options
| author | Wiktor Żelazny <wz@freeshell.de> | 2023-07-09 16:21:39 +0200 |
|---|---|---|
| committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2025-02-22 15:51:45 +0100 |
| commit | 0d4ded941ec9ec4443e98d498416e5ae70069fcd (patch) | |
| tree | 632b102b0a3d5a2b8f2916342763ccc51087889b /gnu | |
| parent | a17961a4dcf5339391df15cba137d9849eae4618 (diff) | |
gnu: Add python-sphinx-autoapi.
* gnu/packages/sphinx.scm (python-sphinx-autoapi): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: Iac37c9b67927b147969db0707679c0916c52efc1
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/sphinx.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 13a1701e0aa..01c154d35ef 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm | |||
| @@ -1488,3 +1488,31 @@ Sphinx documentation.") | |||
| 1488 | "This package provides a Bootstrap-based Sphinx theme from the PyData | 1488 | "This package provides a Bootstrap-based Sphinx theme from the PyData |
| 1489 | community.") | 1489 | community.") |
| 1490 | (license license:bsd-3))) | 1490 | (license license:bsd-3))) |
| 1491 | |||
| 1492 | (define-public python-sphinx-autoapi | ||
| 1493 | (package | ||
| 1494 | (name "python-sphinx-autoapi") | ||
| 1495 | (version "2.0.1") ;higher versions require Sphinx >= 5.2.0 | ||
| 1496 | (source (origin | ||
| 1497 | (method url-fetch) | ||
| 1498 | (uri (pypi-uri "sphinx-autoapi" version)) | ||
| 1499 | (sha256 | ||
| 1500 | (base32 | ||
| 1501 | "1fmss6ihjjx22nmjzy7qiapj1f2b86gd1vycn3zg8lh8q9l7kx6d")))) | ||
| 1502 | (build-system pyproject-build-system) | ||
| 1503 | (native-inputs (list python-setuptools python-sphinx python-wheel)) | ||
| 1504 | (propagated-inputs | ||
| 1505 | (list python-astroid | ||
| 1506 | python-jinja2 | ||
| 1507 | python-pyyaml | ||
| 1508 | python-sphinx | ||
| 1509 | python-unidecode)) | ||
| 1510 | (home-page "https://github.com/readthedocs/sphinx-autoapi") | ||
| 1511 | (synopsis "Sphinx API documentation generator") | ||
| 1512 | (description | ||
| 1513 | "Sphinx AutoAPI is a Sphinx extension for generating complete | ||
| 1514 | API documentation without needing to load, run, or import the project being | ||
| 1515 | documented. In contrast to the traditional Sphinx @code{autodoc}, which | ||
| 1516 | requires manual authoring and uses code imports, AutoAPI finds and generates | ||
| 1517 | documentation by parsing source code.") | ||
| 1518 | (license license:expat))) | ||
