sphinx-doc/sphinx

Provide a better error message if the master document is not included in project documents

クローズ

#11,873 opened on 2024/01/12

 (3 件のコメント) (4 件のリアクション) (0 人の担当者)Python (1,985 件のフォーク)batch import
good first issuehelp wanted

Repository metrics

Stars
 (5,625 個のスター)
PR merge metrics
 (平均マージ 10d 11h) (30d で 11 merged PRs)

説明

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

コントリビューターガイド