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: [ [ "link", { rel: "icon", href: "data:image/svg+xml,", }, ], ["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: "default-prefers-color-scheme", /** * 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, sidebarDepth: 2, sidebar: [ { collapsable: false, title: "Getting Started", children: [ "/getting-started/introduction", "/getting-started/installation", ], }, { collapsable: false, title: "Teams", children: ["/getting-started/projects"], }, { collapsable: false, title: "Tutorials", children: [ "/tutorials/tutorial-0", "/tutorials/tutorial-1", "/tutorials/tutorial-2", "/tutorials/tutorial-3", "/tutorials/tutorial-4", ], }, { collapsable: false, title: "CLI", children: ["/cli/commands"], }, { collapsable: false, title: "Source Verification", children: [ "/getting-started/verification", "/getting-started/publishing", ], }, ], nav: [ { text: "The Anchor Book", link: "https://book.anchor-lang.com" }, { text: "Rust", link: "https://docs.rs/anchor-lang/latest/anchor_lang/" }, { text: "TypeScript", link: "https://coral-xyz.github.io/anchor/ts/index.html", }, { text: "GitHub", link: "https://github.com/coral-xyz/anchor" }, ], }, /** * Apply plugins,ref:https://v1.vuepress.vuejs.org/zh/plugin/ */ plugins: [ "dehydrate", "@vuepress/plugin-back-to-top", "@vuepress/plugin-medium-zoom", "@xiaopanda/vuepress-plugin-code-copy", ], };