add version tag to documentation
This commit is contained in:
1 parent
ae33ea7458
commit
1eebf138c2
2 files changed
+2
-1
No files matched your search
@@ -61,6 +61,7 @@ matrix:
|
|||||||
install:
|
install:
|
||||||
- npm install -g vuepress
|
- npm install -g vuepress
|
||||||
script:
|
script:
|
||||||
|
- sed -i 's/version_tag/'$TRAVIS_TAG'/g' docs/.vuepress/config.js
|
||||||
- npm run docs:build
|
- npm run docs:build
|
||||||
before_deploy: echo "docs.openmqttgateway.com" >> docs/.vuepress/dist/CNAME
|
before_deploy: echo "docs.openmqttgateway.com" >> docs/.vuepress/dist/CNAME
|
||||||
deploy:
|
deploy:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ module.exports = {
|
|||||||
markdown: {
|
markdown: {
|
||||||
lineNumbers: true
|
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.',
|
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: [
|
head: [
|
||||||
['link', { rel: "icon", type: "image/png", sizes: "32x32", href: "/img/favicon-32x32.png"}],
|
['link', { rel: "icon", type: "image/png", sizes: "32x32", href: "/img/favicon-32x32.png"}],
|
||||||
|
|||||||
Reference in new issue
Block a user