You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/index.md
+7-36Lines changed: 7 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -4,47 +4,18 @@ permalink: /docs/home/
4
4
redirect_from: /docs/index.html
5
5
---
6
6
7
-
## Getting started
7
+
## 欢迎加入CodingApi
8
8
9
-
[GitHub Pages](https://pages.github.com) can automatically generate and serve the website for you.
10
-
Let's say you have a username/organisation `my-org` and project `my-proj`; if you locate Jekyll source under `docs` folder of master branch in your repo `github.com/my-org/my-proj`, the website will be served on `my-org.github.io/my-proj`.
11
-
The good thing about coupling your documentation with the source repo is, whenever you merge features with regarding content to master branch, it will also be published on the webpage instantly.
**1.** Create a new Markdown as `_docs/my-page.md` and write [front matter](https://jekyllrb.com/docs/frontmatter/) & content such as:
24
19
25
-
```
26
-
---
27
-
title: My Page
28
-
permalink: /docs/my-page/
29
-
---
30
-
31
-
Hello World!
32
-
```
33
-
34
-
**2.** Add the pagename to `_data/docs.yml` file in order to list in docs navigation panel:
35
-
36
-
```
37
-
- title: My Group Title
38
-
docs:
39
-
- my-page
40
-
```
41
-
42
-
### Blog posts
43
-
44
-
Add a new Markdown file such as `2017-05-09-my-post.md` and write the content similar to other post examples.
45
-
46
-
### Pages
47
-
48
-
The homepage is located under `index.html` file. You can change the content or design completely different welcome page for your taste. (You can use [bootstrap components](http://getbootstrap.com/components/))
0 commit comments