2012-01-09 77 views
8

我想鏈接到外部文件中的部分,但我無法使其工作。 :ref:似乎沒有全局工作,或者我使用它錯了嗎?Python-Sphinx:鏈接到外部文件中的部分

.. 
    File: some_file.rst 

.. _ref_section: 

Some Section 
------------ 

Paragraph, foo bar lorem ipsum. 


.. 
    File: some_other_file.rst 

.. seealso:: :ref:`ref_section` 

我怎麼不能交叉引用從一個不同的文件,以節?

回答