I’m using http://apidocjs.com/ to generate a doc file and it generates a few HTML files with some JS.

I want to display the index.html inside my view but when I put the files there it doesn’t find.

I already put the render to render my index.html from apiDocs but the index.html includes a lot of javascript, css and more. Is there any way to do that outside the controller?

All I want is enabling only logged users to access my doc file that’s all.