This makes epy_docgen.sh compatible with epy_docgen-3.sh. I am not sure why we would need both scripts. Perhaps someone with epdoc version 3 can test.
13 lines
379 B
Bash
13 lines
379 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" --top API_intro.py \
|
|
--name "Blender" --no-private --no-frames \
|
|
$( ls [A-Z]*.py )
|