-
Notifications
You must be signed in to change notification settings - Fork 210
Closed
Labels
Milestone
Description
Currently my build gets hundreds of these lines:
/home/larsoner/custombuilds/mne-python/doc/generated/mne.write_labels_to_annot.rst:8: SEVERE: Problems with "include" directive path:
InputError: [Errno 2] No such file or directory: 'generated/mne.write_labels_to_annot.examples'.
It makes it difficult to find the actual useful Sphinx warnings.
I think it comes from:
doc/_templates/module.rst: .. include:: {{fullname}}.{{item}}.examples
Is there a way to have the template only include the .examples file if it exists, or by default filter out any warnings in sphinx that occur of this form?