docs.sh revision cc70141342b8690e43bef6d8cef0c38fcfba8227
#!/bin/sh
# The location of your yuidoc install
yuidoc_home=../../../yuidoc
# The location of the files to parse. Parses subdirectories, but will fail if
# there are duplicate file names in these directories. You can specify multiple
# source trees:
# parser_in="%HOME/www/yui/src %HOME/www/event/src"
parser_in=js
# The location to output the parser data. This output is a file containing a
# json string, and copies of the parsed files.
parser_out=build_api_parser
# The directory to put the html file outputted by the generator
generator_out=build_api
# The location of the template files. Any subdirectories here will be copied
# verbatim to the destination directory.
template=$yuidoc_home/template
# The version of your project to display within the documentation.
version=1.0.0
# The version of YUI the project is using. This effects the output for
# YUI configuration attributes. This should start with '2' or '3'.
yuiversion=3
##############################################################################
# add -s to the end of the line to show items marked private
$yuidoc_home/bin/yuidoc.py $parser_in -p $parser_out -o $generator_out -t $template -v $version -Y $yuiversion