From 1eebf138c292e495524733f2c6928b8a6621fd2a Mon Sep 17 00:00:00 2001 From: 1technophile <1technophile@users.noreply.github.com> Date: Sat, 14 Dec 2019 20:48:39 +0100 Subject: [PATCH] add version tag to documentation --- .travis.yml | 1 + docs/.vuepress/config.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4ddbee3..3f221ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 824c27a..583e3ff 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -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"}],