43 lines
645 B
Markdown
43 lines
645 B
Markdown
# Kobol 官方 Wiki
|
|
|
|
Powered by mkdocs : http://www.mkdocs.org/
|
|
|
|
### 模板
|
|
Material : http://squidfunk.github.io/mkdocs-material/
|
|
|
|
### 扩展
|
|
Lightgallery : https://github.com/g-provost/lightgallery-markdown
|
|
|
|
## 如何在本地运行此 wiki
|
|
|
|
1. 安装 mkdocs
|
|
|
|
```bash
|
|
$ pip install mkdocs
|
|
```
|
|
|
|
2. 安装 Material 模板
|
|
|
|
```bash
|
|
$ pip install mkdocs-material
|
|
```
|
|
|
|
3. 安装 Lightgallery 扩展
|
|
|
|
```bash
|
|
$ git clone https://github.com/g-provost/lightgallery-markdown.git
|
|
|
|
$ cd lightgallery-markdown
|
|
|
|
$ python setup.py install
|
|
```
|
|
|
|
4. 下载和运行 wiki
|
|
|
|
```bash
|
|
$ git clone https://github.com/helios-4/wiki.git
|
|
|
|
$ cd wiki
|
|
|
|
$ mkdocs serve
|
|
```
|