LDoc: change to generate HTML docs in docs/reference directory

This commit is contained in:
Jordan Irwin 2021-08-28 19:44:25 -07:00
parent f9182d8974
commit d943c37f33
4 changed files with 6 additions and 5 deletions

@ -8,6 +8,7 @@ f_config="${d_ldoc}/config.ld"
cd "${d_root}"
# Clean old files
rm -rf "${d_docs}/api.html" "${d_docs}/scripts" "${d_docs}/modules" "${d_docs}/source"
rm -rf "${d_docs}/reference"
# Create new files
ldoc -c "${f_config}" -d "${d_docs}" -o "api" "${d_root}"
ldoc -c "${f_config}" -d "${d_docs}/reference" "${d_root}"

@ -42,7 +42,7 @@ Optional depends: none
- [![ContentDB](https://content.minetest.net/packages/AntumDeluge/wdata/shields/title/)](https://content.minetest.net/packages/AntumDeluge/wdata/)
- [Forum](https://forum.minetest.net/viewtopic.php?t=26804)
- [Git repo](https://github.com/AntumMT/mod-wdata)
- [API](https://antummt.github.io/mod-wdata/docs/api.html)
- [Reference](https://antummt.github.io/mod-wdata/docs/reference/)
- [Changelog](changelog.txt)
- [TODO](TODO.txt)

@ -123,7 +123,7 @@
Table data to be written to config file.
</li>
<li><span class="parameter">flags</span>
<span class="types"><a class="type" href="api.html#FlagsDef">FlagsDef</a></span>
<span class="types"><a class="type" href="index.html#FlagsDef">FlagsDef</a></span>
@ -180,7 +180,7 @@
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/AntumDeluge/LDoc/tree/custom">LDoc 1.4.6-antum-dev</a></i>
<i style="float:right;">Last updated 2021-08-28 19:22:25 </i>
<i style="float:right;">Last updated 2021-08-28 19:42:56 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>