Skip to content

Commit

Permalink
chore: bump vuepress to latest beta (#1272)
Browse files Browse the repository at this point in the history
* chore: bump nodejs version in tool-versions
* docs: bump vuepress to latest beta
  • Loading branch information
jthegedus committed Jun 24, 2022
1 parent a953095 commit f2d5d48
Show file tree
Hide file tree
Showing 6 changed files with 1,631 additions and 3,489 deletions.
2 changes: 1 addition & 1 deletion docs/.tool-versions
@@ -1 +1 @@
nodejs 16.4.2
nodejs 16.15.1
65 changes: 36 additions & 29 deletions docs/.vuepress/config.js
@@ -1,3 +1,10 @@
const { defaultTheme } = require("vuepress");
const { searchPlugin } = require("@vuepress/plugin-search");
const { shikiPlugin } = require("@vuepress/plugin-shiki");
const {
activeHeaderLinksPlugin,
} = require("@vuepress/plugin-active-header-links");

const navbar = require("./navbar");
const sidebar = require("./sidebar");

Expand All @@ -8,21 +15,21 @@ module.exports = {
"/": {
lang: "en-US",
title: "asdf",
description: "Manage multiple runtime versions with a single CLI tool"
description: "Manage multiple runtime versions with a single CLI tool",
},
"/pt-br/": {
lang: "pt-br",
title: "asdf",
description: "Gerencie múltiplas versões com um simples CLI"
description: "Gerencie múltiplas versões com um simples CLI",
},
"/zh-hans/": {
lang: "zh-CN",
title: "asdf",
description: "管理多个运行环境版本的简单命令行工具"
}
description: "管理多个运行环境版本的简单命令行工具",
},
},

themeConfig: {
theme: defaultTheme({
// logo: "https://vuejs.org/images/logo.png",
repo: "asdf-vm/asdf",
docsBranch: "master",
Expand All @@ -32,7 +39,7 @@ module.exports = {
selectLanguageName: "English",
sidebar: sidebar.en,
navbar: navbar.en,
editLinkText: "Edit this page"
editLinkText: "Edit this page",
},
"/pt-br/": {
selectLanguageName: "Brazilian Portuguese",
Expand All @@ -42,7 +49,7 @@ module.exports = {

// 404 page
notFound: ["Parece que estamos perdido!"],
backToHome: "Voltar para a página inicial"
backToHome: "Voltar para a página inicial",
},
"/zh-hans/": {
selectLanguageName: "简体中文",
Expand All @@ -53,28 +60,28 @@ module.exports = {

// 404 page
notFound: ["抱歉,您访问的页面不存在!"],
backToHome: "返回首页"
}
}
},
backToHome: "返回首页",
},
},
}),

plugins: [
[
"@vuepress/plugin-search",
{
locales: {
"/": {
placeholder: "Search"
},
"/pt-br/": {
placeholder: "Search"
},
"/zh-hans/": {
placeholder: "搜索"
}
}
}
],
["@vuepress/plugin-shiki", { theme: "monokai" }]
]
activeHeaderLinksPlugin(),
searchPlugin({
locales: {
"/": {
placeholder: "Search",
},
"/pt-br/": {
placeholder: "Search",
},
"/zh-hans/": {
placeholder: "搜索",
},
},
}),
shikiPlugin({
theme: "monokai",
}),
],
};

0 comments on commit f2d5d48

Please sign in to comment.