相关疑难解决方法(0)

不能让sphinx在toctree下链接到另一个文档

我正在尝试学习狮身人面像,并坚持只是基本的例子.我make html在源目录中的a上被给出以下错误.

Running Sphinx v1.1.3
loading pickled environment... not yet created
building [html]: targets for 2 source files that are out of date
updating environment: 2 added, 0 changed, 0 removed
reading sources... [100%] intro                                                 
/home/owner/Desktop/doc/index.rst:11: ERROR: Error in "toctree" directive:
invalid option block.

.. toctree::
   :maxdepth: 2
   intro.rst
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/owner/Desktop/doc/intro.rst:: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [100%] intro                                                  
writing additional …
Run Code Online (Sandbox Code Playgroud)

python documentation restructuredtext python-sphinx

5
推荐指数
1
解决办法
4161
查看次数