我可以在sphinx的第一个文件中描述全局别名吗?

时间:2014-01-11 14:21:01

标签: python-sphinx restructuredtext

我想用index.rst文件描述别名。然后我想使用,这是别名的其他rst文件。有可能吗?

例如

index.rst文件中的

.. |n1| image:: /_static/Number1.png
   :width: 64px

然后我想在page1.rst,page2.rst文件中使用此别名。

|n1| some texts.

0 个答案:

没有答案