updated docs

This commit is contained in:
rasmus-kirk
2024-02-22 14:35:07 +01:00
parent aa7feed256
commit 9ae741f688
14 changed files with 61 additions and 76 deletions
+4 -2
View File
@@ -19,10 +19,12 @@ pkgs.writeShellApplication {
next;
}
{ print } # Print all lines, including those inside code blocks
' block=0 result/nixos.md > "$tmpdir"/pre.md
' block=0 result/nixos.md > "$tmpdir"/1.md
# inline code "blocks" to nix code blocks
# shellcheck disable=SC2016
sed '/^`[^`]*`$/s/`\(.*\)`/```nix\n\1\n```/g' "$tmpdir"/pre.md > "$tmpdir"/done.md
sed '/^`[^`]*`$/s/`\(.*\)`/```nix\n\1\n```/g' "$tmpdir"/1.md > "$tmpdir"/2.md
# Remove bottom util-nixarr options
sed '/util-nixarr/,$d' "$tmpdir"/2.md > "$tmpdir"/done.md
mkdir -p out
cp docs/styling/style.css out