Skip to content

Commit

Permalink
Fix docgen
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Oct 12, 2024
1 parent 2884fed commit 2695fdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions docs/recipe/shopware.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The [deploy](#deploy) task of **Shopware** consists of:
* [deploy:setup](/docs/recipe/deploy/setup.md#deploysetup) – Prepares host for deploy
* [deploy:lock](/docs/recipe/deploy/lock.md#deploylock) – Locks deploy
* [deploy:release](/docs/recipe/deploy/release.md#deployrelease) – Prepares release
* [deploy:update_code](/docs/recipe/shopware.md#deployupdate_code)
* [deploy:update_code](/docs/recipe/deploy/update_code.md#deployupdate_code)Updates code
* [deploy:shared](/docs/recipe/deploy/shared.md#deployshared) – Creates symlinks for shared files and dirs
* [deploy:writable](/docs/recipe/deploy/writable.md#deploywritable) – Makes writable dirs
* [sw:deploy](/docs/recipe/shopware.md#swdeploy)
Expand Down Expand Up @@ -277,14 +277,6 @@ This task is group task which contains next tasks:
* [deploy:publish](/docs/recipe/common.md#deploypublish)


### deploy:update_code
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L153)






### sw-build-without-db:get-remote-config
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L163)

Expand Down
2 changes: 1 addition & 1 deletion src/Documentation/DocRecipe.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function parse(string $content)
$currentTask = $task;
break;
}
if ($match('^task\([\'"](?<task_name>[\w_:-]+?)[\'"]')) {
if ($match('^task\([\'"](?<task_name>[\w_:-]+?)[\'"],')) {
$task = new DocTask();
$task->name = $m['task_name'];
$task->desc = $desc;
Expand Down

0 comments on commit 2695fdb

Please sign in to comment.