Remove extra docs from docs

This commit is contained in:
Anton Medvedev 2021-09-26 15:43:51 +02:00
parent 3216576680
commit 8042e85f83
15 changed files with 38 additions and 37 deletions

View File

@ -10,11 +10,9 @@ namespace Deployer;
use Deployer\Documentation\ApiGen;
use Deployer\Documentation\DocGen;
use Deployer\Support\Changelog\Parser;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Style\SymfonyStyle;
require __DIR__ . '/../vendor/autoload.php';

View File

@ -151,7 +151,7 @@ The Messages
### chatwork_send_message
[Source](https://github.com/deployphp/deployer/blob/master/contrib/chatwork.php#L107)
.
Helpers

View File

@ -105,7 +105,7 @@ The message
### discord_send_message
[Source](https://github.com/deployphp/deployer/blob/master/contrib/discord.php#L84)
.
Helpers

View File

@ -121,7 +121,7 @@ Notifying Google Hangouts Chat about deploy finish.
### chat:notify:failure
[Source](https://github.com/deployphp/deployer/blob/master/contrib/hangouts.php#L150)
.

View File

@ -134,7 +134,7 @@ Deploy message
### telegram:notify
[Source](https://github.com/deployphp/deployer/blob/master/contrib/telegram.php#L90)
.

View File

@ -48,7 +48,7 @@ CakePHP 4 Project Template shared files
### deploy:init
[Source](https://github.com/deployphp/deployer/blob/master/recipe/cakephp.php#L27)
.
Create plugins' symlinks
@ -56,7 +56,7 @@ Create plugins' symlinks
### deploy:run_migrations
[Source](https://github.com/deployphp/deployer/blob/master/recipe/cakephp.php#L34)
.
Run migrations
@ -64,7 +64,7 @@ Run migrations
### deploy
[Source](https://github.com/deployphp/deployer/blob/master/recipe/cakephp.php#L43)
.
Main task

View File

@ -193,7 +193,7 @@ The deploy target: a branch, a tag or a revision.
### deploy:prepare
[Source](https://github.com/deployphp/deployer/blob/master/recipe/common.php#L170)
.
@ -211,7 +211,7 @@ This task is group task which contains next tasks:
### deploy:publish
[Source](https://github.com/deployphp/deployer/blob/master/recipe/common.php#L180)
.
@ -226,7 +226,7 @@ This task is group task which contains next tasks:
### deploy:success
[Source](https://github.com/deployphp/deployer/blob/master/recipe/common.php#L190)
.
Prints success message
@ -234,7 +234,7 @@ Prints success message
### deploy:failed
[Source](https://github.com/deployphp/deployer/blob/master/recipe/common.php#L200)
.
Hook on deploy failure.

View File

@ -15,7 +15,7 @@
### deploy:info
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/info.php#L4)
.

View File

@ -70,7 +70,7 @@ Drupal 7 writable dirs
### deploy
[Source](https://github.com/deployphp/deployer/blob/master/recipe/drupal7.php#L8)
.
@ -83,7 +83,7 @@ This task is group task which contains next tasks:
### drupal:settings
[Source](https://github.com/deployphp/deployer/blob/master/recipe/drupal7.php#L33)
.
Create and upload Drupal 7 settings.php using values from secrets
@ -91,7 +91,7 @@ Create and upload Drupal 7 settings.php using values from secrets
### drupal:upload_files
[Source](https://github.com/deployphp/deployer/blob/master/recipe/drupal7.php#L75)
.
Upload Drupal 7 files folder

View File

@ -71,7 +71,7 @@ Drupal 8 Writable dirs
### deploy
[Source](https://github.com/deployphp/deployer/blob/master/recipe/drupal8.php#L8)
.

View File

@ -62,7 +62,7 @@ Clear cache
### deploy:clear_version
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento.php#L32)
.
Remove files that can be used to compromise Magento

View File

@ -33,7 +33,7 @@ Create Custom Layouts.
### pimcore:deploy
[Source](https://github.com/deployphp/deployer/blob/master/recipe/pimcore.php#L22)
.

View File

@ -74,7 +74,7 @@ Upgrade all packages.
### provision:add-repositories
[Source](https://github.com/deployphp/deployer/blob/master/recipe/provision/provision.php#L48)
.

View File

@ -99,7 +99,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:update_code
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L38)
.
@ -107,7 +107,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:system:install
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L41)
.
@ -115,7 +115,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:build
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L44)
.
@ -123,7 +123,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:system:setup
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L47)
.
@ -131,7 +131,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:theme:compile
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L50)
.
@ -139,7 +139,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:cache:clear
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L53)
.
@ -147,7 +147,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:cache:warmup
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L56)
.
@ -155,7 +155,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:database:migrate
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L60)
.
@ -163,7 +163,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:plugin:refresh
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L63)
.
@ -171,7 +171,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:plugin:activate:all
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L133)
.
@ -179,7 +179,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:plugin:migrate:all
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L154)
.
@ -187,7 +187,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:plugin:upgrade:all
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L174)
.
@ -195,7 +195,7 @@ Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `r
### sw:deploy
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L197)
.
Grouped SW deploy tasks

View File

@ -244,8 +244,11 @@ function remove_text_emoji(string $text): string
function add_tailing_dot(string $sentence): string
{
if (!str_ends_with($sentence, '.')) {
$sentence .= '.';
if (empty($sentence)) {
return $sentence;
}
return $sentence;
if (str_ends_with($sentence, '.')) {
return $sentence;
}
return $sentence . '.';
}