diff --git a/docs/default/_meta.json b/docs/default/_meta.json index 85cb7a7c8..ac6d69f2b 100644 --- a/docs/default/_meta.json +++ b/docs/default/_meta.json @@ -2,6 +2,5 @@ "getting-started": "", "index": "Web apps on AWS Lambda", "website-assets": "Website assets", - "console": "Console commands", - "cron": "Cron commands" + "console": "Console commands" } \ No newline at end of file diff --git a/docs/default/website-assets.md b/docs/default/website-assets.md index 0888c13d1..a629a4089 100644 --- a/docs/default/website-assets.md +++ b/docs/default/website-assets.md @@ -68,9 +68,9 @@ You can access your website using the URL that Lift outputs at the end the deplo ### Setting up a domain name -Just like in the "[Custom domains](/docs/environment/custom-domains.md)" guide, you need to register your domain in **ACM** (AWS Certificate Manager) to get an HTTPS certificate. +Just like in the "[Custom domains](/docs/use-cases/http/custom-domains.mdx)" guide, you need to register your domain in **ACM** (AWS Certificate Manager) to get an HTTPS certificate. -> If you have already set up this domain as a custom domain in API Gateway (by following the [Custom domain](/docs/environment/custom-domains.md) guide), you will need to remove it before continuing. +> If you have already set up this domain as a custom domain in API Gateway (by following the [Custom domain](/docs/use-cases/http/custom-domains.mdx) guide), you will need to remove it before continuing. - open [this link](https://console.aws.amazon.com/acm/home?region=us-east-1#/wizard/) or manually go in the ACM Console and click "Request a new certificate" **in the `us-east-1` region** (CloudFront requires certificates from `us-east-1`) - add your domain name and click "Next" diff --git a/docs/environment/custom-domains-path-mapping.png b/docs/use-cases/http/custom-domains-path-mapping.png similarity index 100% rename from docs/environment/custom-domains-path-mapping.png rename to docs/use-cases/http/custom-domains-path-mapping.png diff --git a/docs/environment/custom-domains.md b/docs/use-cases/http/custom-domains.mdx similarity index 95% rename from docs/environment/custom-domains.md rename to docs/use-cases/http/custom-domains.mdx index 6474b5b36..759c6404b 100644 --- a/docs/environment/custom-domains.md +++ b/docs/use-cases/http/custom-domains.mdx @@ -1,8 +1,6 @@ ---- -title: Custom domain names -current_menu: custom-domains -introduction: Configure custom domain names for your web applications. ---- +export const introduction = 'Configure custom domain names for your web applications.'; + +# Custom domain names API Gateway generates random domain names for our applications: diff --git a/website/src/pages/news/01-bref-1.0.md b/website/src/pages/news/01-bref-1.0.md index 397765713..f1707e823 100644 --- a/website/src/pages/news/01-bref-1.0.md +++ b/website/src/pages/news/01-bref-1.0.md @@ -209,7 +209,7 @@ functions: ``` **However don't do this blindly:** this will delete your REST API to create a new HTTP API, which will break custom domains you may have set up. -Instead, you can deploy the same Lambda with both v1 and v2, [set up your domain on v2](/docs/environment/custom-domains.md), and then delete v1: +Instead, you can deploy the same Lambda with both v1 and v2, [set up your domain on v2](/docs/use-cases/http/custom-domains.mdx), and then delete v1: ```yaml functions: