fix mkdocs references
This commit is contained in:
parent
d7ee6a6f4c
commit
9467415b27
43
.travis.yml
43
.travis.yml
|
@ -77,7 +77,6 @@ install:
|
||||||
if [[ "$PYTHON" == true ]]; then
|
if [[ "$PYTHON" == true ]]; then
|
||||||
pyenv local 3.7
|
pyenv local 3.7
|
||||||
pip3 install -U pip wheel
|
pip3 install -U pip wheel
|
||||||
# pip3 install --user mkdocs
|
|
||||||
pip3 install --user rgain3
|
pip3 install --user rgain3
|
||||||
pushd python_apps/airtime_analyzer
|
pushd python_apps/airtime_analyzer
|
||||||
python3 setup.py install --dry-run --no-init-script
|
python3 setup.py install --dry-run --no-init-script
|
||||||
|
@ -93,30 +92,18 @@ before_script:
|
||||||
script:
|
script:
|
||||||
- ./travis/php.sh
|
- ./travis/php.sh
|
||||||
- ./travis/python.sh
|
- ./travis/python.sh
|
||||||
#deploy:
|
deploy:
|
||||||
#- provider: pages
|
- provider: script
|
||||||
# skip_cleanup: true
|
skip_cleanup: true
|
||||||
# local_dir: build/docs
|
script: ./travis/release.sh
|
||||||
# github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
|
on:
|
||||||
# target_branch: master
|
tags: true
|
||||||
# repo: LibreTime/LibreTime.github.io
|
condition: $PYTHON = true
|
||||||
# project_name: LibreTime
|
- provider: releases
|
||||||
# fqdn: libretime.org
|
skip_cleanup: true
|
||||||
# name: R. LibreTime DocBot
|
api_key: $GITHUB_TOKEN
|
||||||
# on:
|
file_glob: true
|
||||||
# branch: master
|
file: build/libretime-*.tar.gz
|
||||||
# condition: $PYTHON = true
|
on:
|
||||||
#- provider: script
|
tags: true
|
||||||
# skip_cleanup: true
|
condition: $PYTHON = 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
|
|
||||||
|
|
|
@ -10,8 +10,6 @@ Vagrant.configure("2") do |config|
|
||||||
# liquidsoap input harbors for instreaming (ie. /master)
|
# liquidsoap input harbors for instreaming (ie. /master)
|
||||||
config.vm.network "forwarded_port", guest: 8001, host:8001
|
config.vm.network "forwarded_port", guest: 8001, host:8001
|
||||||
config.vm.network "forwarded_port", guest: 8002, host:8002
|
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)
|
# make sure we are using nfs (doesn't work out of the box with debian)
|
||||||
nfsPath = "."
|
nfsPath = "."
|
||||||
|
@ -69,10 +67,6 @@ Vagrant.configure("2") do |config|
|
||||||
|
|
||||||
# Provision LibreTime
|
# Provision LibreTime
|
||||||
config.vm.provision "install", type: "shell", inline: "cd /vagrant; ./install %s --web-port=8080" % installer_args
|
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
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Installing Jekyll
|
# 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"
|
echo "Installing Ruby"
|
||||||
sudo apt-get install ruby-full build-essential zlib1g-dev
|
sudo apt-get install ruby-full build-essential zlib1g-dev
|
||||||
|
|
||||||
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
|
export GEM_HOME=".gems"
|
||||||
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
|
export PATH=".gems/bin:$PATH"
|
||||||
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
|
|
||||||
source ~/.bashrc
|
|
||||||
|
|
||||||
echo "Installing Jekyll"
|
echo "Installing Jekyll"
|
||||||
cd docs
|
cd docs
|
||||||
|
@ -15,4 +15,4 @@ gem install jekyll bundler
|
||||||
# Running Jekyll
|
# Running Jekyll
|
||||||
bundle exec jekyll serve --watch --port 8888
|
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."
|
||||||
|
|
|
@ -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
|
|
|
@ -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."
|
|
|
@ -113,4 +113,4 @@ If anything fails during the initial provisioning step you can try running `vagr
|
||||||
to re-run the installer.
|
to re-run the installer.
|
||||||
|
|
||||||
If you only want to re-run parts of the installer, use `--provision-with $step`. The
|
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`.
|
||||||
|
|
Loading…
Reference in New Issue