Skip to content

Instantly share code, notes, and snippets.

@cebe
Last active August 29, 2015 14:09
Show Gist options
  • Save cebe/299d366904f9519be1de to your computer and use it in GitHub Desktop.
Save cebe/299d366904f9519be1de to your computer and use it in GitHub Desktop.
script to generate all the docs for yii2
#!/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
@cebe
Copy link
Author

cebe commented Nov 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment