sphinx import parent dir rst file?

后端 未结 2 619
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-20 14:38

I need to create one sphinx project for each module,

and each module share some common rsts, like company info, license, etc.

My project tree is like this:

2条回答
  •  佛祖请我去吃肉
    2021-02-20 15:15

    I found a way to do this:

    .. include:: ../intro.rst
    

    but it will include all the texts... maybe it is the only way?

提交回复
热议问题