Docs vuepress (#476)

Convert docs to vuepress
This commit is contained in:
Florian authored and GitHub committed 2019-10-30 22:15:40 +01:00
1 parent 1fa5d48e74
commit aa263dc559
114 files changed
+1739 -64

No files matched your search

+32 -15
View File
@@ -23,21 +23,38 @@
#
# Template #1: General project. Test it using existing `platformio.ini`.
#
matrix:
include:
- language: python
python: 2.7
language: python
python:
- "2.7"
sudo: false
cache:
directories:
- "~/.platformio"
sudo: false
cache:
directories:
- "~/.platformio"
install:
- pip install -U platformio
- platformio update
- rm /home/travis/build/1technophile/OpenMQTTGateway/main//User_config.h
- cp /home/travis/build/1technophile/OpenMQTTGateway/test/Test_config.h /home/travis/build/1technophile/OpenMQTTGateway/main//User_config.h
install:
- pip install -U platformio
- platformio update
- rm /home/travis/build/1technophile/OpenMQTTGateway/main//User_config.h
- cp /home/travis/build/1technophile/OpenMQTTGateway/test/Test_config.h /home/travis/build/1technophile/OpenMQTTGateway/main//User_config.h
script:
- platformio run
script:
- platformio run
- language: node_js
node_js:
- lts/*
install:
- npm install -g vuepress
script:
- npm run docs:build
before_deploy: echo "docs.openmqttgateway.com" >> docs/.vuepress/dist/CNAME
deploy:
provider: pages
skip-cleanup: true
local_dir: docs/.vuepress/dist
github-token: $GITHUB_TOKEN # a token generated on github allowing travis to push code on you repository
keep-history: true
on:
branch: development