String module = request.path.substring(request.path.indexOf("-") + 1);
module = module.substring(0, module.indexOf("/"));
VirtualFile f = Yalp.modules.get(module).child("documentation/api/" + request.path.substring(8 + module.length()));
if (f.exists()) {
response.contentType = MimeTypes.getMimeType(f.getName());
response.out.write(f.content());
}
return true;
}
File f = new File(Yalp.frameworkPath, "documentation/api/" + request.path.substring(6));
if (f.exists()) {