Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 5a895d4

Browse files
committed
Replace absolute links with site variables
1 parent cb68d99 commit 5a895d4

File tree

114 files changed

+280
-283
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+280
-283
lines changed

src/_includes/cloud/error-codes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Critical errors indicate a problem with the {{ site.data.var.ece }} project conf
4646
| 104 | | Failed to parse the `.magento.env.yaml` file | Configuration is not defined in the `./vendor/magento/ece-tools/config/schema.yaml` file. Check that the config variable name is correct, and that it is defined. |
4747
| 105 | | Unable to read the `.magento.env.yaml` file | Unable to read the `./.magento.env.yaml` file. Check file permissions. |
4848
| 106 | | Unable to read the `.schema.yaml` file | |
49-
| 107 | pre-deploy: clean-redis-cache | Failed to clean the Redis cache | Failed to clean the Redis cache. Check that the Redis cache configuration is correct and that the Redis service is available. See [Setup Redis service](https://devdocs.magento.com/cloud/project/services-redis.html). |
49+
| 107 | pre-deploy: clean-redis-cache | Failed to clean the Redis cache | Failed to clean the Redis cache. Check that the Redis cache configuration is correct and that the Redis service is available. See [Setup Redis service]({{ site.baseurl }}/cloud/project/services-redis.html). |
5050
| 108 | pre-deploy: set-production-mode | Command `/bin/magento maintenance:enable` failed | Check the `cloud.log` for more information. For more detailed command output, add the `VERBOSE_COMMANDS: '-vvv'` option to the `.magento.env.yaml` file. |
5151
| 109 | validate-config | Incorrect database configuration | Check that the `DATABASE_CONFIGURATION` environment variable is configured correctly. |
5252
| 110 | validate-config | Incorrect session configuration | Check that the `SESSION_CONFIGURATION` environment variable is configured correctly. The configuration must contain at least the `save` parameter. |
@@ -70,7 +70,7 @@ Critical errors indicate a problem with the {{ site.data.var.ece }} project conf
7070
| 128 | disable-maintenance-mode | Command `/bin/magento maintenance:disable` failed | Check the `cloud.log` for more information. Add `VERBOSE_COMMANDS: '-vvv'` into `.magento.env.yaml` for more detailed command output. |
7171
| 129 | install-update: reset-password | Unable to read reset password template | |
7272
| 130 | install-update: cache_type | Command failed: `php ./bin/magento cache:enable` | Command `php ./bin/magento cache:enable` runs only when Magento was installed but `./app/etc/env.php` file was absent or empty at the beginning of the deployment. Check the `cloud.log` for more information. Add `VERBOSE_COMMANDS: '-vvv'` into `.magento.env.yaml` for more detailed command output. |
73-
| 131 | install-update | The `crypt/key` key value does not exist in the `./app/etc/env.php` file or the `CRYPT_KEY` cloud environment variable | This error occurs if the `./app/etc/env.php` file is not present when Magento deployment begins, or if the `crypt/key` value is undefined. If you migrated the database from another environment, retrieve the crypt key value from that environment. Then, add the value to the [CRYPT_KEY](https://devdocs.magento.com/cloud/env/variables-deploy.html#crypt_key) cloud environment variable in your current environment. See [Add the Magento encryption key](https://devdocs.magento.com/cloud/setup/first-time-setup-import-import.html#encryption-key). If you accidentally removed the `./app/etc/env.php` file, use the following command to restore it from the backup files created from a previous deployment: `./vendor/bin/ece-tools backup:restore` CLI command ." |
73+
| 131 | install-update | The `crypt/key` key value does not exist in the `./app/etc/env.php` file or the `CRYPT_KEY` cloud environment variable | This error occurs if the `./app/etc/env.php` file is not present when Magento deployment begins, or if the `crypt/key` value is undefined. If you migrated the database from another environment, retrieve the crypt key value from that environment. Then, add the value to the [CRYPT_KEY]({{ site.baseurl }}/cloud/env/variables-deploy.html#crypt_key) cloud environment variable in your current environment. See [Add the Magento encryption key]({{ site.baseurl }}/cloud/setup/first-time-setup-import-import.html#encryption-key). If you accidentally removed the `./app/etc/env.php` file, use the following command to restore it from the backup files created from a previous deployment: `./vendor/bin/ece-tools backup:restore` CLI command ." |
7474
| 132 | | Can not connect to the Elasticsearch service | Check for valid Elasticsearch credentials and verify that the service is running |
7575
| 133 | validate-config | Remove Magento Braintree module configuration which is no longer supported in Magento 2.4 and later versions. | Support for the Braintree module is no longer included with Magento 2.4.0 and later. Remove the CONFIG__STORES__DEFAULT__PAYMENT__BRAINTREE__CHANNEL variable from the variables section of the .magento.app.yaml file. For Braintree support, use an official Braintree Payments extension from the Commerce Marketplace instead. |
7676
| 134 | validate-config | Magento 2.4.0 requires Elasticsearch service to be installed | Install Elasticsearch service |

src/_includes/layout/header-scripts.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
label: "Functional areas",
1919
attribute: "functional_areas"
2020
}],
21-
baseUrl: "https://devdocs.magento.com"
21+
baseUrl: "{{ site.baseurl }}"
2222
},
2323
{
2424
label: "User Guide",
2525
name: "merchdocs",
26-
baseUrl: "https://docs.magento.com/user-guide"
26+
baseUrl: "{{ site.user_guide_url }}"
2727
},
2828
{
2929
label: "Commerce Reporting User Guide",

src/cloud/cdn/cloud-vcl-custom-snippets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ You can create and manage custom VCL snippets from the Admin UI or by using the
4646
- [Admin UI](#manage-custom-vcl-snippets-from-the-magento-admin-ui)—We recommend using the Admin UI to manage custom VCL snippets because it automates the process to validate and upload the custom snippet and apply your changes to the Fastly service configuration. Additionally, you can view and edit the custom VCL snippets added to the Fastly service configuration from the Admin UI.
4747

4848
{:.bs-callout-info}
49-
You must use the Fastly API to [delete custom VCL snippets](https://devdocs.magento.com/cloud/cdn/cloud-vcl-custom-snippets.html#manage-vcl), or you can delete the contents of the snippet in the Admin UI and upload an empty snippet. See [Delete a custom snippet](https://devdocs.magento.com/cloud/cdn/fastly-vcl-badreferer.html#delete-the-custom-vcl-snippet).
49+
You must use the Fastly API to [delete custom VCL snippets]({{ site.baseurl }}/cloud/cdn/cloud-vcl-custom-snippets.html#manage-vcl), or you can delete the contents of the snippet in the Admin UI and upload an empty snippet. See [Delete a custom snippet]({{ site.baseurl }}/cloud/cdn/fastly-vcl-badreferer.html#delete-the-custom-vcl-snippet).
5050

5151
- [Fastly API](#manage-custom-vcl-snippets-using-the-api)—Manage custom VCL snippets using the API if you cannot access the Admin UI. For example, if the site is down and you need to troubleshoot the Fastly service configuration or add a custom VCL snippet. Additionally, some operations can only be completed using the API, for example reactivating an older VCL version or viewing all the VCL snippets included in a specified the VCL version. See [API quick reference for VCL snippets](#manage-vcl).
5252

src/cloud/cdn/configure-fastly.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ To update your DNS configuration for development:
217217
```
218218

219219
{:.bs-callout-info}
220-
As an alternative to using the Magento CLI, you can update the Base URL from the [Admin](https://docs.magento.com/user-guide/stores/store-urls.html#configure-the-base-url).
220+
As an alternative to using the Magento CLI, you can update the Base URL from the [Admin]({{ site.user_guide_url }}/stores/store-urls.html#configure-the-base-url).
221221

222222
1. Restart web browser.
223223

src/cloud/docker/docker-config-blackfire-io.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ To use Blackfire.io for performance testing in Cloud Docker:
106106
<!--Link definitions-->
107107
[Blackfire.io for {{site.data.var.ece}}]: https://blackfire.io/magento
108108
[Blackfire documentation]: https://support.blackfire.io/en/collections/145130-blackfire-on-magento-cloud.html
109-
[build or service configuration options]: https://devdocs.magento.com/cloud/docker/docker-quick-reference.html
110-
[Extend the Docker configuration]: https://devdocs.magento.com/cloud/docker/docker-extend.html#specify-docker-build-sources
109+
[build or service configuration options]: {{ site.baseurl }}/cloud/docker/docker-quick-reference.html
110+
[Extend the Docker configuration]: {{ site.baseurl }}/cloud/docker/docker-extend.html#specify-docker-build-sources
111111
[file synchronization options]: {{site.baseurl}}/cloud/docker/docker-syncing-data.html
112112
[Launch Docker in developer mode]: {{site.baseurl}}/cloud/docker/docker-mode-developer.html

src/cloud/docker/docker-config-sources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,10 @@ services:
344344

345345
<!--Link definitions-->
346346

347-
[hooks]: https://devdocs.magento.com/cloud/project/magento-app-properties.html#hooks
347+
[hooks]: {{ site.baseurl }}/cloud/project/magento-app-properties.html#hooks
348348
[.magento.app.yaml]: {{site.baseurl}}/cloud/project/magento-app.html
349349
[services.yaml]: {{site.baseurl}}/cloud/project/services.html
350-
[mounts]: https://devdocs.magento.com/cloud/project/magento-app-properties.html#mounts
350+
[mounts]: {{ site.baseurl }}/cloud/project/magento-app-properties.html#mounts
351351
[available services]: {{site.baseurl}}/cloud/project/services.html#service-versions
352352
[Override configuration]: {{site.baseurl}}/cloud/docker/docker-quick-reference.html#override-configuration
353353
[Service configuration options]: {{site.baseurl}}/cloud/docker/docker-containers.html#service-configuration-options

src/cloud/docker/docker-containers-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ docker-compose run --rm redis redis-cli -h redis
202202
**Docker base image**: [selenium/standalone-chrome/](https://hub.docker.com/r/selenium/standalone-chrome), based on the [selenium/standalone-chrome/](https://hub.docker.com/r/selenium/standalone-chrome/h) Docker image<br/>
203203
**Ports exposed**: `4444`<br/>
204204

205-
The Selenium container enables the [Magento Functional Testing Framework (MFTF)](https://devdocs.magento.com/mftf/docs/introduction.html) for application testing in the Cloud Docker environment. See [Magento application testing]({{site.baseurl}}/cloud/docker/docker-test-app-mftf.html).
205+
The Selenium container enables the [Magento Functional Testing Framework (MFTF)]({{ site.baseurl }}/mftf/docs/introduction.html) for application testing in the Cloud Docker environment. See [Magento application testing]({{site.baseurl}}/cloud/docker/docker-test-app-mftf.html).
206206

207207
## Test container
208208

src/cloud/docker/docker-extend.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ To add a new PHP extension:
110110
],
111111
...
112112
```
113-
{:.no-copy}
114113

115114
In this case, the `bcmath` PHP core extension installs from `docker-php-source` images.
116115

@@ -279,9 +278,9 @@ BASH
279278
...
280279
```
281280

282-
[Docker build sources]: https://devdocs.magento.com/cloud/docker/docker-extend.html#specify-docker-build-sources
281+
[Docker build sources]: {{ site.baseurl }}/cloud/docker/docker-extend.html#specify-docker-build-sources
283282
[ExtensionResolver.php]: https://github.com/magento/magento-cloud-docker/tree/develop/src/Compose/Php
284283
[PECL]: https://pecl.php.net/
285284
[PHP, Docker Official Images]: https://hub.docker.com/_/php
286285
[multiple compose files]: https://docs.docker.com/compose/reference/overview/#specifying-multiple-compose-files
287-
[service versions]: https://devdocs.magento.com/cloud/docker/docker-containers.html#service-containers
286+
[service versions]: {{ site.baseurl }}/cloud/docker/docker-containers.html#service-containers

src/cloud/docker/docker-manage-database.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ return [
4747
],
4848
],
4949
```
50-
{:.no-copy}
5150

5251
{:.procedure}
5352
To connect to the database using Docker commands:
@@ -84,7 +83,6 @@ To connect to the database using Docker commands:
8483
| 10.0.38-MariaDB-1~xenial |
8584
+--------------------------+
8685
```
87-
{:.no-copy}
8886

8987
{:.procedure}
9088
To connect to the database port:
@@ -108,7 +106,6 @@ To connect to the database port:
108106
magento-cloud_db-sales_1 docker-entrypoint.sh mysqld Up 0.0.0.0:32874->3306/tcp
109107
110108
```
111-
{:.no-copy}
112109

113110
1. Connect to the database with port information from the previous step.
114111

@@ -140,7 +137,6 @@ To connect to the database port:
140137
| 10.0.38-MariaDB-1~xenial |
141138
+--------------------------+
142139
```
143-
{: .no-copy}
144140

145141
[db-image]: https://hub.docker.com/_/mariadb
146142

@@ -193,6 +189,6 @@ See [Docker service containers][Docker database container] for details about the
193189
<!--Link definitions-->
194190

195191
[Add the encryption key]: {{ site.baseurl}}/cloud/setup/first-time-setup-import-import.html#encryption-key
196-
[Docker database container]: https://devdocs.magento.com/cloud/docker/docker-containers-service.html#database-container
192+
[Docker database container]: {{ site.baseurl }}/cloud/docker/docker-containers-service.html#database-container
197193
[mysqldump]: https://dev.mysql.com/doc/refman/8.0/en/mysqldump.html
198194
[Service configuration options]: {{ site.baseurl }}/cloud/docker/docker-containers.html#service-configuration-options

src/cloud/live/site-launch-checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ To update DNS configuration for site launch:
8282
```
8383

8484
{:.bs-callout-info}
85-
You can also update the Base URL from the [Admin](https://docs.magento.com/user-guide/stores/store-urls.html#configure-the-base-url).
85+
You can also update the Base URL from the [Admin]({{ site.user_guide_url }}/stores/store-urls.html#configure-the-base-url).
8686

8787
1. Wait a few minutes for the site to update.
8888

0 commit comments

Comments
 (0)