From bfa80a1e2242d2929835d1f0a80e3f4021f8c186 Mon Sep 17 00:00:00 2001 From: AndreasGassmann Date: Thu, 16 Apr 2020 16:54:06 +0000 Subject: [PATCH] feat(docs): update docs config --- deploy-docs.sh | 2 +- docs/.vuepress/config.js | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/deploy-docs.sh b/deploy-docs.sh index 955b4b2c9..6650ad409 100755 --- a/deploy-docs.sh +++ b/deploy-docs.sh @@ -10,7 +10,7 @@ npm run docs:build cd docs/.vuepress/dist # if you are deploying to a custom domain -# echo 'docs.walletbeacon.io' > CNAME +echo 'docs.walletbeacon.io' > CNAME git init git add -A diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 1a5812577..d912cf6e6 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -2,12 +2,15 @@ const getConfig = require('vuepress-bar') const barConfig = getConfig(`${__dirname}/..`) module.exports = { - base: '/beacon-sdk/', + base: '/', title: 'Beacon SDK Documentation', description: 'Connecting dApps on Tezos with your wallet.', themeConfig: { repo: 'airgap-it/beacon-sdk', - nav: [{ text: 'Example dApp', link: 'https://www.walletbeacon.io/', target: '_blank' }], + nav: [ + { text: 'Example dApp', link: 'https://www.walletbeacon.io/', target: '_blank' }, + { text: 'Chrome Extension', link: 'https://github.com/airgap-it/beacon-extension/releases', target: '_blank' } + ], sidebar: barConfig.sidebar }, plugins: [