我一直在使用 Sphinx 为我的代码制作一个很好的文档,我想知道是否可以在目录旁边放置一个图像(而不是一个没有任何东西的大空白)
目前,我初学者的 index.rst 文件如下所示:
.. XXXXXX documentation master file, created by
sphinx-quickstart on Wed Apr 11 13:59:42 2018.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to XXXXXX's documentation!
==================================
.. topic:: the_topic
.. todo:: write topic
.. toctree::
:maxdepth: 2
:caption: Contents:
Tool1
Tool2
Tool3
Tool4
Tool5
Tool6
Tool7
Tool8
.. image:: _static/my_image.png
:align: center
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
提前致谢。