From c4718d8ebe914254e2d665dd22bc07c7a862454e Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Tue, 1 Oct 2024 23:12:38 +0200 Subject: [PATCH] feat: add serve_docs command for viewing locally --- docs/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/Makefile b/docs/Makefile index d0c3cbf..9d622ae 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -18,3 +18,6 @@ help: # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + +serve_docs: ## serve the built docs locally to preview the site in the browser + python -m http.server 8200 --directory build/html