APIDump: Offline prettify is working.
This commit is contained in:
parent
1e67ff3499
commit
1b7a84d494
@ -813,7 +813,14 @@ function WriteHtmlClass(a_ClassAPI, a_AllAPI)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
cf:write(" </div>\n </body>\n</html>");
|
cf:write([[
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
prettyPrint();
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
]]);
|
||||||
cf:close();
|
cf:close();
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -879,6 +886,9 @@ function WriteHtmlHook(a_Hook)
|
|||||||
f:write(" <pre class=\"prettyprint lang-lua\">" .. (example.Code or "<i>missing Code</i>") .. "\n </pre>\n\n");
|
f:write(" <pre class=\"prettyprint lang-lua\">" .. (example.Code or "<i>missing Code</i>") .. "\n </pre>\n\n");
|
||||||
end
|
end
|
||||||
f:write([[ </div>
|
f:write([[ </div>
|
||||||
|
<script>
|
||||||
|
prettyPrint();
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>]]);
|
</html>]]);
|
||||||
f:close();
|
f:close();
|
||||||
|
Loading…
Reference in New Issue
Block a user