Can sphinx link to documents that are not located in directories below the root document?

前端 未结 6 1525
余生分开走
余生分开走 2020-12-02 10:22

I am using Sphinx to document a non-Python project. I want to distribute ./doc folders in each submodule, containing submodule_name.rst files to d

6条回答
  •  遥遥无期
    2020-12-02 10:47

    One solution, if it's really impossible to use relative links that back up ../ is that I could use shutil to copy the files into the spec folder tree in the conf.py for the spec, but I'd rather not have multiple copies unless absolutely necessary.

提交回复
热议问题