locales. needed to make "ls [A-Z]*.py" work properly. Setting LC_ALL=C may be a better choice than LC_ALL=POSIX. We shall see.
13 lines
371 B
Bash
13 lines
371 B
Bash
# epy_docgen.sh
|
|
# generates blender python doc using epydoc
|
|
# requires epydoc in your PATH.
|
|
# run from the doc directory containing the .py files
|
|
# usage: sh epy_docgen.sh
|
|
|
|
# set posix locale so regex works properly for [A-Z]*.py
|
|
LC_ALL=POSIX
|
|
|
|
epydoc -o BPY_API --url "http://www.blender.org" -t API_intro.py \
|
|
-n "Blender" --no-private --no-frames \
|
|
$( ls [A-Z]*.py )
|