sphinx-doc/sphinx

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

Fermée

#11 873 ouverte le 12 janv. 2024

 (3 commentaires) (4 réactions) (0 personne assignée)Python (1 985 forks)batch import
good first issuehelp wanted

Métriques du dépôt

Stars
 (5 625 étoiles)
Métriques de merge PR
 (Merge moyen 10j 11h) (11 PRs mergées en 30 j)

Description

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

Guide contributeur