File: update_reference.sh

package info (click to toggle)
hazwaz 0.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 312 kB
  • sloc: python: 431; sh: 51; makefile: 15
file content (13 lines) | stat: -rwxr-xr-x 351 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# This script generates new autodoc files for the hazwaz reference, overwriting
# all existing files.

cd $(dirname "$0")/..

echo "This will overwrite all existing files in the docs/source/reference/"
echo "continue? (press enter to continue, or ctrl-C to abort)"

read continue

sphinx-apidoc -f -e -M -o docs/source/reference/ hazwaz $*