sphinx导入父dir rst文件?

lin*_*ida 9 python-sphinx

我需要为每个模块创建一个sphinx项目,

每个模块共享一些常见的rsts,如公司信息,许可证等.

我的项目树是这样的:

./conf.py
./index.rst
./intro.rst
./about.rst

./device1/conf.py
./device1/index.rst 
Run Code Online (Sandbox Code Playgroud)

我在./device1/index.rst中写这个,但它不起作用,我怎么能导入父rst文件?

.. toctree::
   :maxdepth: 1

   ../intro
   ../about
Run Code Online (Sandbox Code Playgroud)

lin*_*ida 7

我找到了一种方法:

.. include:: ../intro.rst
Run Code Online (Sandbox Code Playgroud)

但它将包括所有文本...也许这是唯一的方法?