Skip to content

Commit e7dfd58

Browse files
authored
Pre-GA fixes (#3917)
* fix vale errors . * Fix bad merges. * Remove hardcoded company names.
1 parent fa79721 commit e7dfd58

File tree

35 files changed

+123
-149
lines changed

35 files changed

+123
-149
lines changed

.vale.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ StylesPath = contributing/styles
22

33
Vocab = Platform
44

5-
MinAlertLevel = suggestion # suggestion, warning, or error
5+
MinAlertLevel = error # suggestion, warning, or error
66

77
[*.md]
88
BasedOnStyles = Platform,Vale

contributing/styles/config/vocabularies/Platform/accept.txt

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ CDNs?
2626
CMS
2727
CNAMEs?
2828
[Cc]onfig
29+
[Cc]omposable
2930
Corepack
3031
CPUs?
3132
[Cc]ron
@@ -101,6 +102,7 @@ Nagios
101102
Namecheap
102103
namespace
103104
Neve
105+
Nixpkgs
104106
[Nn]ginx
105107
NodePing
106108
Nori

sites/platform/src/create-apps/app-reference/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You can add as many packages to your application container as you need.
2525

2626
{{% vendor/name %}} guarantees optimal user experience with the specific [set of packages](/create-apps/app-reference/composable-image.md#supported-nix-packages) it supports.
2727
You can use any other package available from the [Nix Packages collection](https://search.nixos.org/), including unstable ones,
28-
but NixOs is reponsible for their support.
28+
but NixOs is responsible for their support.
2929

3030
{{% /note %}}
3131

sites/platform/src/create-apps/app-reference/composable-image.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The composable image is built on [Nix](https://nix.dev), which offers the follow
1717

1818
- You can add as many packages to your application container as you need,
1919
choosing from over 80,000 packages from [the Nixpkgs collection](https://search.nixos.org/packages).
20-
- The packages you add are built in total isolation, so you can easily install different versions of the same package.
20+
- The packages you add are built in total isolation, so you can install different versions of the same package.
2121
- With [Nix](https://nix.dev/reference/glossary#term-Nix), there are no undeclared dependencies in your source code.
2222
What works on your local machine is guaranteed to work on any other machine.
2323

@@ -42,7 +42,7 @@ To override any part of a property, you have to provide the entire property.
4242
| Name | Type | Required | Set in instance? | Description |
4343
|--------------------|-----------------------------------------------------|----------|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
4444
| `name` | `string` | Yes | No | A unique name for the app. Must be lowercase alphanumeric characters. Changing the name destroys data associated with the app. |
45-
| `stack` | An array of [Nix packages](#stack) | Yes | No | A list of packages from the {{% vendor/name %}} collection of [supported runtimes](#supported-nix-packages) and/or from [NixPkgs](https://search.nixos.org/packages). |
45+
| `stack` | An array of [Nix packages](#stack) | Yes | No | A list of packages from the {{% vendor/name %}} collection of [supported runtimes](#supported-nix-packages) and/or from [Nixpkgs](https://search.nixos.org/packages). |
4646
| `size` | A [size](#sizes) | | Yes | How much resources to devote to the app. Defaults to `AUTO` in production environments. |
4747
| `relationships` | A dictionary of [relationships](#relationships) | | Yes | Connections to other services and apps. |
4848
| `disk` | `integer` or `null` | | Yes | The size of the disk space for the app in [MB](/glossary.md#mb). Minimum value is `128`. Defaults to `null`, meaning no disk is available. See [note on available space](#available-disk-space) |

sites/platform/src/create-apps/app-reference/single-runtime-image.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ use the [`source.root` property](#source).
5757
## Types
5858

5959
{{% note theme="info" %}}
60-
You can now use the Upsun composable image (BETA) to install runtimes and tools in your application container.
60+
You can now use the {{% vendor/name %}} composable image (BETA) to install runtimes and tools in your application container.
6161
If you've reached this section from another page, you may be interested in supported `stacks` where `type` was referenced.
6262
See [supported Nix packages for the `stack` key](/create-apps/app-reference/composable-image#supported-nix-packages) for more information.
6363
{{% /note %}}
@@ -133,7 +133,7 @@ For more information, see how to [define relationships between your apps](/creat
133133
New syntax (default and explicit endpoints) described below is supported by most, but not all, image types
134134
(`Relationship 'SERVICE_NAME' of application 'app' ... targets a service without a valid default endpoint configuration.`).
135135
This syntax is currently being rolled out for all images.
136-
If you encounter this error, use the "legacy" Platform.sh configuration noted at the bottom of this section.
136+
If you encounter this error, use the "legacy" {{% vendor/name %}} configuration noted at the bottom of this section.
137137

138138
{{< /note >}}
139139

@@ -1079,7 +1079,7 @@ You can also set your [app's runtime timezone](/create-apps/timezone.md).
10791079
### Extensions
10801080

10811081
{{% note theme="info" %}}
1082-
You can now use the Upsun composable image (BETA) to install runtimes and tools in your application container.
1082+
You can now use the {{% vendor/name %}} composable image (BETA) to install runtimes and tools in your application container.
10831083
If you've reached this section from another page and are using the composable image, enabling/disabling extensions should be placed under the `stack` key instead of what is listed below.
10841084
See [how to configure extensions with the composable image](/create-apps/app-reference/composable-image#top-level-properties).
10851085
{{% /note %}}

sites/platform/src/create-apps/hooks/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Because these steps should be done before the site accepts request, they should
113113
All of this configuration and preparation can be handled in a bash script.
114114

115115
<!-- @todo: this context is not so simple to disentangle, so leaving for now -->
116-
1. Copy the [preparation script from the Platform.sh template](https://github.com/platformsh-templates/nextjs-drupal/blob/master/api/platformsh-scripts/hooks.deploy.sh)
116+
1. Copy the [preparation script from the {{% vendor/name %}} template](https://github.com/platformsh-templates/nextjs-drupal/blob/master/api/platformsh-scripts/hooks.deploy.sh)
117117
into a file called `hooks.deploy.sh` in a `api/platformsh-scripts` directory.
118118
Note that hooks are executed using the dash shell, not the bash shell used by SSH logins.
119119
2. Copy the [Drush configuration script from the template](https://github.com/platformsh-templates/nextjs-drupal/blob/master/api/drush/platformsh_generate_drush_yml.php)

sites/platform/src/languages/php/_index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ layout: single
66

77
{{% note theme="info" %}}
88

9-
You can now use the Upsun composable image (BETA) to install runtimes and tools in your application container.
9+
You can now use the {{% vendor/name %}} composable image (BETA) to install runtimes and tools in your application container.
1010
To find out more about this feature, see the [dedicated documentation page](/create-apps/app-reference/composable-image.md).</br>
1111
Also, see how you can [modify your PHP runtime when using a composable image](#modify-your-php-runtime-when-using-a-composable-image).
1212

@@ -611,7 +611,7 @@ See [complete working examples for C and Rust](https://github.com/platformsh-exa
611611

612612
{{% note theme= "warning" %}}
613613

614-
This section is only relevant when using the Upsun [composable image (BETA)](/create-apps/app-reference/composable-image.md).
614+
This section is only relevant when using the {{% vendor/name %}} [composable image (BETA)](/create-apps/app-reference/composable-image.md).
615615

616616
{{% /note %}}
617617

sites/upsun/src/administration/billing/monitor-billing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ keywords:
1515
---
1616

1717
To help you manage costs related to your organization,
18-
Upsun provides estimates for the current month and the next.
18+
{{% vendor/name %}} provides estimates for the current month and the next.
1919

2020
You can set billing alerts to ensure you don't overspend,
2121
and track resource usage on each of your projects.

sites/upsun/src/create-apps/app-reference/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You can add as many packages to your application container as you need.
2525

2626
{{% vendor/name %}} guarantees optimal user experience with the specific [set of packages](/create-apps/app-reference/composable-image.md#supported-nix-packages) it supports.
2727
You can use any other package available from the [Nix Packages collection](https://search.nixos.org/), including unstable ones,
28-
but NixOs is reponsible for their support.
28+
but NixOs is responsible for their support.
2929

3030
{{% /note %}}
3131

sites/upsun/src/create-apps/app-reference/composable-image.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The composable image is built on [Nix](https://nix.dev), which offers the follow
1717

1818
- You can add as many packages to your application container as you need,
1919
choosing from over 80,000 packages from [the Nixpkgs collection](https://search.nixos.org/packages).
20-
- The packages you add are built in total isolation, so you can easily install different versions of the same package.
20+
- The packages you add are built in total isolation, so you can install different versions of the same package.
2121
- With [Nix](https://nix.dev/reference/glossary#term-Nix), there are no undeclared dependencies in your source code.
2222
What works on your local machine is guaranteed to work on any other machine.
2323

0 commit comments

Comments
 (0)