diff --git a/lib/hero/heroserver/doc_handler.v b/lib/hero/heroserver/doc_handler.v index bb708d5a..f9846862 100644 --- a/lib/hero/heroserver/doc_handler.v +++ b/lib/hero/heroserver/doc_handler.v @@ -4,22 +4,10 @@ import veb @['/doc/:handler_type'] pub fn (mut server HeroServer) doc_handler(mut ctx Context, handler_type string) veb.Result { - // Simplified documentation response - html_content := ' - - - - API Documentation - - - -
-

API Documentation

-

Documentation will be generated here.

-
- - - ' + + //TODO: use the templates doc.html... + // use the DocSpec + panic("implement") return ctx.html(html_content) } \ No newline at end of file