Skip to content

Commit e52d89b

Browse files
authored
Partials cleanup 4 (cloudflare#24571)
* Hyperdrive * A few more products * a few more * fix 1 * fix 3
1 parent 9781153 commit e52d89b

File tree

156 files changed

+1131
-1285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+1131
-1285
lines changed

src/content/docs/hyperdrive/examples/connect-to-mysql/mysql-database-providers/aws-rds-aurora.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
summary: Connect Hyperdrive to an AWS RDS or AWS Aurora MySQL database instance.
43
pcx_content_type: example
54
title: AWS RDS and Aurora
@@ -16,7 +15,7 @@ This example shows you how to connect Hyperdrive to an Amazon Relational Databas
1615

1716
To allow Hyperdrive to connect to your database, you will need to ensure that Hyperdrive has valid user credentials and network access.
1817

19-
<Render file="public-connectivity" />
18+
<Render file="public-connectivity" product="hyperdrive" />
2019

2120
### AWS Console
2221

@@ -96,5 +95,5 @@ With a database user, password, database endpoint (hostname and port), and datab
9695

9796
## 3. Create a database configuration
9897

99-
<Render file="create-hyperdrive-config-mysql" />
100-
<Render file="create-hyperdrive-config-mysql-next-steps" />
98+
<Render file="create-hyperdrive-config-mysql" product="hyperdrive" />
99+
<Render file="create-hyperdrive-config-mysql-next-steps" product="hyperdrive" />

src/content/docs/hyperdrive/examples/connect-to-mysql/mysql-database-providers/azure.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
summary: Connect Hyperdrive to an Azure Database for PostgreSQL instance.
43
pcx_content_type: example
54
title: Azure Database
@@ -16,7 +15,7 @@ This example shows you how to connect Hyperdrive to an Azure Database for Postgr
1615

1716
To allow Hyperdrive to connect to your database, you will need to ensure that Hyperdrive has valid credentials and network access.
1817

19-
<Render file="public-connectivity" />
18+
<Render file="public-connectivity" product="hyperdrive" />
2019

2120
### Azure Portal
2221

@@ -37,5 +36,5 @@ To connect to a private Azure Database for MySQL instance, refer to [Connect to
3736

3837
## 2. Create a database configuration
3938

40-
<Render file="create-hyperdrive-config-mysql" />
41-
<Render file="create-hyperdrive-config-mysql-next-steps" />
39+
<Render file="create-hyperdrive-config-mysql" product="hyperdrive" />
40+
<Render file="create-hyperdrive-config-mysql-next-steps" product="hyperdrive" />

src/content/docs/hyperdrive/examples/connect-to-mysql/mysql-database-providers/google-cloud-sql.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
summary: Connect Hyperdrive to a Google Cloud SQL database instance.
43
pcx_content_type: example
54
title: Google Cloud SQL
@@ -16,7 +15,7 @@ This example shows you how to connect Hyperdrive to a Google Cloud SQL MySQL dat
1615

1716
To allow Hyperdrive to connect to your database, you will need to ensure that Hyperdrive has valid user credentials and network access.
1817

19-
<Render file="public-connectivity" />
18+
<Render file="public-connectivity" product="hyperdrive" />
2019

2120
### Cloud Console
2221

@@ -40,5 +39,5 @@ With the username, password, public IP address and (optional) database name (def
4039

4140
## 2. Create a database configuration
4241

43-
<Render file="create-hyperdrive-config-mysql" />
44-
<Render file="create-hyperdrive-config-mysql-next-steps" />
42+
<Render file="create-hyperdrive-config-mysql" product="hyperdrive" />
43+
<Render file="create-hyperdrive-config-mysql-next-steps" product="hyperdrive" />

src/content/docs/hyperdrive/examples/connect-to-mysql/mysql-database-providers/planetscale.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
summary: Connect Hyperdrive to a PlanetScale MySQL database.
43
pcx_content_type: example
54
title: PlanetScale
@@ -12,4 +11,4 @@ import { Render } from "~/components";
1211

1312
This example shows you how to connect Hyperdrive to a [PlanetScale](https://planetscale.com/) MySQL database.
1413

15-
<Render file="planetscale-partial" />
14+
<Render file="planetscale-partial" product="hyperdrive" />

src/content/docs/hyperdrive/examples/connect-to-postgres/postgres-database-providers/aws-rds-aurora.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
summary: Connect Hyperdrive to an AWS RDS or Aurora Postgres database instance.
43
pcx_content_type: example
54
title: AWS RDS and Aurora
@@ -16,7 +15,7 @@ This example shows you how to connect Hyperdrive to an Amazon Relational Databas
1615

1716
To allow Hyperdrive to connect to your database, you will need to ensure that Hyperdrive has valid user credentials and network access.
1817

19-
<Render file="public-connectivity" />
18+
<Render file="public-connectivity" product="hyperdrive" />
2019

2120
### AWS Console
2221

@@ -90,5 +89,5 @@ With a database user, password, database endpoint (hostname and port) and databa
9089

9190
## 3. Create a database configuration
9291

93-
<Render file="create-hyperdrive-config" />
94-
<Render file="create-hyperdrive-config-next-steps" />
92+
<Render file="create-hyperdrive-config" product="hyperdrive" />
93+
<Render file="create-hyperdrive-config-next-steps" product="hyperdrive" />

src/content/docs/hyperdrive/examples/connect-to-postgres/postgres-database-providers/azure.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
summary: Connect Hyperdrive to an Azure Database for PostgreSQL instance.
43
pcx_content_type: example
54
title: Azure Database
@@ -16,7 +15,7 @@ This example shows you how to connect Hyperdrive to an Azure Database for Postgr
1615

1716
To allow Hyperdrive to connect to your database, you will need to ensure that Hyperdrive has valid credentials and network access.
1817

19-
<Render file="public-connectivity" />
18+
<Render file="public-connectivity" product="hyperdrive" />
2019

2120
### Azure Portal
2221

@@ -37,5 +36,5 @@ To connect to a private Azure Database for PostgreSQL instance, refer to [Connec
3736

3837
## 2. Create a database configuration
3938

40-
<Render file="create-hyperdrive-config" />
41-
<Render file="create-hyperdrive-config-next-steps" />
39+
<Render file="create-hyperdrive-config" product="hyperdrive" />
40+
<Render file="create-hyperdrive-config-next-steps" product="hyperdrive" />

src/content/docs/hyperdrive/examples/connect-to-postgres/postgres-database-providers/cockroachdb.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
summary: Connect Hyperdrive to a CockroachDB database.
43
pcx_content_type: example
54
title: CockroachDB
@@ -40,5 +39,5 @@ By default, the CockroachDB cloud enables connections from the public Internet (
4039

4140
## 2. Create a database configuration
4241

43-
<Render file="create-hyperdrive-config" />
44-
<Render file="create-hyperdrive-config-next-steps" />
42+
<Render file="create-hyperdrive-config" product="hyperdrive" />
43+
<Render file="create-hyperdrive-config-next-steps" product="hyperdrive" />

src/content/docs/hyperdrive/examples/connect-to-postgres/postgres-database-providers/digital-ocean.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
summary: Connect Hyperdrive to a Digital Ocean Postgres database instance.
43
pcx_content_type: example
54
title: Digital Ocean
@@ -19,19 +18,18 @@ To allow Hyperdrive to connect to your database, you will need to ensure that Hy
1918
### DigitalOcean Dashboard
2019

2120
<Steps>
22-
1. Go to the DigitalOcean dashboard and select the database you wish to connect to.
23-
2. Go to the **Overview** tab.
24-
3. Under the **Connection Details** panel, select **Public network**.
25-
4. On the dropdown menu, select **Connection string** > **show-password**.
26-
5. Copy the connection string.
21+
1. Go to the DigitalOcean dashboard and select the database you wish to
22+
connect to. 2. Go to the **Overview** tab. 3. Under the **Connection Details**
23+
panel, select **Public network**. 4. On the dropdown menu, select **Connection
24+
string** > **show-password**. 5. Copy the connection string.
2725
</Steps>
2826

2927
With the connection string, you can now create a Hyperdrive database configuration.
3028

3129
## 2. Create a database configuration
3230

33-
<Render file="create-hyperdrive-config" />
34-
<Render file="create-hyperdrive-config-next-steps" />
31+
<Render file="create-hyperdrive-config" product="hyperdrive" />
32+
<Render file="create-hyperdrive-config-next-steps" product="hyperdrive" />
3533

3634
:::note
3735
If you see a DNS-related error, it is possible that the DNS for your vendor's database has not yet been propagated. Try waiting 10 minutes before retrying the operation. Refer to [DigitalOcean support page](https://docs.digitalocean.com/support/why-does-my-domain-fail-to-resolve/) for more information.

src/content/docs/hyperdrive/examples/connect-to-postgres/postgres-database-providers/fly.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
summary: Connect Hyperdrive to a Fly Postgres database instance.
43
pcx_content_type: example
54
title: Fly
@@ -61,5 +60,5 @@ You can connect Hyperdrive to any existing Fly database by:
6160

6261
## 2. Create a database configuration
6362

64-
<Render file="create-hyperdrive-config" />
65-
<Render file="create-hyperdrive-config-next-steps" />
63+
<Render file="create-hyperdrive-config" product="hyperdrive" />
64+
<Render file="create-hyperdrive-config-next-steps" product="hyperdrive" />

src/content/docs/hyperdrive/examples/connect-to-postgres/postgres-database-providers/google-cloud-sql.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
summary: Connect Hyperdrive to a Google Cloud SQL for Postgres database instance.
43
pcx_content_type: example
54
title: Google Cloud SQL
@@ -16,7 +15,7 @@ This example shows you how to connect Hyperdrive to a Google Cloud SQL Postgres
1615

1716
To allow Hyperdrive to connect to your database, you will need to ensure that Hyperdrive has valid user credentials and network access.
1817

19-
<Render file="public-connectivity" />
18+
<Render file="public-connectivity" product="hyperdrive" />
2019

2120
### Cloud Console
2221

@@ -60,5 +59,5 @@ Refer to [Google Cloud's documentation](https://cloud.google.com/sql/docs/postgr
6059

6160
## 2. Create a database configuration
6261

63-
<Render file="create-hyperdrive-config" />
64-
<Render file="create-hyperdrive-config-next-steps" />
62+
<Render file="create-hyperdrive-config" product="hyperdrive" />
63+
<Render file="create-hyperdrive-config-next-steps" product="hyperdrive" />

0 commit comments

Comments
 (0)