1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 04:35:28 +08:00

update mkdocs to be compatible with python 3.7+

fix #261
This commit is contained in:
krasjet
2023-04-26 02:52:19 +00:00
parent 67c73ccb4f
commit 12e0c5cf99
13 changed files with 44 additions and 151 deletions

View File

@@ -61,11 +61,10 @@ learnopengl.com系列教程的中文翻译目前正在校对及翻译中。
## 构建
首先请安装Python2和3都可以,之后初始化环境:
首先请安装Python 3.7+,之后初始化环境:
```bash
$ pip install mkdocs
$ python setup.py install
$ pip install mkdocs==1.4.2 python-markdown-math==0.8
```
初始化以后,每次构建只需要输入以下指令即可,构建后的文件在`site`文件夹内: