Skip to content

Commit bfde4a9

Browse files
committed
init
1 parent cc85921 commit bfde4a9

File tree

8 files changed

+127
-0
lines changed

8 files changed

+127
-0
lines changed

docs/.DS_Store

6 KB
Binary file not shown.

docs/.vuepress/config.js

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
module.exports = {
2+
title: '「慕课网」小慕读书官网',
3+
description: 'mpvue多端小程序快速入门',
4+
markdown: {
5+
// markdown-it-anchor 的选项
6+
anchor: { permalink: false },
7+
// markdown-it-toc 的选项
8+
toc: { includeLevel: [1, 2, 3] },
9+
lineNumbers: true
10+
},
11+
themeConfig: {
12+
sidebar: [
13+
{
14+
title: 'Group 1', // 必要的
15+
path: '/', // 可选的, 应该是一个绝对路径
16+
collapsable: false, // 可选的, 默认值是 true,
17+
sidebarDepth: 1, // 可选的, 默认值是 1
18+
children: [
19+
'/'
20+
]
21+
},
22+
{
23+
title: 'Group 2',
24+
children: [
25+
{
26+
title: 'Group 1', // 必要的
27+
path: '/', // 可选的, 应该是一个绝对路径
28+
collapsable: false, // 可选的, 默认值是 true,
29+
sidebarDepth: 1, // 可选的, 默认值是 1
30+
children: [
31+
'/'
32+
]
33+
},
34+
{
35+
title: 'Group 1', // 必要的
36+
path: '/', // 可选的, 应该是一个绝对路径
37+
collapsable: false, // 可选的, 默认值是 true,
38+
sidebarDepth: 1, // 可选的, 默认值是 1
39+
children: [
40+
'/'
41+
]
42+
},
43+
]
44+
}
45+
],
46+
nav: [
47+
{ text: '首页', link: '/' },
48+
{ text: '指南', link: '/guide/' },
49+
{ text: 'API', link: '/api' },
50+
{ text: '习题', link: '/question' },
51+
{ text: 'QA', link: '/qa' },
52+
{ text: '精彩活动', link: '/activity' },
53+
{ text: '购买课程', link: 'https://coding.imooc.com/class/285.html' },
54+
],
55+
navbar: true,
56+
}
57+
}

docs/.vuepress/enhanceApp.js

Whitespace-only changes.

docs/.vuepress/public/logo.gif

3.05 KB
Loading

docs/README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
home: true
3+
heroText: 实战「小慕读书」多端小程序
4+
tagline: mpvue多端小程序快速入门
5+
actionText: 快速上手 →
6+
actionLink: /zh/guide/
7+
features:
8+
- title: 多端发布
9+
details: 借助mpvue强大的编译引擎,将vue源码快速转换为多端小程序版本,极速发布
10+
- title: 真实数据
11+
details: 数据全部为真实数据,不使用mock数据,每一本电子书都可以真实阅读
12+
- title: 渐进式学习
13+
details: 面向初学者,课程难度逐步加深,满足不同层次学员的学习需要
14+
footer: imooc.com | Copyright © 2019 Sam
15+
---

docs/guide/README.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Hello World!
2+
```js
3+
console.log('hello world');
4+
```
5+
![Logo Image](../images/logo.gif)
6+
7+
| Tables | Are | Cool |
8+
| ------------- |:-------------:| -----:|
9+
| col 3 is | right-aligned | $1600 |
10+
| col 2 is | centered | $12 |
11+
| zebra stripes | are neat | $1 |
12+
13+
:tada: :100:
14+
15+
[[toc]]
16+
17+
::: tip
18+
This is a tip
19+
:::
20+
21+
::: warning
22+
This is a warning
23+
:::
24+
25+
::: danger
26+
This is a dangerous warning
27+
:::
28+
29+
::: danger STOP
30+
Danger zone, do not proceed
31+
:::
32+
33+
``` js {4}
34+
export default {
35+
data () {
36+
return {
37+
msg: 'Highlighted!'
38+
}
39+
}
40+
}
41+
```

docs/images/logo.gif

3.05 KB
Loading

package.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "mpvue-imooc-ebook-docs",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"docs:dev": "vuepress dev docs",
9+
"docs:build": "vuepress build docs"
10+
},
11+
"keywords": [],
12+
"author": "",
13+
"license": "ISC"
14+
}

0 commit comments

Comments
 (0)