请下载文件simple.7z
并安装在您的sphinx中以重现我在这里描述的问题,为了重现它,您可以运行:
make clean
make html
中有两篇文章sample/source
,内容相同,只是标题不同。
cd sample
ls source |grep "for-loop"
What does "_" in Python mean in a for-loop.rst
What does "_" in Python mean in a for-loop?.rst
一个包含?
在其中,另一个不包含?
。跑步后发生了奇怪的事情make html
。
make html
ls build/html|grep "for-loop"
What does "_" in Python mean in a for-loop.html
What does "_" in Python mean in a for-loop?.html
问题1:
为什么firefox将所有内容都显示为What does “_” in Python mean in a for-loop?
注:
"_"
已合并为“_”
;
标题中没有?
这样的标题,如What does "_" in Python mean in a for-loop.html
被编译成What does “_” in Python mean in a for-loop?
,其中添加了一个?
?
问题2:要单击第一个标题What does “_” in Python mean in a for-loop?
,浏览器会跳到一个状态no url was not found on this server
要单击第二个标题What does “_” in Python mean in a for-loop?
,它可以正常工作。
请说明我的问题。
print(“Hello”)
??? 您需要关闭“智能”引号。