Last active
August 29, 2015 14:09
-
-
Save cebe/299d366904f9519be1de to your computer and use it in GitHub Desktop.
script to generate all the docs for yii2
This file contains hidden or 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
#!/bin/sh | |
YII_PATH=~/dev/github/yiisoft/yii2 | |
APIDOC_PATH=~/dev/github/yiisoft/yii2/extensions/apidoc | |
OUTPUT=outtest | |
cd $APIDOC_PATH | |
./apidoc api $YII_PATH/framework/,$YII_PATH/extensions $OUTPUT/api --guide=../guide-en --interactive=0 | |
./apidoc guide $YII_PATH/docs/guide $OUTPUT/guide-en --apiDocs=../api --interactive=0 | |
./apidoc guide $YII_PATH/docs/guide-ru $OUTPUT/guide-ru --apiDocs=../api --interactive=0 | |
# repeat for all languages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/yiisoft/yii2-apidoc#advanced-usage