From 24ab853e61e710eb9734daa0b60683c5acdd9225 Mon Sep 17 00:00:00 2001 From: AnouckColson <113913013+AnouckColson@users.noreply.github.com> Date: Thu, 12 Oct 2023 14:55:06 +0200 Subject: [PATCH] Fix Vale errors (#3508) --- sites/friday/config/_default/params.yaml | 1 + sites/platform/.yaml | 3 ++- sites/platform/src/add-services/headless-chrome.md | 4 ++-- sites/platform/src/add-services/kafka.md | 2 +- sites/platform/src/add-services/opensearch.md | 2 +- sites/platform/src/create-apps/app-reference.md | 2 +- sites/platform/src/domains/steps/_index.md | 2 +- sites/platform/src/glossary/_index.md | 2 +- sites/platform/src/languages/java/_index.md | 2 +- themes/psh-docs/layouts/shortcodes/vendor/psh_ref.html | 1 + 10 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 themes/psh-docs/layouts/shortcodes/vendor/psh_ref.html diff --git a/sites/friday/config/_default/params.yaml b/sites/friday/config/_default/params.yaml index 2b4873ab72..7816799eee 100644 --- a/sites/friday/config/_default/params.yaml +++ b/sites/friday/config/_default/params.yaml @@ -25,6 +25,7 @@ vendor: cta: Sign up for early access title: Upsun Beta access description: "Platform.sh will soon open up early access to test and provide feedback for our newest offering - Upsun.

You can register for the beta by clicking here and completing the form.

" + psh_ref: Platform.sh config: version: 2 dir: .upsun diff --git a/sites/platform/.yaml b/sites/platform/.yaml index 5a880caeca..e68494312d 100644 --- a/sites/platform/.yaml +++ b/sites/platform/.yaml @@ -202,6 +202,7 @@ golang: type: golang versions: deprecated: + - '1.19' - '1.18' - '1.17' - '1.16' @@ -214,8 +215,8 @@ golang: - '1.9' - '1.8' supported: + - '1.21' - '1.20' - - '1.19' influxdb: description: '' disk: true diff --git a/sites/platform/src/add-services/headless-chrome.md b/sites/platform/src/add-services/headless-chrome.md index 634a5cf043..919d810927 100644 --- a/sites/platform/src/add-services/headless-chrome.md +++ b/sites/platform/src/add-services/headless-chrome.md @@ -76,7 +76,7 @@ After configuration, include [Puppeteer](https://www.npmjs.com/package/puppeteer {{< codetabs >}} +++ -title=NPM +title=npm +++ ```bash @@ -86,7 +86,7 @@ npm install puppeteer <---> +++ -title=PNPM +title=pnpm +++ ```bash diff --git a/sites/platform/src/add-services/kafka.md b/sites/platform/src/add-services/kafka.md index 01e74e253d..f4c75671d8 100644 --- a/sites/platform/src/add-services/kafka.md +++ b/sites/platform/src/add-services/kafka.md @@ -84,8 +84,8 @@ highlight=python +++ title=Ruby highlight=ruby -markdownify=false +++ + ## With the ruby-kafka gem # Producer diff --git a/sites/platform/src/add-services/opensearch.md b/sites/platform/src/add-services/opensearch.md index 35b40f886a..c8480191f4 100644 --- a/sites/platform/src/add-services/opensearch.md +++ b/sites/platform/src/add-services/opensearch.md @@ -333,7 +333,7 @@ There are two ways to do so. ### Destructive -In your `{{< vendor/configfile "services" >}}` file, change the version *and* name of your Opensearch service. +In your `{{< vendor/configfile "services" >}}` file, change the version *and* name of your OpenSearch service. Be sure to also update the reference to the now changed service name in it's corresponding application's `relationship` block. When you push that to {{% vendor/name %}}, the old service is deleted and a new one with the new name is created with no data. diff --git a/sites/platform/src/create-apps/app-reference.md b/sites/platform/src/create-apps/app-reference.md index 36a754b552..e381ff07c9 100644 --- a/sites/platform/src/create-apps/app-reference.md +++ b/sites/platform/src/create-apps/app-reference.md @@ -30,7 +30,7 @@ The following table presents all properties available at the top level of the YA ## Primary application properties All application configuration takes place in a `{{< vendor/configfile "app" >}}` file, with each application configured under a unique key beneath the top-level `applications` key. -For example, it is possible to deploy two application containers - one Javascript and the other Python - for the frontend and backend components of a deployed site. +For example, it is possible to deploy two application containers - one JavaScript and the other Python - for the frontend and backend components of a deployed site. In this case, the unified `{{< vendor/configfile "app" >}}` file would look like: diff --git a/sites/platform/src/domains/steps/_index.md b/sites/platform/src/domains/steps/_index.md index 1c2459be9c..2cbafa6dcc 100644 --- a/sites/platform/src/domains/steps/_index.md +++ b/sites/platform/src/domains/steps/_index.md @@ -26,7 +26,7 @@ You need: {{< version/only "1" >}} - If you are on a development plan, you need to [upgrade your tier to a production plan](#optional-change-your-plan-to-a-production-plan). -{{< /version/only >}}hu +{{< /version/only >}} If you are planning to use several subdomains of the same domain on different projects, see how to [manage multiple subdomains](/domains/steps/subdomains.md) *before* you add your domain to {{% vendor/name %}}. diff --git a/sites/platform/src/glossary/_index.md b/sites/platform/src/glossary/_index.md index 41ad2d7914..7ba48d738c 100644 --- a/sites/platform/src/glossary/_index.md +++ b/sites/platform/src/glossary/_index.md @@ -130,7 +130,7 @@ and you can set up any other branch as a testing environment. It is useful to perform user acceptance testing in a production-like setting. The phrase "[preview environment](#preview-environment)" can apply to both a development or staging environment, -as it simply describes a non-production environment. +as it merely describes a non-production environment. Find out more about [user roles on each environment type](../administration/users.md#environment-type-roles). diff --git a/sites/platform/src/languages/java/_index.md b/sites/platform/src/languages/java/_index.md index c14e7d4269..8c14732823 100644 --- a/sites/platform/src/languages/java/_index.md +++ b/sites/platform/src/languages/java/_index.md @@ -136,7 +136,7 @@ It’s worth remembering that the JVM by its specification [doesn't read Java co | [Groovy and Spring](https://dzone.com/articles/spring-groovy-cloud-psh) | [Source](https://github.com/platformsh-examples/groovy) | {{< note version="2" >}} -While the table above shows examples for Platform.sh rather than for {{% vendor/name %}}, the same rules apply with only slight changes in configuration. +While the table above shows examples for {{% vendor/psh_ref %}} rather than for {{% vendor/name %}}, the same rules apply with only slight changes in configuration. {{< /note >}} ## Accessing services diff --git a/themes/psh-docs/layouts/shortcodes/vendor/psh_ref.html b/themes/psh-docs/layouts/shortcodes/vendor/psh_ref.html new file mode 100644 index 0000000000..d0ba4e28e9 --- /dev/null +++ b/themes/psh-docs/layouts/shortcodes/vendor/psh_ref.html @@ -0,0 +1 @@ +{{ .Site.Params.vendor.psh_ref }} \ No newline at end of file