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

@ -77,7 +77,6 @@ install:
if [[ "$PYTHON" == true ]]; then
pyenv local 3.7
pip3 install -U pip wheel
# pip3 install --user mkdocs
pip3 install --user rgain3
pushd python_apps/airtime_analyzer
python3 setup.py install --dry-run --no-init-script
@ -93,30 +92,18 @@ before_script:
script:
- ./travis/php.sh
- ./travis/python.sh
#deploy:
#- provider: pages
# skip_cleanup: true
# local_dir: build/docs
# github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
# target_branch: master
# repo: LibreTime/LibreTime.github.io
# project_name: LibreTime
# fqdn: libretime.org
# name: R. LibreTime DocBot
# on:
# branch: master
# condition: $PYTHON = true
#- provider: script
# skip_cleanup: true
# script: ./travis/release.sh
# on:
# tags: true
# condition: $PYTHON = true
#- provider: releases
# skip_cleanup: true
# api_key: $GITHUB_TOKEN
# file_glob: true
# file: build/libretime-*.tar.gz
# on:
# tags: true
# condition: $PYTHON = true
deploy:
- provider: script
skip_cleanup: true
script: ./travis/release.sh
on:
tags: true
condition: $PYTHON = true
- provider: releases
skip_cleanup: true
api_key: $GITHUB_TOKEN
file_glob: true
file: build/libretime-*.tar.gz
on:
tags: true
condition: $PYTHON = true

6
Vagrantfile vendored
View File

@ -10,8 +10,6 @@ Vagrant.configure("2") do |config|
# liquidsoap input harbors for instreaming (ie. /master)
config.vm.network "forwarded_port", guest: 8001, host:8001
config.vm.network "forwarded_port", guest: 8002, host:8002
# mkdocs documentation
# config.vm.network "forwarded_port", guest: 8888, host:8888
# make sure we are using nfs (doesn't work out of the box with debian)
nfsPath = "."
@ -69,10 +67,6 @@ Vagrant.configure("2") do |config|
# Provision LibreTime
config.vm.provision "install", type: "shell", inline: "cd /vagrant; ./install %s --web-port=8080" % installer_args
# Provision docs
# config.vm.provision "install-mkdocs", type: "shell", path: "docs/scripts/install.sh"
# config.vm.provision "start-mkdocs", type: "shell", path: "docs/scripts/serve.sh"
end
end

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

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`.