Skip to content

Commit 3c65291

Browse files
authored
docs: quick fixes, various (#2387)
This PR: - fixes the path to the Environments page - adds anchors for 'flags' and 'placement' - adds the 'en' suffix for partials and references to them - adds a mutual link from the Environments page to the Custom Env Resources page Tested with `mkdocs serve`. Related: #2386. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent b3cf45e commit 3c65291

File tree

8 files changed

+11
-9
lines changed

8 files changed

+11
-9
lines changed

site/content/docs/concepts/environments.en.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ If you set up any service using one of the Load Balanced Service types, Copilot
4040
Optionally, when you set up an application, you can provide a domain name that you own and is registered in Route 53. If you provide a domain name, each time you spin up an environment, Copilot will create a subdomain environment-name.app-name.your-domain.com, provision an ACM cert, and bind it to your Application Load Balancer so it can use HTTPS.
4141

4242
## Customize your Environment
43-
Optionally, you can customize your environment interactively by using flags to import your existing resources, or configure the default environment resources. Currently, only VPC resources are customizable. However, if you want to customize more types of resources, feel free to bring your use cases and cut an issue!
43+
Optionally, you can customize your environment interactively by using flags to import your existing resources, or configure the default environment resources. Currently, only VPC resources are customizable. However, if you want to customize more types of resources, feel free to bring your use cases and cut an issue!
44+
45+
For more, see our [custom environment resources](../developing/custom-environment-resources.en.md) page.
4446

4547
## Digging into your Environment
4648

site/content/docs/developing/custom-environment-resources.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Custom Environment Resources
22

3-
When creating a new [environment](../../concepts/environments.en.md) with Copilot, you are given the option to import existing VPC resources. (Use [flags with `env init`](../commands/env-init.en.md) or the guided experience, shown below.)
3+
When creating a new [environment](../concepts/environments.en.md) with Copilot, you are given the option to import existing VPC resources. (Use [flags with `env init`](../commands/env-init.en.md#what-are-the-flags) or the guided experience, shown below.)
44
```bash
55
% copilot env init
66
What is your environment's name? env-name
@@ -20,4 +20,4 @@ When you select the default configuration, Copilot follows [AWS best practices](
2020

2121
## Considerations
2222
* If you are using a private hosted zone, [you must](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zone-private-considerations.html#hosted-zone-private-considerations-vpc-settings) set `enableDnsHostname` and `enableDnsSupport` to true.
23-
* To deploy internet-facing workloads in [private subnets](../include/common-svc-fields.md), your VPC will need a [NAT gateway](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html).
23+
* To deploy internet-facing workloads in [private subnets](../include/common-svc-fields.en.md#network-vpc-placement), your VPC will need a [NAT gateway](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html).

site/content/docs/manifest/backend-service.en.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ The name of your service.
6464
<a id="type" href="#type" class="field">`type`</a> <span class="type">String</span>
6565
The architecture type for your service. [Backend Services](../concepts/services.en.md#backend-service) are not reachable from the internet, but can be reached with [service discovery](../developing/service-discovery.en.md) from your other services.
6666

67-
{% include 'image-config.md' %}
67+
{% include 'image-config.en.md' %}
6868

69-
{% include 'image-healthcheck.md' %}
69+
{% include 'image-healthcheck.en.md' %}
7070

71-
{% include 'common-svc-fields.md' %}
71+
{% include 'common-svc-fields.en.md' %}

site/content/docs/manifest/lb-web-service.en.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ The name of your service.
6565
<a id="type" href="#type" class="field">`type`</a> <span class="type">String</span>
6666
The architecture type for your service. A [Load Balanced Web Service](../concepts/services.en.md#load-balanced-web-service) is an internet-facing service that's behind a load balancer, orchestrated by Amazon ECS on AWS Fargate.
6767

68-
{% include 'http-config.md' %}
69-
{% include 'image-config.md' %}
70-
{% include 'common-svc-fields.md' %}
68+
{% include 'http-config.en.md' %}
69+
{% include 'image-config.en.md' %}
70+
{% include 'common-svc-fields.en.md' %}

0 commit comments

Comments
 (0)