mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-18 01:35:41 +02:00
docs: fix CI documentation generation
This commit is contained in:
parent
dd9ec124a2
commit
498986d90a
1 changed files with 2 additions and 2 deletions
4
docs.nix
4
docs.nix
|
@ -22,7 +22,7 @@ pkgs.stdenv.mkDerivation {
|
||||||
phases = [ "buildPhase" ];
|
phases = [ "buildPhase" ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir -p $out/share
|
mkdir -p $out/share/doc
|
||||||
cat <<EOF > header.adoc
|
cat <<EOF > header.adoc
|
||||||
= NixVim options
|
= NixVim options
|
||||||
This lists all the options available for NixVim.
|
This lists all the options available for NixVim.
|
||||||
|
@ -30,6 +30,6 @@ pkgs.stdenv.mkDerivation {
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
cat header.adoc $src > tmp.adoc
|
cat header.adoc $src > tmp.adoc
|
||||||
asciidoctor tmp.adoc -o $out/share/index.html
|
asciidoctor tmp.adoc -o $out/share/doc/index.html
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue