GNU bug report logs - #64541
[PATCH 0/2] Add python-sphinx-autoapi

Previous Next

Package: guix-patches;

Reported by: Wiktor Żelazny <wz <at> freeshell.de>

Date: Sun, 9 Jul 2023 14:21:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 64541 <at> debbugs.gnu.org (full text, mbox):

From: Wiktor Żelazny <wz <at> freeshell.de>
To: 64541 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: Add python-sphinx-autoapi.
Date: Sun,  9 Jul 2023 16:21:39 +0200
* gnu/packages/sphinx.scm (python-sphinx-autoapi): New variable.
---
 gnu/packages/sphinx.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 65b3dc4ec5..e5d16996aa 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1197,3 +1197,27 @@ (define-public python-pydata-sphinx-theme
      "This package provides a Bootstrap-based Sphinx theme from the PyData
 community.")
     (license license:bsd-3)))
+
+(define-public python-sphinx-autoapi
+  (package
+    (name "python-sphinx-autoapi")
+    (version "2.0.1") ;higher versions require Sphinx >= 5.2.0
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "sphinx-autoapi" version))
+              (sha256
+               (base32
+                "1fmss6ihjjx22nmjzy7qiapj1f2b86gd1vycn3zg8lh8q9l7kx6d"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-sphinx))
+    (propagated-inputs (list python-astroid python-jinja2 python-pyyaml
+                             python-sphinx python-unidecode))
+    (home-page "https://github.com/readthedocs/sphinx-autoapi")
+    (synopsis "Sphinx API documentation generator")
+    (description
+     "Sphinx AutoAPI is a Sphinx extension for generating complete
+API documentation without needing to load, run, or import the project being
+documented.  In contrast to the traditional Sphinx @code{autodoc}, which
+requires manual authoring and uses code imports, AutoAPI finds and generates
+documentation by parsing source code.")
+    (license license:expat)))
-- 
2.41.0





This bug report was last modified 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.