guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/13: gnu: Add python-sphinxcontrib-autoprogram.


From: guix-commits
Subject: 09/13: gnu: Add python-sphinxcontrib-autoprogram.
Date: Fri, 9 Jul 2021 05:59:27 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 885c1bd06ec8212f3882bf81ff0900a7fadda735
Author: Hugo Lecomte <hugo.lecomte@inria.fr>
AuthorDate: Mon Jul 5 09:29:29 2021 +0200

    gnu: Add python-sphinxcontrib-autoprogram.
    
    * gnu/packages/sphinx.scm (python-sphinxcontrib-autoprogram): New variable.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/sphinx.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 1901509..8928b79 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -812,3 +812,28 @@ Jupyter kernel, and embeds outputs of that code in the 
document.  It has
 support for rich output such as images, LaTeX math and even JavaScript
 widgets, and supports thebelab for live code execution with minimal effort.")
     (license license:bsd-3)))
+
+(define-public python-sphinxcontrib-autoprogram
+  (package
+    (name "python-sphinxcontrib-autoprogram")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sphinxcontrib-autoprogram" version))
+       (sha256
+        (base32
+         "06hzim0d3fd72kf30fyjbbm5n8ibyybic0kf62gm79qp50zjwr5w"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-six" ,python-six)))
+    (native-inputs
+     `(("python-sphinx" ,python-sphinx)))
+    (home-page "https://github.com/sphinx-contrib/autoprogram";)
+    (synopsis "Documenting CLI programs")
+    (description
+     "This Sphinx extension, @code{sphinxcontrib.autoprogram}, provides an
+automated way to document command-line programs.  It scans
+@code{argparse.ArgumentParser} object, and then expands it into a set of
+@code{.. program::} and @code{.. option::} directives.")
+    (license license:bsd-2)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]