sphinx-doc/sphinx

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

Open

#11.873 aberto em 12 de jan. de 2024

Ver no GitHub
 (3 comments) (4 reactions) (0 assignees)Python (1.985 forks)batch import
good first issuehelp wanted

Métricas do repositório

Stars
 (5.625 stars)
Métricas de merge de PR
 (Mesclagem média 13d 10h) (8 fundiu PRs em 30d)

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

Guia do colaborador