pip3 install mkdocs==1.4.2
mkdocs new my-project
cd my-project
site_name: My Docs
site_url: https://example.com/
nav:
- Home: index.md
- 测试: 测试.md
theme: readthedocs
extra:
version: 1.0
mkdocs serve
http://127.0.0.1:8000
D:\Python37\Lib\site-packages\mkdocs\contrib\search\search_index.py
下载 https://raw.githubusercontent.com/codepiano/lunr.js/master/lunr.min.js
重命名 为 lunr.js 覆盖
D:\Python37\Lib\site-packages\mkdocs\contrib\search\templates\search\lunr.js
mkdocs build