gpt4 book ai didi

python-sphinx - 如何创建包含空格的图像路径?

转载 作者:行者123 更新时间:2023-12-04 15:54:30 25 4
gpt4 key购买 nike

在 Sphinx 中,我试图包含来自子目录的图像。

虽然这适用于没有空格的路径,例如

.. image:: imagepath/image.png

对于带有空格的路径,我不成功。

我尝试过的是:
.. image:: imagepath with space/image.png
.. image:: `imagepath with space/image.png`
.. image::`imagepath with space/image.png`

我错过了什么?提前谢谢了。

最佳答案

不可能包含包含空格的图像路径。您将不得不重命名这些图像文件。

关于python-sphinx - 如何创建包含空格的图像路径?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39082393/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com