Resolve block macro targets relative to docdir rather than Dir.pwd