Commit 4b09a74d authored by Emmanuele Bassi's avatar Emmanuele Bassi
Browse files

template: Fix link generation for class methods

The link pattern for class methods is:

    class_method.ClassName.method_name.html

where `ClassName` is the instance structure for the given class
structure.

Fixes: #92
parent 6485146f
Pipeline #292502 passed with stage
in 1 minute and 50 seconds
......@@ -182,7 +182,7 @@ function getLinkForDocument(doc) {
case "bitfield": return "flags." + doc.name + ".html";
case "callback": return "callback." + doc.name + ".html";
case "class": return "class." + doc.name + ".html";
case "class_method": return "class_method." + doc.type_name + "." + doc.name + ".html";
case "class_method": return "class_method." + doc.struct_for + "." + doc.name + ".html";
case "constant": return "const." + doc.name + ".html";
case "ctor": return "ctor." + doc.type_name + "." + doc.name + ".html";
case "domain": return "error." + doc.name + ".html";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment