Commit f82bee8b74659e5b4669e63a868f759b8ab3fdd0
1 parent
91357834
设置文档封面
Showing
2 changed files
with
20 additions
and
3 deletions
docs/_coverpage.md
0 → 100644
| 1 | +<!-- _coverpage.md --> | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | +# cnlive-community-web-vue | |
| 6 | + | |
| 7 | +> 中国网+智慧社区平台 | |
| 8 | + | |
| 9 | +- 国家互联网服务平台 | |
| 10 | +- 讲好中国故事 | |
| 11 | +- 让生活更美好 | |
| 12 | + | |
| 13 | +[代码仓库](http://bj.gitlab.cnlive.com/cnlive_project/cnlive-community-web-vue/) | |
| 14 | +[开始](/?id=项目介绍) | |
| 0 | 15 | \ No newline at end of file | ... | ... |
docs/index.html
| ... | ... | @@ -27,14 +27,17 @@ |
| 27 | 27 | window.$docsify = { |
| 28 | 28 | name: "中国网+智慧社区平台", // 文档名 |
| 29 | 29 | nameLink: 'http://testweb.community.cnlive.com', // 标题点击跳转链接 |
| 30 | - repo: "", | |
| 31 | - subMaxLevel: 2, // 二级目录 | |
| 30 | + repo: "http://bj.gitlab.cnlive.com/cnlive_project/cnlive-community-web-vue.git", | |
| 31 | + topMargin: 90, // 锚点定位顶边距 | |
| 32 | + subMaxLevel: 2, // 限制显示两级目录 | |
| 32 | 33 | auto2top: true, // 切换页面后跳到页面顶部 |
| 33 | 34 | loadSidebar: true, // 加载侧边栏 |
| 35 | + autoHeader: true, // 加页面标题 | |
| 34 | 36 | alias: { |
| 35 | 37 | "/.*/_sidebar.md": "/_sidebar.md", |
| 36 | 38 | }, // 避免不必要的回退 |
| 37 | - // coverpage: true, // 启用封面 | |
| 39 | + coverpage: true, // 启用封面 | |
| 40 | + onlyCover: false, // 只在访问首页时展示封面 | |
| 38 | 41 | // homepage: 'zh-cn/guide.md', // 指定首页 |
| 39 | 42 | }; |
| 40 | 43 | </script> | ... | ... |