1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- 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 `<head>`
- *
- * 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"],
- };
|