Skip to content

Commit ac03601

Browse files
committed
[Chore] Rename products to directory
1 parent 1fe7b85 commit ac03601

File tree

19 files changed

+46
-44
lines changed

19 files changed

+46
-44
lines changed

astro.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export default defineConfig({
142142
"{props.*}",
143143
"/",
144144
"/glossary/",
145-
"/products/",
145+
"/directory/",
146146
"/rules/snippets/examples/?operation=*",
147147
"/rules/transform/examples/?operation=*",
148148
"/ruleset-engine/rules-language/fields/reference/**",

public/__redirects

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# homepage
22
/api /api/ 301
3-
/docs/ /products/ 301
3+
/docs/ /directory/ 301
4+
/products/ /directory/ 301
45
/zero-trust/ /products/?product-group=Cloudflare+One 301
56
/dashboard-landing/ / 301
67
/tutorials/ /search/?content_type%5B0%5D=Tutorial 301

src/components/HeaderDropdowns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { useState } from "react";
1111
import { PiCaretDownBold } from "react-icons/pi";
1212

1313
const links = [
14-
{ label: "Docs Directory", href: "/products/" },
14+
{ label: "Docs Directory", href: "/directory/" },
1515
{
1616
label: "APIs",
1717
href: "https://developers.cloudflare.com/api/",

src/components/HomepageHero.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if (image) {
4545
<div class="sl-flex stack">
4646
<div class="sl-flex copy">
4747
<div class="sl-flex copy links space-x-4">
48-
<a href="/products/">Products</a>
48+
<a href="/directory/">Directory</a>
4949
<a href="/billing/">Subscriptions and billing</a>
5050
<a href="/api/">API</a>
5151
<a href="/changelog/">Changelog</a>

src/components/homepage/FeaturedContentSection.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const { title, text, image, cards, imagePosition } = props.parse(Astro.props);
6363

6464
<LinkCard
6565
title={"Explore our Developer Platform"}
66-
href={"/products/?product-group=Developer+platform"}
66+
href={"/directory/?product-group=Developer+platform"}
6767
/>
6868
</Card>
6969
</div>

src/components/overrides/Footer.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const groups = Object.entries({
1313
text: "New to Cloudflare?",
1414
href: "/fundamentals/",
1515
},
16-
{ text: "Products", href: "/products/" },
16+
{ text: "Directory", href: "/directory/" },
1717
{
1818
text: "Sponsorships",
1919
href: "/sponsorships/",

src/components/overrides/PageTitle.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ const slug = Astro.locals.starlightRoute.entry.slug;
2525
const breadcrumbProps: Record<string, any> = {
2626
crumbs: [
2727
{
28-
text: "Products",
29-
href: "/products/",
28+
text: "Directory",
29+
href: "/directory/",
3030
},
3131
],
3232
truncated: true,

src/content/docs/developer-spotlight/application-guide.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Your tutorial must be:
2323
2. Technically accurate.
2424
3. Entirely original, written only by you.
2525
4. Written following Cloudflare's documentation style guide. For more information, please visit our [style guide documentation](/style-guide/) and our [tutorial style guide documentation](/style-guide/documentation-content-strategy/content-types/tutorial/#template)
26-
5. About how to use [Cloudflare's Developer Platform products](/products/?product-group=Developer+platform) to create a project or solve a problem.
26+
5. About how to use [Cloudflare's Developer Platform products](/directory/?product-group=Developer+platform) to create a project or solve a problem.
2727
6. Complete, not an unfinished draft.
2828

2929
## How to apply

src/content/docs/dns/get-started.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can use Cloudflare DNS with a variety of [setups](/dns/zone-setups/). For an
1616
In the most common setup (full), you [add your domain](/fundamentals/manage-domains/add-site/), import your [DNS records](/dns/manage-dns-records/), and [update your nameservers](/dns/nameservers/update-nameservers/) to make Cloudflare your primary authoritative DNS provider.
1717

1818
:::note
19-
Make sure to [review your DNS records](/dns/zone-setups/full-setup/setup/#review-dns-records) before updating your nameservers. If you activate your domain on Cloudflare *without* setting up the correct DNS records, your domain may not be reachable.
19+
Make sure to [review your DNS records](/dns/zone-setups/full-setup/setup/#review-dns-records) before updating your nameservers. If you activate your domain on Cloudflare _without_ setting up the correct DNS records, your domain may not be reachable.
2020
:::
2121

2222
Once the setup is completed:
@@ -33,12 +33,12 @@ The following links introduce important concepts and will guide you through acti
3333

3434
- [Nameservers](/dns/nameservers/): In the context of Cloudflare DNS, nameservers refer to authoritative nameservers. When a nameserver is authoritative for `example.com`, it means that DNS resolvers will consider responses from this nameserver when a user tries to access `example.com`.
3535

36-
- [Proxy status](/dns/proxy-status/): Proxy status affects how Cloudflare treats incoming HTTP/S requests to A, AAAA, and CNAME records. When a record is proxied, Cloudflare responds with [anycast IPs](/fundamentals/concepts/cloudflare-ip-addresses/), which speeds up and protects HTTP/S traffic with our [cache](/cache/)/[CDN](https://www.cloudflare.com/learning/cdn/what-is-a-cdn/), [DDoS protection](/ddos-protection/), [WAF](/waf/), and [more](/products/?product-group=Application+performance%2CApplication+security).
36+
- [Proxy status](/dns/proxy-status/): Proxy status affects how Cloudflare treats incoming HTTP/S requests to A, AAAA, and CNAME records. When a record is proxied, Cloudflare responds with [anycast IPs](/fundamentals/concepts/cloudflare-ip-addresses/), which speeds up and protects HTTP/S traffic with our [cache](/cache/)/[CDN](https://www.cloudflare.com/learning/cdn/what-is-a-cdn/), [DDoS protection](/ddos-protection/), [WAF](/waf/), and [more](/directory/?product-group=Application+performance%2CApplication+security).
3737

3838
## Further reading
3939

4040
- [How Cloudflare works](/fundamentals/concepts/how-cloudflare-works/): An overview of how Cloudflare works as a DNS provider and as a reverse proxy.
4141

4242
- [DNS analytics](/dns/additional-options/analytics/): An overview of the different data sources and insights you can get when using Cloudflare DNS.
4343

44-
- [Troubleshooting](/dns/troubleshooting/): A full resources list for when something is not working.
44+
- [Troubleshooting](/dns/troubleshooting/): A full resources list for when something is not working.

src/content/docs/fundamentals/api/how-to/make-api-calls.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Every Cloudflare API element is fixed to a version number. The latest version is
3636

3737
For specific guidance on making API calls, refer to the following resources:
3838

39-
- The product's [Developer Docs section](/products/) for how-to guides.
39+
- The product's [Developer Docs section](/directory/) for how-to guides.
4040
- [API schema docs](/api/) for request and response payloads for each endpoint.
4141
- The first-party libraries for [Go](https://github.com/cloudflare/cloudflare-go), [TypeScript](https://github.com/cloudflare/cloudflare-typescript), [Python](https://github.com/cloudflare/cloudflare-python), or [HashiCorp's Terraform](https://github.com/cloudflare/terraform-provider-cloudflare).
4242

0 commit comments

Comments
 (0)