From eb5cfaa1cc1f265f8e384cdf125e2d2e5499a4bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Choutri?= Date: Tue, 27 Jun 2023 12:03:41 +0200 Subject: [PATCH] Fix the Makefile's doc rules --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7c803b9..a03f0fd 100644 --- a/Makefile +++ b/Makefile @@ -25,10 +25,10 @@ style: ## Run the code styler (stylish-haskell) @find docs/src test src -name "*.hs" | xargs -P $(PROCS) -I {} fourmolu -q --mode inplace {} docs-build: ## Generate the documentation - @cd docs; mkdocs build + @cabal run book -- process docs-serve: ## Start a web server to serve the documentation - @cd docs; mkdocs serve + @cd docs; mdbook serve --open db-create: ## Create the database @createdb -h $(DB_HOST) -p $(DB_PORT) -U $(DB_USER) $(DB_DATABASE)