Add basic Mkdocs config and initial docs.

This commit is contained in:
Christopher Gervais 2017-03-03 09:43:14 -05:00
parent 95ce7ef880
commit 91c581e678
8 changed files with 133 additions and 0 deletions

10
docs/scripts/install.sh Executable file
View file

@ -0,0 +1,10 @@
#! /bin/sh
echo "Updating Apt."
apt-get update > /dev/null
echo "Ensuring Pip is installed."
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python-pip > /dev/null
echo "Updating Pip."
pip install pip -q -q --upgrade > /dev/null
echo "Ensuring Mkdocs is installed."
pip install -q mkdocs > /dev/null

10
docs/scripts/serve.sh Executable file
View 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."