sphinx-doc/sphinx
Provide a better error message if the master document is not included in project documents
已關閉
#11,873 建立於 2024年1月12日
good first issuehelp wanted
倉庫指標
- 星標
- (5,625 顆星)
- PR 合併指標
- (平均合併 10天 11小時) (30 天內合併 11 個 PR)
描述
If index.rst does not appear in the pattern of a custom {include,exclude}_patterns, the error message is less than helpful. Instead, we should check that the master doc appears in the Project documents, and provide a better error if it doesn’t.
Inspiration from https://github.com/sphinx-doc/sphinx/issues/11722#issuecomment-1886157588