Change API reference URL

This commit is contained in:
Jordan Irwin 2021-07-19 17:34:36 -07:00
parent b133b86d34
commit a12b8eb0dd
2 changed files with 7 additions and 7 deletions

@ -77,6 +77,6 @@ Settings:
- [Forum thread](https://forum.minetest.net/viewtopic.php?t=26685) - [Forum thread](https://forum.minetest.net/viewtopic.php?t=26685)
- [Original forum thread](https://forum.minetest.net/viewtopic.php?t=11891) - [Original forum thread](https://forum.minetest.net/viewtopic.php?t=11891)
- [Git repo](https://github.com/AntumMT/mod-sneeker) - [Git repo](https://github.com/AntumMT/mod-sneeker)
- [Reference](https://antummt.github.io/mod-sneeker/docs/api.html) - [Reference](https://antummt.github.io/mod-sneeker/docs/reference/
- [Changelog](changelog.txt) - [Changelog](changelog.txt)
- [TODO](TODO.txt) - [TODO](TODO.txt)

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
DOCS="$(dirname $(readlink -f $0))" docs="$(dirname $(readlink -f $0))"
ROOT="$(dirname ${DOCS})" root="$(dirname ${docs})"
CONFIG="${DOCS}/config.ld" config="${docs}/config.ld"
cd "${ROOT}" cd "${root}"
# Clean old files # Clean old files
rm -rf "${DOCS}/api.html" "${DOCS}/scripts" "${DOCS}/modules" rm -rf "${docs}/reference"
# Create new files # Create new files
ldoc -c "${CONFIG}" -d "${DOCS}" -o "api" "${ROOT}" ldoc -c "${config}" -d "${docs}/reference" "${root}"