fix mkdocs references

This commit is contained in:
Kyle Robbertze 2020-05-19 23:10:56 +02:00
parent d7ee6a6f4c
commit 9467415b27
6 changed files with 21 additions and 58 deletions

View file

@ -1,12 +1,12 @@
# Installing Jekyll
# This script does not work and exists as a skeleton for
# someone to use to get Jekyll building outside of GitHub
echo "Installing Ruby"
sudo apt-get install ruby-full build-essential zlib1g-dev
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
export GEM_HOME=".gems"
export PATH=".gems/bin:$PATH"
echo "Installing Jekyll"
cd docs
@ -15,4 +15,4 @@ gem install jekyll bundler
# Running Jekyll
bundle exec jekyll serve --watch --port 8888
echo "Visit http://localhost:8888 to see the LibreTime website."
echo "Visit http://localhost:8888 to see the LibreTime website."

View file

@ -1,8 +0,0 @@
#! /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

View file

@ -1,10 +0,0 @@
#! /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."

View file

@ -113,4 +113,4 @@ If anything fails during the initial provisioning step you can try running `vagr
to re-run the installer.
If you only want to re-run parts of the installer, use `--provision-with $step`. The
supported steps are `prepare`, `install`, `install-mkdocs` and `start-mkdocs`.
supported steps are `prepare` and `install`.