11
我是獅身人面像的新手。我嘗試了這個教程,但是我沒有在內容中生成鏈接。我得到獅身人面像無法獲得TOCTREE顯示鏈接
C:\Users\mhaikalm\sphinxtest\source\index.rst:11: WARNING: toctree contains refe
rence to document 'intro' that doesn't have a title: no link will be generated
C:\Users\mhaikalm\sphinxtest\source\index.rst:11: WARNING: toctree contains refe
rence to document 'zuhdi' that doesn't have a title: no link will be generated
writing additional files... (0 module code pages) genindex search
copying static files... done
dumping search index... done
dumping object inventory... done
build succeeded, 3 warnings.
Build finished. The HTML pages are in build/html.
的錯誤我已經在相同目錄下創建zuhdi.rst
和intro.rst
爲index.rst
。我怎樣才能把文件的標題?
爲了您的信息,我的index.rst包含這些行:
Contents:
.. toctree::
:maxdepth: 2
intro
zuhdi
執行文件必須存在我把在toctree的聯繫? intro.rst
和zuhdi.rst
只是一個空文件。
很抱歉的延遲審批 –
@HaikalNashuha:哈哈!很高興我能夠提供幫助 – inspectorG4dget