QDoc: Document where \snippet looks for files
Authors sometimes assume a relative \snippet path resolves against
sourcedirs, the same tree their documented code lives in. It doesn't.
QDoc searches only the exampledirs and imagedirs trees, so a snippet
kept alongside the source it illustrates is silently unreachable, and
the manual says nothing to correct the assumption.
This change updates the QDoc manual by stating which qdocconf variables
control snippet resolution. It also notes that sourcedirs and headerdirs
are never searched, and explains that the first matching file wins with
directories consulted in lexicographic order so one file can shadow
another. The same note covers \quotefile and \quotefromfile, which
resolve their files the same way.
Task-number: QTBUG-130914
Change-Id: Ib9514c23add140939e3252a9fcb264e19d091b4d
Reviewed-by: David Boddie <david.boddie@qt.io>