From 18607c85189548ae406bd7069ecece6f411cda2d Mon Sep 17 00:00:00 2001 From: Pat Browne Date: Tue, 6 Jan 2026 23:00:48 -0500 Subject: [PATCH] fix: replace duplicate learn-more components with deploy-to-pages --- .../pages/framework-guides/deploy-a-brunch-site.mdx | 6 +----- .../docs/pages/framework-guides/deploy-a-hugo-site.mdx | 8 +++----- .../pages/framework-guides/deploy-a-jekyll-site.mdx | 6 +----- .../docs/pages/framework-guides/deploy-a-nuxt-site.mdx | 8 ++------ .../pages/framework-guides/deploy-a-pelican-site.mdx | 8 ++------ .../docs/pages/framework-guides/deploy-a-qwik-site.mdx | 6 +----- .../docs/pages/framework-guides/deploy-a-vue-site.mdx | 10 +--------- .../pages/framework-guides/deploy-an-angular-site.mdx | 8 ++------ .../pages/framework-guides/deploy-an-astro-site.mdx | 10 +--------- .../pages/framework-guides/deploy-an-mkdocs-site.mdx | 8 ++------ 10 files changed, 16 insertions(+), 62 deletions(-) diff --git a/src/content/docs/pages/framework-guides/deploy-a-brunch-site.mdx b/src/content/docs/pages/framework-guides/deploy-a-brunch-site.mdx index 28a8666183..527eb1ba19 100644 --- a/src/content/docs/pages/framework-guides/deploy-a-brunch-site.mdx +++ b/src/content/docs/pages/framework-guides/deploy-a-brunch-site.mdx @@ -29,11 +29,7 @@ brunch new proj -s es6 ## Deploy with Cloudflare Pages - + diff --git a/src/content/docs/pages/framework-guides/deploy-a-hugo-site.mdx b/src/content/docs/pages/framework-guides/deploy-a-hugo-site.mdx index 06fa0f5bd0..636b421dd1 100644 --- a/src/content/docs/pages/framework-guides/deploy-a-hugo-site.mdx +++ b/src/content/docs/pages/framework-guides/deploy-a-hugo-site.mdx @@ -94,14 +94,12 @@ Inside of `hello-world.md`, add some initial content to create your post. Remove ## Deploy with Cloudflare Pages - + +While `public` is the default build directory for Hugo sites, this setting can be configured with the [`publishDir` setting](https://gohugo.io/configuration/all/#publishdir). + :::note[Base URL configuration] Hugo allows you to configure the `baseURL` of your application. This allows you to utilize the `absURL` helper to construct full canonical URLs. In order to do this with Pages, you must provide the `-b` or `--baseURL` flags with the `CF_PAGES_URL` environment variable to your `hugo` build command. diff --git a/src/content/docs/pages/framework-guides/deploy-a-jekyll-site.mdx b/src/content/docs/pages/framework-guides/deploy-a-jekyll-site.mdx index 8b6c8b0f3a..16505f5dbe 100644 --- a/src/content/docs/pages/framework-guides/deploy-a-jekyll-site.mdx +++ b/src/content/docs/pages/framework-guides/deploy-a-jekyll-site.mdx @@ -65,11 +65,7 @@ If you are migrating an existing Jekyll project to Pages, confirm that your `Gem ## Deploy with Cloudflare Pages - + diff --git a/src/content/docs/pages/framework-guides/deploy-a-nuxt-site.mdx b/src/content/docs/pages/framework-guides/deploy-a-nuxt-site.mdx index 81c6d74a84..81a703e72d 100644 --- a/src/content/docs/pages/framework-guides/deploy-a-nuxt-site.mdx +++ b/src/content/docs/pages/framework-guides/deploy-a-nuxt-site.mdx @@ -74,17 +74,13 @@ git push -u origin main ### Create a Pages project - + Optionally, you can customize the **Project name** field. It defaults to the GitHub repository's name, but it does not need to match. The **Project name** value is assigned as your `*.pages.dev` subdomain. -4. After completing configuration, select the **Save and Deploy**. +7. After completing configuration, select the **Save and Deploy**. Review your first deploy pipeline in progress. Pages installs all dependencies and builds the project as specified. Cloudflare Pages will automatically rebuild your project and deploy it on every new pushed commit. diff --git a/src/content/docs/pages/framework-guides/deploy-a-pelican-site.mdx b/src/content/docs/pages/framework-guides/deploy-a-pelican-site.mdx index 93dd6e9761..8b2723b536 100644 --- a/src/content/docs/pages/framework-guides/deploy-a-pelican-site.mdx +++ b/src/content/docs/pages/framework-guides/deploy-a-pelican-site.mdx @@ -35,15 +35,11 @@ This is the directory name that you will set in the build command. ## Deploy with Cloudflare Pages - + -4. Select **Environment variables (advanced)** and set the `PYTHON_VERSION` variable with the value of `3.7`. +7. Select **Environment variables (advanced)** and set the `PYTHON_VERSION` variable with the value of `3.7`. For the complete guide to deploying your first site to Cloudflare Pages, refer to the [Get started guide](/pages/get-started/). diff --git a/src/content/docs/pages/framework-guides/deploy-a-qwik-site.mdx b/src/content/docs/pages/framework-guides/deploy-a-qwik-site.mdx index d97578fbf3..21e9635cc7 100644 --- a/src/content/docs/pages/framework-guides/deploy-a-qwik-site.mdx +++ b/src/content/docs/pages/framework-guides/deploy-a-qwik-site.mdx @@ -41,11 +41,7 @@ npm start ### Deploy via the Cloudflare dashboard - + diff --git a/src/content/docs/pages/framework-guides/deploy-a-vue-site.mdx b/src/content/docs/pages/framework-guides/deploy-a-vue-site.mdx index fb1a123194..12f5fb5373 100644 --- a/src/content/docs/pages/framework-guides/deploy-a-vue-site.mdx +++ b/src/content/docs/pages/framework-guides/deploy-a-vue-site.mdx @@ -34,18 +34,10 @@ To use `create-cloudflare` to create a new Vue project, run the following comman ### Deploy via the Cloudflare dashboard - - -
+ -
- After configuring your site, you can begin your first deploy. You should see Cloudflare Pages installing `vue`, your project dependencies, and building your site, before deploying it. :::note diff --git a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx index 9b47fbcda9..d9fae70a5f 100644 --- a/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx +++ b/src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx @@ -49,11 +49,7 @@ git push -u origin main ### Create a Pages project - + @@ -64,7 +60,7 @@ Change the `Build directory` to `dist/cloudflare/browser` Optionally, you can customize the **Project name** field. It defaults to the GitHub repository's name, but it does not need to match. The **Project name** value is assigned as your `*.pages.dev` subdomain. -4. After completing configuration, select the **Save and Deploy**. +7. After completing configuration, select the **Save and Deploy**. Review your first deploy pipeline in progress. Pages installs all dependencies and builds the project as specified. Cloudflare Pages will automatically rebuild your project and deploy it on every new pushed commit. diff --git a/src/content/docs/pages/framework-guides/deploy-an-astro-site.mdx b/src/content/docs/pages/framework-guides/deploy-an-astro-site.mdx index 6096b372bc..20690bf977 100644 --- a/src/content/docs/pages/framework-guides/deploy-an-astro-site.mdx +++ b/src/content/docs/pages/framework-guides/deploy-an-astro-site.mdx @@ -60,18 +60,10 @@ npm run astro add cloudflare ### Deploy via the Cloudflare dashboard - - -
+ -
- Optionally, you can customize the **Project name** field. It defaults to the GitHub repository's name, but it does not need to match. The **Project name** value is assigned as your `*.pages.dev` subdomain. After completing configuration, select **Save and Deploy**. diff --git a/src/content/docs/pages/framework-guides/deploy-an-mkdocs-site.mdx b/src/content/docs/pages/framework-guides/deploy-an-mkdocs-site.mdx index b421cd3d80..64eabcfa9b 100644 --- a/src/content/docs/pages/framework-guides/deploy-an-mkdocs-site.mdx +++ b/src/content/docs/pages/framework-guides/deploy-an-mkdocs-site.mdx @@ -37,15 +37,11 @@ You have successfully created a GitHub repository and pushed your MkDocs project ## Deploy with Cloudflare Pages - + -4. Go to **Environment variables (advanced)** > **Add variable** > and add the variable `PYTHON_VERSION` with a value of `3.7`. +7. Go to **Environment variables (advanced)** > **Add variable** > and add the variable `PYTHON_VERSION` with a value of `3.7`. After deploying your site, you will receive a unique subdomain for your project on `*.pages.dev`.