学习路径
1、环境配置
git clone https://github.com/datawhalechina/vced.git
cd vced
docker-compose build
docker-compose up -d
docker启动成功
编译文档
# 进入 docs 文件夹
cd docs
# 安装相关依赖
pip install -r requirements.txt
# 编译
make html
出现了报错
(base) kewei@DESKTOP-3JRQ3HI:~/vced/docs$ make html
Running Sphinx v5.0.2
loading translations [zh]… done
Extension error:
Could not import extension myst_parser (exception: No module named ‘myst_parser’)
Makefile:20: recipe for target ‘html’ failed
make: *** [html] Error 2
需要安装一个myst_parser
编译成功
这样我们就可以直接浏览器访问了