Add doc and doc-static

This commit is contained in:
Hao 2024-06-03 14:34:12 +10:00 committed by Sridhar Ratnakumar
parent b14afd47d6
commit 4569c7c769
2 changed files with 10 additions and 0 deletions

2
.gitignore vendored
View File

@ -5,3 +5,5 @@
/test/data.sqlite
/test/result.txt
/result

View File

@ -5,3 +5,11 @@ default:
# Auto-format the project tree
fmt:
treefmt
# Run doc server with hot-reload
doc:
cd ./doc && nix run
# Build docs static website (this runs linkcheck automatically)
doc-static:
nix build ./doc