Clean up lua docs scripts

- ldoc is now a git submodule
- ldoc can be installed using scripts/install.{sh,ps1}
- lua docs can be build using scripts/build.{sh,ps1}
- all lua docs-related files now reside inside of the docs folder
This commit is contained in:
peelz
2022-08-03 21:34:41 -04:00
parent 9a621237f0
commit 5d11c28db6
15 changed files with 178 additions and 46 deletions
+3 -3
View File
@@ -55,18 +55,18 @@ end
<body>
<main>
{(docs/templates/sidebar.ltp)}
{(templates/sidebar.ltp)}
<article>
{% if (ldoc.root) then -- we're rendering the landing page (index.html) %}
{(docs/templates/landing.ltp)}
{(templates/landing.ltp)}
{% elseif (ldoc.body) then -- we're rendering non-code elements %}
<div class="wrapper">
{* ldoc.body *}
</div>
{% elseif (module) then -- we're rendering libary contents %}
<div class="wrapper">
{(docs/templates/module.ltp)}
{(templates/module.ltp)}
</div>
{% end %}
</article>