Adding back scripts in /docs
This commit is contained in:
parent
bcf938ca7e
commit
6540a34a9b
26 changed files with 336 additions and 94 deletions
8
docs/scripts/install.sh
Normal file
8
docs/scripts/install.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#! /bin/sh
|
||||
|
||||
echo "Updating Apt."
|
||||
apt-get update > /dev/null
|
||||
echo "Ensuring Pip is installed."
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3-pip > /dev/null
|
||||
echo "Ensuring Mkdocs is installed."
|
||||
pip3 install mkdocs
|
10
docs/scripts/serve.sh
Normal file
10
docs/scripts/serve.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#! /bin/sh
|
||||
|
||||
cd /vagrant
|
||||
echo "Stopping any running Mkdocs servers."
|
||||
pkill mkdocs
|
||||
echo "Building Mkdocs documentation."
|
||||
mkdocs build --clean -q > /dev/null
|
||||
echo "Launching Mkdocs server."
|
||||
mkdocs serve > /dev/null 2>&1 &
|
||||
echo "Visit http://localhost:8888 to see the LibreTime documentation."
|
Loading…
Add table
Add a link
Reference in a new issue