Skip to content

Commit

Permalink
Merge pull request #8 from june1011/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als authored Sep 17, 2023
2 parents cda7c5c + 7c1b234 commit 668463c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions locally-host.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

if ! command -v mkdocs >/dev/null 2>&1; then
echo "It doesn't seem like MkDocs Material is installed."
echo
echo "To install it, see https://squidfunk.github.io/mkdocs-material/getting-started/#latest, or use your distribution's package manager."
echo
echo "Press any key to exit..."
read -n 1 -s
exit 1
fi

echo "If there's any errors, make sure MkDocs Material is installed correctly, see the MkDocs Material documentation."
echo "To close the server, exit this window."
echo
mkdocs serve

0 comments on commit 668463c

Please sign in to comment.