improve docs

This commit is contained in:
Evil Factory
2022-03-26 14:19:39 -03:00
parent fd377454a3
commit 05a65a1207
9 changed files with 124 additions and 198 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
<div class="wrapper">
<p style="text-align: center;"></p>
<h2>Welcome to the Lua For Barotrauma documentation!</h2>
<p>This is a work in progress documentation, not everything is documented here, but because Barotrauma classes are exposed to lua, you can check the Barotrauma source code for functions and fields that you can access.</p>
<p>This is a work in progress documentation, not everything is documented here, but because Barotrauma classes are exposed to Lua, you can check the Barotrauma source code for functions and fields that you can access.</p>
<h2>Installing Lua For Barotrauma</h2>
<p>Downloading and using the Core Content Package from <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2559634234" target="_blank">Workshop</a> should be enough to have it installed, but if you want to install it manually, you can check out <a href="{* ldoc.url('manual/installing-lua-for-barotrauma-manually') *}">this guide.</a>
+1 -1
View File
@@ -78,7 +78,7 @@ end
var elements = document.querySelectorAll("pre code")
hljs.configure({
languages: ["lua"]
languages: ["lua", ""]
});
for (var i = 0; i < elements.length; i++)