Skip to content

Commit

Permalink
Merge pull request #501 from chinapandaman/PPF-500
Browse files Browse the repository at this point in the history
PPF-500: add serve docs to Makefile
  • Loading branch information
chinapandaman authored Feb 14, 2024
2 parents e03bb4c + 3e175c1 commit 40813e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ compare-pdf-diffs:

deploy:
bash ./scripts/create_release.sh

serve-docs:
bash ./scripts/serve_docs.sh
5 changes: 5 additions & 0 deletions scripts/serve_docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if [[ "$VIRTUAL_ENV" == "" ]]; then
source "./venv/bin/activate"
fi

mkdocs serve -q

0 comments on commit 40813e0

Please sign in to comment.