module.exports = {
    title: '数据中台',
    description: 'Just playing around',
    plugins: ['@vuepress/back-to-top'],
    themeConfig: {

        nav: [{ text: '主页', link: '/' },
            { text: '物理世界', link: '/rwd/' },
            { text: '人员组织权限', link: '/org/' }
            // { text: '数据字典', link: '/dic/'}
            ],

        sidebarDepth: 1,
        displayAllHeaders: true,
        sidebar: {
            '/org': [
                {
                    title: '人员组织权限',
                    collapsable: false,
                    children: [
                        {title: '建表语句', path: '/org/org_ddl_sql'},
                        {title: '接口文档', path: '/org/org_api'},
                        {title: '数据结构设计', path: '/org/org_design'}
                    ]
                }
            ],
            // '/dic': [
            //     {
            //         title: '数据字典',
            //         collapsable: false,
            //         children: [
            //             {title: '建表语句', path: '/dic/dic_ddl_sql'},
            //             {title: '接口文档', path: '/dic/dic_api'},
            //             {title: '数据结构设计', path: '/dic/dic_design'}
            //         ]
            //     }
            // ],
            '/rwd': [
                {
                    title: '定义数据',
                    collapsable: false,
                    children: [{ title: '类型定义', path: '/rwd/def_class' }, { title: '信息点定义', path: '/rwd/def_funcid' }]
                },
                {
                    title: '实例数据',
                    collapsable: false,
                    children: [{ title: '对象数据', path: '/rwd/instance_object' }, { title: '关系数据', path: '/rwd/instance_relation' }]
                },
                { title: 'IOT', path: '/rwd/iot' }
            ]
        }
    }
}