Skip to content

Commit ee6b468

Browse files
authored
Merge pull request #5069 from platformsh/2186-improvements-design2
Design improvements 2
2 parents 904419e + 3d727de commit ee6b468

File tree

46 files changed

+258
-90
lines changed

Some content is hidden

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

46 files changed

+258
-90
lines changed

sites/platform/src/add-services/influxdb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ To export your data from InfluxDB, follow these steps:
320320

321321
4. Adapt and run [InfluxDB's CLI export command](https://docs.influxdata.com/influxdb/v2.3/reference/cli/influx/backup/).
322322

323-
``` bash
323+
```bash
324324
influx backup --host {{< variable "URL_FROM_STEP_2" >}} --token {{< variable "API_TOKEN_FROM_STEP_3" >}}
325325
```
326326

sites/platform/src/add-services/varnish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Patch versions are applied periodically for bug fixes and the like. When you dep
3434
All incoming requests go through the [standard router](/define-routes/_index.md).
3535
The Varnish service sits between the router and all apps in the project.
3636

37-
``` mermaid
37+
```mermaid {no-copy="true"}
3838
graph LR
3939
A(Request) -->B(Router)
4040
B --> C{Varnish}

sites/platform/src/define-routes/proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ For example, by changing `https://en.example.com/style.css` to `https://example.
9595

9696
The following diagram shows the example project forwarding specific requests to the correct app.
9797

98-
``` mermaid
98+
```mermaid {no-copy="true"}
9999
sequenceDiagram
100100
participant User
101101
participant Project as Proxy project

sites/platform/src/development/regions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ When adding a new project, you only see regions allowed by your organization.
8080

8181
As an alternative, you can also use the following command with the {{% vendor/name %}} CLI to find out where a given region is hosted:
8282

83-
``` bash
83+
```bash
8484
{{% vendor/cli %}} api:curl regions | jq '.regions[] | select(.available) | .id + ": " + .provider.name + " - " + .zone + " - " + .timezone' | sort
8585
```
8686

sites/platform/src/development/variables/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Variables for the override are composed of three distinct parts each separated b
212212
Setting the `drupalsettings:system.site:name` variable overrides the `name` property of the `system.site` configuration object located in the global `$settings` array.
213213
You can do this by running the following [CLI command](/administration/cli/_index.md):
214214

215-
``` bash
215+
```bash
216216
{{% vendor/cli %}} variable:create --name "drupalsettings:system.site:name" --value "{{< variable "SITE_NAME" >}}"
217217
```
218218

sites/platform/src/domains/troubleshoot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ When you use a CDN, to ensure the challenge succeeds, check that:
140140
141141
If you don't follow those requirements, you get an error message similar to:
142142
143-
``` text
143+
```text {no-copy="true"}
144144
W: Failed to verify the challenge at the gateway for the domain 'www.example.com'
145145
E: Error validating domain www.example.com: Couldn't complete challenge [HTTP01: The client lacks sufficient authorization]
146146
```

sites/platform/src/guides/ibexa/fastly.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To use Fastly, Varnish must be disabled:
1818
- In [`{{< vendor/configfile "routes" >}}`](https://github.com/ezsystems/ezplatform/blob/master/.platform/routes.yaml),
1919
change routes to use `myapp` instead of the `varnish` service you removed in previous step:
2020

21-
```diff
21+
```diff {no-copy="true"}
2222
"https://{default}/":
2323
type: upstream
2424
- upstream: "varnish:http"

sites/platform/src/guides/laravel/deploy/bridge.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ This library handles mapping the {{% vendor/name %}} variables to the format Lar
1616
Require this package using Composer.
1717
When Composer's autoload is included, this library is activated and the environment variables set.
1818

19-
``` bash
19+
```bash
2020
composer require platformsh/laravel-bridge
2121
```
2222

2323
Make sure to clear the cache on relevant {{% vendor/name %}} environments afterwards.
2424

25-
``` bash
25+
```bash
2626
php artisan optimize:clear
2727
```
2828

sites/platform/src/guides/laravel/deploy/octane.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Laravel Octane requires PHP 8.0+.
1717

1818
Require Laravel Octane using Composer.
1919

20-
``` bash
20+
```bash
2121
composer require laravel/octane
2222
```
2323

2424
Then make sure to clear the cache on all relevant {{% vendor/name %}} environments.
2525

26-
``` bash
26+
```bash
2727
php artisan optimize:clear
2828
```
2929

sites/platform/src/guides/symfony/get-started.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,14 @@ To make changes to your project, follow these steps:
134134
For example, if you created a Symfony Demo app,
135135
edit the `templates/default/homepage.html.twig` template and make the following visual changes:
136136

137-
```html {location="templates/default/homepage.html.twig"}
137+
```diff {location="templates/default/homepage.html.twig", no-copy="true"}
138138
{% block body %}
139139
<div class="page-header">
140140
- <h1>{{ 'title.homepage'|trans|raw }}</h1>
141141
+ <h1>Welcome to the {{% vendor/name %}} Demo</h1>
142142
</div>
143143

144144
<div class="row">
145-
146145
```
147146

148147
3. Commit your changes:

0 commit comments

Comments
 (0)