Extend xdoc with resource directories for images or other files.
fix up edgesynth documentation for new resource directory stuff