const { description } = require("../../package"); module.exports = { base: "/anchor/", /** * Ref:https://v1.vuepress.vuejs.org/config/#title */ title: "Anchor", /** * Ref:https://v1.vuepress.vuejs.org/config/#description */ description: description, /** * Extra tags to be injected to the page HTML `` * * ref:https://v1.vuepress.vuejs.org/config/#head */ head: [ ["meta", { name: "theme-color", content: "#3eaf7c" }], ["meta", { name: "apple-mobile-web-app-capable", content: "yes" }], [ "meta", { name: "apple-mobile-web-app-status-bar-style", content: "black" }, ], ], /** * Theme configuration, here is the default theme configuration for VuePress. * * ref:https://v1.vuepress.vuejs.org/theme/default-theme-config.html */ themeConfig: { repo: "", editLinks: false, docsDir: "", editLinkText: "", lastUpdated: false, sidebar: [ { collapsable: false, title: "Getting Started", children: [ "/getting-started/introduction", "/getting-started/installation", ], }, { collapsable: false, title: "Tutorials", children: ["/tutorials/tutorial-0", "/tutorials/tutorial-1"], }, ], nav: [{ text: "GitHub", link: "https://github.com/project-serum/anchor" }], }, /** * Apply plugins,ref:https://v1.vuepress.vuejs.org/zh/plugin/ */ plugins: ["@vuepress/plugin-back-to-top", "@vuepress/plugin-medium-zoom"], };