mod-sneeker/docs/gendoc.sh
2021-07-19 17:34:36 -07:00

14 lines
235 B
Bash

#!/bin/bash
docs="$(dirname $(readlink -f $0))"
root="$(dirname ${docs})"
config="${docs}/config.ld"
cd "${root}"
# Clean old files
rm -rf "${docs}/reference"
# Create new files
ldoc -c "${config}" -d "${docs}/reference" "${root}"