mod-sneeker/docs/gendoc.sh

14 lines
235 B
Bash
Raw Normal View History

#!/bin/bash
2021-07-20 02:34:36 +02:00
docs="$(dirname $(readlink -f $0))"
root="$(dirname ${docs})"
config="${docs}/config.ld"
2021-07-20 02:34:36 +02:00
cd "${root}"
# Clean old files
2021-07-20 02:34:36 +02:00
rm -rf "${docs}/reference"
# Create new files
2021-07-20 02:34:36 +02:00
ldoc -c "${config}" -d "${docs}/reference" "${root}"