src/doc/api: add links to renderer code
authorAlexandre Terrasa <alexandre@moz-code.org>
Fri, 1 Jun 2018 16:38:35 +0000 (12:38 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Sun, 10 Jun 2018 17:25:06 +0000 (13:25 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/doc/api/api_base.nit

index 9b84a35..4c3db90 100644 (file)
@@ -225,6 +225,10 @@ redef class MVirtualType
        redef var api_url = mproperty.api_url is lazy
 end
 
+redef class HtmlightVisitor
+       redef fun hrefto(mentity) do return mentity.html_url
+end
+
 redef class CmdLicenseFile
        redef var file_url is lazy do
                var mentity = self.mentity