kobol-wiki/README.md

44 lines
645 B
Markdown
Raw Normal View History

2018-11-21 16:19:53 +08:00
# Kobol 官方 Wiki
2017-10-10 16:03:56 +00:00
Powered by mkdocs : http://www.mkdocs.org/
2018-11-21 16:19:53 +08:00
### 模板
Material : http://squidfunk.github.io/mkdocs-material/
2018-11-21 16:19:53 +08:00
### 扩展
Lightgallery : https://github.com/g-provost/lightgallery-markdown
2018-11-21 16:19:53 +08:00
## 如何在本地运行此 wiki
2018-11-21 16:19:53 +08:00
1. 安装 mkdocs
```bash
$ pip install mkdocs
```
2018-11-21 16:19:53 +08:00
2. 安装 Material 模板
```bash
$ pip install mkdocs-material
```
2018-11-21 16:19:53 +08:00
3. 安装 Lightgallery 扩展
```bash
$ git clone https://github.com/g-provost/lightgallery-markdown.git
$ cd lightgallery-markdown
$ python setup.py install
```
2018-11-21 16:19:53 +08:00
4. 下载和运行 wiki
```bash
2017-12-25 00:56:49 +08:00
$ git clone https://github.com/helios-4/wiki.git
$ cd wiki
2017-12-21 14:34:43 +08:00
$ mkdocs serve
```