diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index f866682..6cad2a6 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -1,4 +1,28 @@ module.exports = { title: '测试', - description: '测试' -} \ No newline at end of file + description: '测试', + + themeConfig: { + sidebar: 'auto', + nav: [ + { text: 'mysql', link: '/mysql/' }, + ], + sidebar: { + '/mysql/':[ + { + isGroup: true, + text: 'mysql', + children: [ + '', /* /foo/ */ + 'install', /* /foo/one.html */ + 'create', /* /foo/two.html */ + 'insert', + 'update' + ], + }] , + + + + } + } +} diff --git a/docs/README.md b/docs/README.md index faffb28..fed951c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,9 +1,16 @@ -# 测试课程教案 - -## mysql - -## http - -## flask - -## linux \ No newline at end of file +--- +home: true +heroImage: /hero.png +heroText: Hero 标题 +tagline: Hero 副标题 +actionText: 快速上手 → +actionLink: /zh/guide/ +features: +- title: 简洁至上 + details: 以 Markdown 为中心的项目结构,以最少的配置帮助你专注于写作。 +- title: Vue驱动 + details: 享受 Vue + webpack 的开发体验,在 Markdown 中使用 Vue 组件,同时可以使用 Vue 来开发自定义主题。 +- title: 高性能 + details: VuePress 为每个页面预渲染生成静态的 HTML,同时在页面被加载的时候,将作为 SPA 运行。 +footer: MIT Licensed | Copyright © 2018-present Evan You +--- \ No newline at end of file diff --git a/docs/mysql/README.md b/docs/mysql/README.md index 249b6a1..835f084 100644 --- a/docs/mysql/README.md +++ b/docs/mysql/README.md @@ -1,3 +1,7 @@ +--- +sidebar: auto +sidebarDepth: 5 +--- # mysql > 这一章节主要是介绍mysql是什么 @@ -52,4 +56,4 @@ MySQL 是一个关系型数据库管理系统,由瑞典 MySQL AB 公司开发 - MySQL 支持大型数据库,支持 5000 万条记录的数据仓库,32 位系统表文件最大可支持 4GB,64 位系统支持最大的表文件为8TB。 - MySQL 是可以定制的,采用了 GPL 协议,你可以修改源码来开发自己的 MySQL 系统。 -> 下一章节将会开始安装mysql \ No newline at end of file +> 下一章节将会开始安装mysql diff --git a/docs/mysql/create.md b/docs/mysql/create.md index f6d482f..b727f9a 100644 --- a/docs/mysql/create.md +++ b/docs/mysql/create.md @@ -173,4 +173,3 @@ create table class(name varchar(10),sex varchar(2),age int); 已经可以看到我们创建的class了 下节就是数据的增删改查了。 - diff --git a/docs/mysql/insert.md b/docs/mysql/insert.md index 7e1a410..808ce30 100644 --- a/docs/mysql/insert.md +++ b/docs/mysql/insert.md @@ -165,4 +165,4 @@ insert into class(name,sex,age) values('小红','男',11),('小名','男',11),(' ## 结束 -插入数据已经说完了,下面就是修改数据和删除数据了。 \ No newline at end of file +插入数据已经说完了,下面就是修改数据和删除数据了。 diff --git a/docs/mysql/install.md b/docs/mysql/install.md index f9f6513..91a4de8 100644 --- a/docs/mysql/install.md +++ b/docs/mysql/install.md @@ -55,4 +55,3 @@ - 点击finish - ![图 30](../../images/0102b8a545925f23bc7a13ba377868152f27a97922b97710c1123fe828f8790e.png) - 然后就安装成功了 - diff --git a/docs/mysql/update.md b/docs/mysql/update.md index 17381de..5fec530 100644 --- a/docs/mysql/update.md +++ b/docs/mysql/update.md @@ -88,4 +88,4 @@ update class set sex="男",age=10 where name="李四"; 这就是一次修改多个。 -下面将来看一下数据删除 \ No newline at end of file +下面将来看一下数据删除