Skip to content

Commit

Permalink
feat: add serve_docs command for viewing locally
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Oct 1, 2024
1 parent d1a2791 commit c4718d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c4718d8

Please sign in to comment.