New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yii2-apidoc error related to the new asset management #5101
Comments
Have you added the lines as described in the UPDATE file to your composer.json and ran composer update? |
Thanks, I forgot about it. I use script for generating api-doc: echo "Downloading the Composer"
curl -sS https://getcomposer.org/installer | $phpexec
echo "Installing plugin fxp/composer-asset-plugin to Composer"
$phpexec composer.phar require "fxp/composer-asset-plugin:1.0.*@dev"
echo "Installing Yii2-apidoc"
$phpexec composer.phar install after added $phpexec composer.phar require "fxp/composer-asset-plugin:1.0.*@dev" |
Problem not fixed. echo "Downloading Yii2 guide"
git clone https://github.com/yiisoft/yii2
ln -s ./yii2/docs/guide ./yii2-guide
echo "Downloading Yii2-apidoc"
git clone https://github.com/yiisoft/yii2-apidoc
# go in
cd yii2-apidoc
echo "Downloading the Composer"
curl -sS https://getcomposer.org/installer | $phpexec
echo "Installing plugin fxp/composer-asset-plugin to Composer"
$phpexec composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev"
echo "Installing Yii2-apidoc"
$phpexec composer.phar install
$phpexec composer.phar update
echo "Handling Yii2 guide, 1st iteration."
$phpexec ./apidoc guide "../yii2-guide" "../$docset"
echo "Handling phpDoc in Yii2 files."
$phpexec ./apidoc api ./vendor/yiisoft/yii2 "../$docset"
echo "Handling Yii2 guide, 2nd iteration (creating links)"
$phpexec ./apidoc guide "../yii2-guide" "../$docset"
|
Thanks for the detailed report, should be fixed by 45a748a. |
Seems to be done. Thanks! I maintain https://github.com/stepanselyuk/dash-docset-yii2 with that. |
Error occured within generation process:
Rendering markdown files: 0% (0/85) ETA: n/a Error: The file or directory to be published does not exist: /Volumes/WebDev HD/dash-docset-yii2/yii2-apidoc/vendor/bower/bootstrap/dist
I see required directory is ./vendor/bower-asset/bootstrap/dist but not is ./vendor/bower/bootstrap/dist
The text was updated successfully, but these errors were encountered: