Skip to content

解决 rST :dn: 指令正常显示

Seay edited this page Aug 17, 2016 · 1 revision

如果在翻译或审核通过 Sphinx 生成 html 静态文件出现如下的情况:

~Microsoft.AspNetCore.Hosting.IWebHost

就是你的 sphinxcontrib-dotnetdomain 插件版本过低。

可以通过下面方式来安装和更新:

sphinxcontrib-dotnetdomain:https://github.com/rtfd/sphinxcontrib-dotnetdomain

安装命令:

pip install git+git://github.com/rtfd/sphinxcontrib-dotnetdomain

更新命令:

pip install git+git://github.com/rtfd/sphinxcontrib-dotnetdomain -U

如果没有生效,将之前生成的静态文件先删除掉,也就是 aspnet 文件夹下的 _build 目录。

或者是更改下任意一个 *.rst 文件之后,运行 make html 或者是 make livehtml 就可以正常解析了。

Clone this wiki locally