行号在 Sphinx 的阅读文档主题中未对齐。
突出显示的行是 5 和 8。
产生这个的重组文本:
.. code-block:: python
:emphasize-lines: 5, 8
:linenos:
关于为什么会发生这种情况的想法?
请您参考如下方法:
我可以用 sphinx_rtd_theme 0.2.4 重现这个问题。它已在 master 分支中修复:https://github.com/rtfd/sphinx_rtd_theme/issues/381 .
提交(2017 年 3 月 8 日):https://github.com/rtfd/sphinx_rtd_theme/pull/382/commits/deb553c1d2da7a74c56ab825353522c98d2e9093 .
