How is the darktable usermanual is generated?

I see that we are rewriting image URIs, which seems like a bad idea.

It looks like if I open darktable.XML in an editor, it can’t resolve the image paths. Am I making some mistake here?