make changes to its docs . 它使用readthedocs作为主题的宿主和mkdocs。
我用的是macOS Mojave。
https://docs.readthedocs.io/en/latest/install.html 安装指南 readthedocs mkdocs.yml
readthedocs
mkdocs.yml
那么,当我对文件进行更改时,如何测试readthedocs的构建文件呢 在macOS X本地?
如果有必要的话,我不介意用docker。
我对这个问题的思维模式是错误的。ReadTheDocs只是一个使用文档生成器(sphinx或mkdocs)并承载生成的输出文件的服务。
requirements.txt
requirements_dev.txt
mkdocs serve
127.0.0.1:8000 供您测试生成的html文件。要更改mkdocs配置,请转到 mkdocs.yml
127.0.0.1:8000