forked from yui/yuidoc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Adam Moore
committed
Jan 15, 2009
1 parent
bb246ef
commit 1623fbc
Showing
3 changed files
with
106 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
*.pyc | ||
build_tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
#!/bin/sh | ||
|
||
############################################################################## | ||
|
||
# The location of your yuidoc install | ||
# yuidoc_home=yahoo/presentation/tools/yuidoc | ||
# yuidoc_home=~/www/yuidoc/yuidoc | ||
yuidoc_home=.. | ||
|
||
src=~/src/yui3/src | ||
|
||
# The location of the files to parse. Parses subdirectories, but will fail if | ||
# there are duplicate file names in these directories. | ||
# parser_in="$src/animation \ | ||
# $src/attribute \ | ||
# $src/base \ | ||
# $src/dd \ | ||
# $src/dom \ | ||
# $src/json \ | ||
# $src/json-parse \ | ||
# $src/json-stringify \ | ||
# $src/node \ | ||
# $src/queue \ | ||
# $src/yui" | ||
#parser_in="$src" | ||
parser_in="$src/yui \ | ||
$src/anim \ | ||
$src/attribute \ | ||
$src/base \ | ||
$src/classnamemanager \ | ||
$src/console \ | ||
$src/cookie \ | ||
$src/dd \ | ||
$src/dd-plugin \ | ||
$src/dom \ | ||
$src/dump \ | ||
$src/event \ | ||
$src/get \ | ||
$src/io \ | ||
$src/json \ | ||
$src/loader \ | ||
$src/node \ | ||
$src/node-menunav \ | ||
$src/oop \ | ||
$src/overlay \ | ||
$src/profiler \ | ||
$src/plugin \ | ||
$src/queue \ | ||
$src/slider \ | ||
$src/stylesheet \ | ||
$src/substitute \ | ||
$src/widget \ | ||
$src/widget-position \ | ||
$src/widget-position-ext \ | ||
$src/widget-stdmod \ | ||
$src/widget-stack \ | ||
$src/yuitest" | ||
|
||
# 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_tmp/yuidoc_tmp | ||
|
||
# The directory to put the html file outputted by the generator | ||
generator_out=build_tmp/api | ||
|
||
# The location of the template files. Any subdirectories here will be copied | ||
# verbatim to the destination directory. | ||
template=$yuidoc_home/template | ||
|
||
version=`cat version.txt` | ||
|
||
############################################################################## | ||
|
||
$yuidoc_home/bin/yuidoc.py $parser_in -p $parser_out -o $generator_out -t $template -v $version -s $* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/sh | ||
|
||
############################################################################## | ||
|
||
# The location of your yuidoc install | ||
# yuidoc_home=yahoo/presentation/tools/yuidoc | ||
# yuidoc_home=~/www/yuidoc/yuidoc | ||
yuidoc_home=.. | ||
|
||
src=~/src/yui3/src | ||
|
||
parser_in="$src/event" | ||
|
||
# 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_tmp/yuidoc_tmp | ||
|
||
# The directory to put the html file outputted by the generator | ||
generator_out=build_tmp/api | ||
|
||
# The location of the template files. Any subdirectories here will be copied | ||
# verbatim to the destination directory. | ||
template=$yuidoc_home/template | ||
|
||
version=`cat version.txt` | ||
|
||
############################################################################## | ||
|
||
$yuidoc_home/bin/yuidoc.py $parser_in -p $parser_out -o $generator_out -t $template -v $version -s $* | ||
|