add version tag to documentation

This commit is contained in:
1technophile committed 2019-12-14 20:48:39 +01:00
1 parent ae33ea7458
commit 1eebf138c2
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -61,6 +61,7 @@ matrix:
install:
- npm install -g vuepress
script:
- sed -i 's/version_tag/'$TRAVIS_TAG'/g' docs/.vuepress/config.js
- npm run docs:build
before_deploy: echo "docs.openmqttgateway.com" >> docs/.vuepress/dist/CNAME
deploy:
+1 -1
View File
@@ -2,7 +2,7 @@ module.exports = {
markdown: {
lineNumbers: true
},
title: 'OpenMQTTGateway',
title: 'OpenMQTTGateway version_tag',
description: 'One gateway, many technologies: MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, beacons detection, mi flora / mi jia / LYWSD02/ Mi Scale compatibility, SMS & LORA.',
head: [
['link', { rel: "icon", type: "image/png", sizes: "32x32", href: "/img/favicon-32x32.png"}],