From e8392bc75a21183524276a4e0926053add040b60 Mon Sep 17 00:00:00 2001 From: orkunkl Date: Mon, 11 Jan 2021 12:55:03 +0300 Subject: [PATCH] Rename logos --- .vuepress/config.js | 28 +++++++++++++------ ... Favicon.svg => CosmWasm_Favicon_Full.svg} | 0 .../{CosmWasm Logo.svg => CosmWasm_Logo.svg} | 0 3 files changed, 19 insertions(+), 9 deletions(-) rename .vuepress/public/logo/SVG/{CosmWasm Favicon.svg => CosmWasm_Favicon_Full.svg} (100%) rename .vuepress/public/logo/SVG/{CosmWasm Logo.svg => CosmWasm_Logo.svg} (100%) diff --git a/.vuepress/config.js b/.vuepress/config.js index 969b18a153..e29a195c30 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -1,13 +1,14 @@ module.exports = { theme: "cosmos", title: "CosmWasm Documentation", + base: process.env.VUEPRESS_BASE || "/", locales: { "/": { lang: "en-US" }, }, head: [ - ['link', { rel: 'icon', href: '/logo/SVG/CosmWasm Favicon.svg' }] + ['link', { rel: 'icon', href: '/logo/SVG/CosmWasm_Favicon_Full.svg' }] ], themeConfig: { custom: true, @@ -16,13 +17,23 @@ module.exports = { docsRepo: "CosmWasm/docs", docsDir: "/", logo: { - src: "/logo/SVG/CosmWasm Logo.svg", + src: "/logo/SVG/CosmWasm_Logo.svg", }, algolia: { id: "BH4D9OD16A", key: "abeca9781b806ca955a7e0f1ee95d003", index: "cosmwasm_docs" }, + versions: [ + { + "label": "v0.13", + "key": "v0.13" + }, + { + "label": "v0.12", + "key": "v0.12" + } + ], topbar: { banner: false }, @@ -234,13 +245,12 @@ module.exports = { ] } }, - plugins: [ - "sitemap", - { - hostname: "https://docs.cosmwasm.com" - }, - "check-md", { + plugins: { + "check-md": { pattern: "**/*.md" }, - ] + 'sitemap': { + hostname: 'https://docs.cosmwasm.com' + }, + } } diff --git a/.vuepress/public/logo/SVG/CosmWasm Favicon.svg b/.vuepress/public/logo/SVG/CosmWasm_Favicon_Full.svg similarity index 100% rename from .vuepress/public/logo/SVG/CosmWasm Favicon.svg rename to .vuepress/public/logo/SVG/CosmWasm_Favicon_Full.svg diff --git a/.vuepress/public/logo/SVG/CosmWasm Logo.svg b/.vuepress/public/logo/SVG/CosmWasm_Logo.svg similarity index 100% rename from .vuepress/public/logo/SVG/CosmWasm Logo.svg rename to .vuepress/public/logo/SVG/CosmWasm_Logo.svg