mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 16:19:44 +01:00
parent
890239846e
commit
71d9bd6724
1 changed files with 7 additions and 5 deletions
|
@ -32,17 +32,19 @@ in stdenv.mkDerivation {
|
||||||
--replace \
|
--replace \
|
||||||
'@OPTIONS_JSON@' \
|
'@OPTIONS_JSON@' \
|
||||||
${home-manager-options.nix-darwin}/share/doc/nixos/options.json
|
${home-manager-options.nix-darwin}/share/doc/nixos/options.json
|
||||||
|
|
||||||
|
cp ${nmd}/static/style.css out/style.css
|
||||||
cp -t out/highlightjs ${nmd}/static/highlightjs/tomorrow-night.min.css
|
cp -t out/highlightjs ${nmd}/static/highlightjs/tomorrow-night.min.css
|
||||||
cp ${./highlight-style.css} out/highlightjs/highlight-style.css
|
cp ${./highlight-style.css} out/highlightjs/highlight-style.css
|
||||||
|
|
||||||
nixos-render-docs manual html \
|
nixos-render-docs manual html \
|
||||||
--manpage-urls ./manpage-urls.json \
|
--manpage-urls ./manpage-urls.json \
|
||||||
--revision ${lib.trivial.revisionWithDefault revision} \
|
--revision ${lib.trivial.revisionWithDefault revision} \
|
||||||
--stylesheet ${nmd}/static/style.css \
|
--stylesheet style.css \
|
||||||
--stylesheet $out/share/doc/home-manager/highlightjs/tomorrow-night.min.css \
|
--stylesheet highlightjs/tomorrow-night.min.css \
|
||||||
--stylesheet $out/share/doc/home-manager/highlightjs/highlight-style.css \
|
--stylesheet highlightjs/highlight-style.css \
|
||||||
--script $out/share/doc/home-manager/highlightjs/highlight.pack.js \
|
--script highlightjs/highlight.pack.js \
|
||||||
--script $out/share/doc/home-manager/highlightjs/loader.js \
|
--script highlightjs/loader.js \
|
||||||
--toc-depth 1 \
|
--toc-depth 1 \
|
||||||
--section-toc-depth 1 \
|
--section-toc-depth 1 \
|
||||||
manual.md \
|
manual.md \
|
||||||
|
|
Loading…
Reference in a new issue