Merge pull request #131562 from Luflosi/add-sphinx-inline-tabs
This commit is contained in:
commit
3d6bda9595
2 changed files with 36 additions and 0 deletions
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, sphinx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinx-inline-tabs";
|
||||
version = "2021.04.11.beta9";
|
||||
format = "flit";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pradyunsg";
|
||||
repo = "sphinx-inline-tabs";
|
||||
rev = version;
|
||||
sha256 = "sha256-UYrLQAXPProjpGPQNkju6+DmzjPG+jbjdKveoeViVTY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
sphinx
|
||||
];
|
||||
|
||||
# no tests, see https://github.com/pradyunsg/sphinx-inline-tabs/issues/6
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "sphinx_inline_tabs" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Add inline tabbed content to your Sphinx documentation";
|
||||
homepage = "https://github.com/pradyunsg/sphinx-inline-tabs";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Luflosi ];
|
||||
};
|
||||
}
|
|
@ -8280,6 +8280,8 @@ in {
|
|||
|
||||
sphinx-copybutton = callPackage ../development/python-modules/sphinx-copybutton { };
|
||||
|
||||
sphinx-inline-tabs = callPackage ../development/python-modules/sphinx-inline-tabs { };
|
||||
|
||||
sphinx-jinja = callPackage ../development/python-modules/sphinx-jinja { };
|
||||
|
||||
sphinx-markdown-parser = callPackage ../development/python-modules/sphinx-markdown-parser { };
|
||||
|
|
Loading…
Reference in a new issue