This repository has been archived by the owner on May 12, 2018. It is now read-only.
forked from yui/yuidoc
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
Jun 17, 2009
1 parent
f122cda
commit 8f7864d
Showing
2 changed files
with
60 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 |
---|---|---|
@@ -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/queue/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_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/yui/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_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="localtest" | ||
|
||
############################################################################## | ||
|
||
$yuidoc_home/bin/yuidoc.py $parser_in -p $parser_out -o $generator_out -t $template -v $version -s $* | ||
|