summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2022-07-24 13:09:35 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2022-08-10 10:02:52 +0200
commit357a4c1870992a71f64033a90a09a1a8cb32c210 (patch)
tree7fb55840dc37e2d06ce3d2e03f94d72fd28f70d4
parent924a78b1148e8a433178c6e9737e0029691b0022 (diff)
gnu: Add python-mkdocs-markdownextradata-plugin.
* gnu/packages/python-xyz.scm (python-mkdocs-markdownextradata-plugin): New variable.
-rw-r--r--gnu/packages/python-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1822eeea36..808ca1c8db 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -693,6 +693,32 @@ project documentation. Documentation source files are written in Markdown, and
configured with a single YAML configuration file.")
(license license:bsd-3)))
+(define-public python-mkdocs-markdownextradata-plugin
+ (package
+ (name "python-mkdocs-markdownextradata-plugin")
+ (version "0.2.5")
+ (source (origin
+ ;; Use git, as there are some test files missing from the PyPI release,
+ ;; see https://github.com/rosscdh/mkdocs-markdownextradata-plugin/issues/41.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rosscdh/mkdocs-markdownextradata-plugin")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1a3868s9m7pzyfncpjbjsa9vw5nihssl2v47pxj7h6qa67kvlk3g"))))
+ (build-system python-build-system)
+ (native-inputs (list python-pytest))
+ (propagated-inputs (list python-mkdocs python-pyyaml))
+ (home-page "https://github.com/rosscdh/mkdocs-markdownextradata-plugin/")
+ (synopsis "Inject mkdocs.yml extra variables into the MkDocs markdown
+template")
+ (description
+ "This package provides a MkDocs plugin that injects the mkdocs.yml extra
+variables into the markdown template")
+ (license license:expat)))
+
(define-public python-pymdown-extensions
(package
(name "python-pymdown-extensions")