phpDocumentor / guides

Guides library to parse documentation
MIT License
32 stars 15 forks source link

[Bug]: Included files show errors and warnings at the include location #1067

Open linawolf opened 4 weeks ago

linawolf commented 4 weeks ago

Summary

When you include a file that has a warning, it will give you no real hint on where the problem lies:

Code snippet that reproduces the problem

Page Types/Index includes several rst files. one of them has a warning

Output: [2024-09-07T07:43:19.947049+00:00] app.WARNING: Reference subtypes-excludelist could not be resolved in Types/Index {"rst-file":"Types/Index"} []

Expected output

[2024-09-07T07:43:19.947049+00:00] app.WARNING: Reference subtypes-excludelist could not be resolved in Types/Index {"rst-include":"Types/_Properties/XYZ"} ['line':42 ]