From f96f669b06b545877694b34dbacef0ae0d8689ad Mon Sep 17 00:00:00 2001 From: KaiserY Date: Tue, 30 Jun 2020 16:29:15 +0800 Subject: [PATCH] add vuepress config, close #427 --- .gitignore | 1 - src/.vuepress/config.js | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 src/.vuepress/config.js diff --git a/.gitignore b/.gitignore index 2a0f0cd..94a48f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ _book/ mdbook/ book/ -**/.vuepress .DS_Store diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js new file mode 100644 index 0000000..c459e21 --- /dev/null +++ b/src/.vuepress/config.js @@ -0,0 +1,9 @@ +// .vuepress/config.js +module.exports = { + themeConfig: { + sidebar: "auto", + nav: [ + { text: '回首页', link: '/' }, + ] + } +};