1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- const setupContent = require("../setup/index");
- const graphContent = require("../guides/index");
- module.exports = {
- title: "数字化交付开发文档",
- description: "上格云数字化交付开发文档",
- base: "/doc/web/",
- plugins: [
- "@vuepress/last-updated",
- "plugin-back-to-top",
- [
- 'vuepress-plugin-typescript',
- {
- tsLoaderOptions: {
- },
- },
- ],
- [
- 'vuepress-plugin-mathjax',
- {
- target: 'svg',
- macros: {
- '*': '\\times',
- },
- },
- ],
- ],
- markdown: {
- lineNumbers: true
- },
- themeConfig: {
- logo: "/assets/img/logo.png",
- nav: [
- {text: "首页", link: "/"},
- {
- text: "安装配置",
- items: [
- {
- text: "开发环境",
- items: [
- {text: "IDEA", link: "/setup/ide/idea"},
- {text: "VS Code", link: "/setup/ide/vscode"},
- {text: "Node.js", link: "/setup/ide/nodejs"},
- ]
- },
- {
- text: "服务器",
- items: [
- {text: "Nginx", link: "/setup/server/nginx"},
- {text: "Tomcat", link: "/setup/server/tomcat"}
- ]
- },
- ]
- },
- {
- text: "开发文档",
- items: [
- {
- text: "引擎",
- items: [
- {text: "图形引擎", link: "/guides/engine/"},
- {text: "场景管理", link: "/guides/scene/"},
- {text: "建筑信息", link: "/guides/big"}
- ]
- },
- ]
- },
- {
- text: "API参考",
- items: [
- { text: "图形引擎", link: "http://adm.sagacloud.cn:8080/api/web/graph/" },
- { text: "建筑信息图", link: "http://adm.sagacloud.cn:8080/api/web/big/" }
- ]
- }
- ],
- displayAllHeaders: true,
- sidebarDepth: 1,
- sidebar: {
- "/setup/" : setupContent,
- "/guides/": graphContent
- }
- }
- };
|