1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-19 23:41:11 +01:00

docs: render without deprecated optionsDocBook

The `optionsDocBook` function is deprecated in nixpkgs since
nixos-23.11. This commit updates the manual and manpages to
use commonmark formatted documentation instead of the deprecated
docbook format.
This commit is contained in:
Viktor Kronvall 2023-11-19 16:20:58 +09:00
parent ac7216918c
commit 80ac72bf03
54 changed files with 2303 additions and 2446 deletions

View file

@ -0,0 +1,27 @@
{ buildPythonApplication, lib, python, nixos-render-docs }:
buildPythonApplication {
pname = "home-manager-render-docs";
version = "0.0";
format = "pyproject";
src = lib.cleanSourceWith {
filter = name: type:
lib.cleanSourceFilter name type && !(type == "directory"
&& builtins.elem (baseNameOf name) [
".pytest_cache"
".mypy_cache"
"__pycache__"
]);
src = ./home-manager-render-docs;
};
nativeBuildInputs = with python.pkgs; [ setuptools ];
propagatedBuildInputs = [ nixos-render-docs ];
meta = with lib; {
description = "Renderer for home-manager manual and option docs";
license = licenses.mit;
maintainers = [ ];
};
}