mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-16 01:40:27 +02:00
Merge pull request #13048 from ctrlaltdavid/21856-c
Fix and reorder custom JSDoc tags
This commit is contained in:
commit
f520abc6f9
1 changed files with 6 additions and 6 deletions
|
@ -94,20 +94,20 @@ exports.handlers = {
|
||||||
if (e.doclet.hifiInterface) {
|
if (e.doclet.hifiInterface) {
|
||||||
rows.push("Interface Scripts");
|
rows.push("Interface Scripts");
|
||||||
}
|
}
|
||||||
if (e.doclet.hifiAssignmentClient) {
|
|
||||||
rows.push("Assignment Client Scripts");
|
|
||||||
}
|
|
||||||
if (e.doclet.hifiClientEntity) {
|
if (e.doclet.hifiClientEntity) {
|
||||||
rows.push("Client Entity Scripts");
|
rows.push("Client Entity Scripts");
|
||||||
}
|
}
|
||||||
if (e.doclet.hifiServerEntity) {
|
if (e.doclet.hifiServerEntity) {
|
||||||
rows.push("Server Entity Scripts");
|
rows.push("Server Entity Scripts");
|
||||||
}
|
}
|
||||||
|
if (e.doclet.hifiAssignmentClient) {
|
||||||
|
rows.push("Assignment Client Scripts");
|
||||||
|
}
|
||||||
|
|
||||||
// Append an Available In: table at the end of the namespace description.
|
// Append an Available In: table at the end of the namespace description.
|
||||||
if (rows.length > 0) {
|
if (rows.length > 0) {
|
||||||
var table = "<br><br><table><td>Available In:<td>" + rows.join("<td>") + "</table>";
|
var table = "<br><br><table><tr><th>Available in:</th><td>" + rows.join("</td><td>") + "</td></tr></table>";
|
||||||
e.doclet.description = e.doclet.description + table;
|
e.doclet.description = (e.doclet.description ? e.doclet.description : "") + table;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -124,7 +124,7 @@ exports.defineTags = function (dictionary) {
|
||||||
});
|
});
|
||||||
|
|
||||||
// @hifi-assignment-client
|
// @hifi-assignment-client
|
||||||
dictionary.defineTag("hifi-assigment-client", {
|
dictionary.defineTag("hifi-assignment-client", {
|
||||||
onTagged: function (doclet, tag) {
|
onTagged: function (doclet, tag) {
|
||||||
doclet.hifiAssignmentClient = true;
|
doclet.hifiAssignmentClient = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue