【发布时间】:2011-07-19 02:32:48
【问题描述】:
我需要为每个模块创建一个狮身人面像项目,
每个模块都有一些共同的rsts,比如公司信息、许可证等。
我的项目树是这样的:
./conf.py
./index.rst
./intro.rst
./about.rst
./device1/conf.py
./device1/index.rst
我在./device1/index.rst中写了这个,还是不行,如何导入父rst文件?
.. toctree::
:maxdepth: 1
../intro
../about
【问题讨论】:
标签: python-sphinx