Skip to content

Commit 1ae8e17

Browse files
committed
Docs fixes
1 parent 0dab077 commit 1ae8e17

33 files changed

+52
-42
lines changed

docs/app.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ export default defineAppConfig({
1717
},
1818
aside: {
1919
level: 1,
20-
collapsed: true,
20+
collapsed: false,
2121
},
2222
header: {
2323
logo: {
24-
dark: '/logo-new.png',
25-
light: '/logo-new.png',
24+
dark: '/logo-light.png',
25+
light: '/logo-dark.png',
2626
},
2727
},
2828
footer: {

docs/content/2.api/0.accounts/0.accounts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: An account refers to an organization account. Accounts contain one
77

88
An account refers to an organization account. Accounts contain one or more users and can contain one or more zones. A user can be part of one or more accounts.
99

10-
:button-link[Cloudflare API docs]{href="https://developers.cloudflare.com/api/operations/accounts-list-accounts" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/accounts-list-accounts" blank}
1111

1212
## List
1313

docs/content/2.api/0.accounts/1.roles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Whenever you add a new member to your account, you can assign polic
77

88
Whenever you add a new member to your account, you can assign policies to those users and make use of the available roles. Roles can only ever be assigned to their given scope and multiple roles can be assigned to a given policy.
99

10-
:button-link[Cloudflare API docs]{href="https://developers.cloudflare.com/api/operations/account-roles-list-roles" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/account-roles-list-roles" blank}
1111

1212
## List
1313

docs/content/2.api/0.accounts/2.members.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: On any Cloudflare account, you can collaborate by adding members to
77

88
On any Cloudflare account, you can collaborate by adding members to your account and assigning them access via one or several policies.
99

10-
:button-link[Cloudflare API docs]{href="https://developers.cloudflare.com/api/operations/account-members-list-members" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/account-members-list-members" blank}
1111

1212
## List
1313

docs/content/2.api/0.accounts/4,audit-logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Audit logs summarize the history of changes made within your Cloudf
77

88
Audit logs summarize the history of changes made within your Cloudflare account. Audit logs include account level actions like login, as well as zone configuration changes.
99

10-
:button-link[Cloudflare API docs]{href="https://developers.cloudflare.com/api/operations/audit-logs-get-account-audit-logs" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/audit-logs-get-account-audit-logs" blank}
1111

1212
## Get
1313

docs/content/2.api/1.zones/0.index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ title: Zones
33
description: Domains (or subdomains) that are added to Cloudflare become zones, which have a direct impact on the security and performance of your website, application, or API
44
---
55

6-
# Zones
6+
# Zones [:icon{name="heroicons-outline:external-link"}](https://developers.cloudflare.com/api/operations/zones-get)
77

88
Domains (or subdomains) that are added to Cloudflare become zones, which have a direct impact on the security and performance of your website, application, or API. Use your zone to monitor security and performance, update configurations, and apply zone-level products and services.
99

10-
:button-link[Cloudflare API docs]{href="https://developers.cloudflare.com/api/operations/zones-get" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/zones-get" blank}
1111

1212
## List
1313

docs/content/2.api/1.zones/1.dns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: View, create, update your zones DNS Records on Cloudflare.
77

88
View, create, update your zones DNS Records on Cloudflare.
99

10-
:button-link[Cloudflare API docs]{href="https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-list-dns-records" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-list-dns-records" blank}
1111

1212
## Scan
1313

docs/content/2.api/1.zones/2.dnssec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: DNS Security Extensions (DNSSEC) adds an extra layer of authenticat
77

88
DNS Security Extensions (DNSSEC) adds an extra layer of authentication to DNS, ensuring requests are not routed to a spoofed domain.
99

10-
:button-link[Cloudflare API docs]{href="https://developers.cloudflare.com/api/operations/dnssec-dnssec-details" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/dnssec-dnssec-details" blank}
1111

1212
## Details
1313

docs/content/2.api/1.zones/2.page-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Cloudflare Page Rules allow you to make adjustments to requests, co
77

88
Cloudflare Page Rules allow you to make adjustments to requests, configure Cloudflare settings, and trigger specific actions for matching requests.
99

10-
:button-link[Cloudflare API docs]{href="https://developers.cloudflare.com/api/operations/page-rules-list-page-rules" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/page-rules-list-page-rules" blank}
1111

1212
## Settings
1313

docs/content/2.api/1.zones/4.cloud-conenctor-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Cloud Connector allows you to route matching incoming traffic from
77

88
Cloud Connector allows you to route matching incoming traffic from your website to a public cloud provider that you define such as AWS, Google Cloud, and Azure. With Cloud Connector you can make Cloudflare the control center for your web traffic, including traffic served from public cloud providers, without having to configure additional rules.
99

10-
:button-link[Cloudflare API docs]{href="https://developers.cloudflare.com/api/operations/zone-cloud-connector-rules" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/zone-cloud-connector-rules" blank}
1111

1212
## Get
1313

docs/content/2.api/1.zones/5.holds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ navigation:
99

1010
Zone holds prevent other teams in your organization from adding zones that are already active in another account.
1111

12-
:button-link[Cloudflare API docs]{href="https://developers.cloudflare.com/api/operations/zones-0-hold-get" blank}
12+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/zones-0-hold-get" blank}
1313

1414
## Get
1515

docs/content/2.api/1.zones/6.lockdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ navigation:
99

1010
Zone Lockdown specifies a list of one or more IP addresses, CIDR ranges, or networks that are the only IPs allowed to access a domain, subdomain, or URL. You can configure multiple destinations, including IPv4/IPv6 addresses, in a single Zone Lockdown rule.
1111

12-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/zone-lockdown-list-zone-lockdown-rules" blank}
12+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/zone-lockdown-list-zone-lockdown-rules" blank}
1313

1414
## List
1515

docs/content/2.api/2.workers/0.analytics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ navigation:
99

1010
Retrieves Workers KV metrics for the given account.
1111

12-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/workers-kv-request-analytics-query-request-analytics" blank}
12+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/workers-kv-request-analytics-query-request-analytics" blank}
1313

1414
## Request Analytics
1515

docs/content/2.api/2.workers/1.settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ navigation:
77

88
# Account settings
99

10-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/worker-account-settings-fetch-worker-account-settings" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/worker-account-settings-fetch-worker-account-settings" blank}
1111

1212
## Fetch
1313

docs/content/2.api/2.workers/10.logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ navigation:
77

88
# Tail Logs
99

10-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/worker-tail-logs-list-tails" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/worker-tail-logs-list-tails" blank}
1111

1212
## List Tails
1313

docs/content/2.api/2.workers/11.routes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ navigation:
77

88
# Routes
99

10-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/worker-routes-list-routes" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/worker-routes-list-routes" blank}
1111

1212
## List
1313

docs/content/2.api/2.workers/2.cron.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ navigation:
99

1010
Cron Triggers allow users to map a cron expression to a Worker using a scheduled() handler that enables Workers to be executed on a schedule.
1111

12-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/worker-cron-trigger-get-cron-triggers" blank}
12+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/worker-cron-trigger-get-cron-triggers" blank}
1313

1414
## Fetch
1515

docs/content/2.api/2.workers/3.deployments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ navigation:
99

1010
Deployments track the version(s) of your Worker that are actively serving traffic. A deployment can consist of one or two versions of a Worker.
1111

12-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/worker-deployments-list-deployments" blank}
12+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/worker-deployments-list-deployments" blank}
1313

1414
## List
1515

docs/content/2.api/2.workers/4.domains.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ navigation:
77

88
# Domains
99

10-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/worker-domain-list-domains" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/worker-domain-list-domains" blank}
1111

1212
## List
1313

docs/content/2.api/2.workers/5.environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ navigation:
99

1010
Wrangler allows you to deploy the same Worker application with different configuration for each environment. You must configure environments in your Worker application’s wrangler.toml file.
1111

12-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/worker-environment-get-script-content" blank}
12+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/worker-environment-get-script-content" blank}
1313

1414
## Get script content
1515

docs/content/2.api/2.workers/6.scripts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ navigation:
77

88
# Scripts
99

10-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/worker-script-list-workers" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/worker-script-list-workers" blank}
1111

1212
## List Workers
1313

docs/content/2.api/2.workers/7.subdomain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ navigation:
77

88
# Subdomain
99

10-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/worker-subdomain-get-subdomain" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/worker-subdomain-get-subdomain" blank}
1111

1212
## Get Subdomain
1313

docs/content/2.api/2.workers/8.versions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ navigation:
99

1010
You can upload changes (versions) to your Worker independent of changing the version that is actively serving traffic (deployment).
1111

12-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/worker-versions-list-versions" blank}
12+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/worker-versions-list-versions" blank}
1313

1414
## List Versions
1515

docs/content/2.api/2.workers/9.kv.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ navigation:
77

88
# KV
99

10-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/workers-kv-namespace-list-namespaces" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/workers-kv-namespace-list-namespaces" blank}
1111

1212
## List Namespaces
1313

docs/content/2.api/4.d1.md renamed to docs/content/2.api/3.d1/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
title: Cloudflare D1
33
description: Cloudflare D1
44
navigation:
5-
title: Cloudflare D1
5+
title: D1
66
---
77

88
# Cloudflare D1
99

1010
D1 is Cloudflare’s native serverless database. D1 allows you to build applications that handle large amounts of users at no extra cost. With D1, you can restore your database to any minute within the last 30 days.
1111

12-
:button-link[Cloudflare API docs]{href="https://developers.cloudflare.com/api/operations/cloudflare-d1-list-databases" blank}
12+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/cloudflare-d1-list-databases" blank}
1313

1414
## List
1515

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: D1 Query Builder
3+
description: D1 Query Builder
4+
navigation:
5+
title: Query Builder
6+
---
7+
8+
# D1 Query Builder
9+
10+
// TODO

docs/content/2.api/3.tunnel/1.routes.md renamed to docs/content/2.api/4.tunnel/1.routes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ navigation:
77

88
# Routing
99

10-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/tunnel-route-list-tunnel-routes" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/tunnel-route-list-tunnel-routes" blank}
1111

1212
## List
1313

docs/content/2.api/3.tunnel/2.virtual-networks.md renamed to docs/content/2.api/4.tunnel/2.virtual-networks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ navigation:
77

88
# Virtual Networks
99

10-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/tunnel-virtual-network-list-virtual-networks" blank}
10+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/tunnel-virtual-network-list-virtual-networks" blank}
1111

1212
## List
1313

docs/content/2.api/5.ips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ navigation:
99

1010
Get IPs used on the Cloudflare/JD Cloud network, see https://www.cloudflare.com/ips for Cloudflare IPs or https://developers.cloudflare.com/china-network/reference/infrastructure/ for JD Cloud IPs.
1111

12-
:button-link[Cloudflare docs]{href="https://developers.cloudflare.com/api/operations/cloudflare-i-ps-cloudflare-ip-details" blank}
12+
:button-link[Cloudflare API docs]{icon="heroicons-outline:external-link" href="https://developers.cloudflare.com/api/operations/cloudflare-i-ps-cloudflare-ip-details" blank}
1313

1414
```php [php]
1515
$response = $client->ips()->get();

docs/public/logo-dark.png

7.76 KB
Loading

docs/public/logo-light.png

7.51 KB
Loading

docs/public/logo-new.png

-18.5 KB
Binary file not shown.

docs/tokens.config.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ import { defineTheme } from 'pinceau'
33
export default defineTheme({
44
color: {
55
primary: {
6-
50: { value: '#fdf3e2' },
7-
100: { value: '#fdf1e7' },
8-
200: { value: '#fbdbc1' },
9-
300: { value: '#f8c296' },
10-
400: { value: '#f4a15d' },
11-
500: { value: '#e06d10' },
12-
600: { value: '#b6590d' },
13-
700: { value: '#a24f0b' },
14-
800: { value: '#5b2c06' },
15-
900: { value: '#341a04' },
6+
50: { value: '#fffcf9' },
7+
100: { value: '#fef8f3' },
8+
200: { value: '#fef1e7' },
9+
300: { value: '#fde3ce' },
10+
400: { value: '#fac59a' },
11+
500: { value: '#f79e57' },
12+
600: { value: '#f48123' },
13+
700: { value: '#d36e1c' },
14+
800: { value: '#be6319' },
15+
900: { value: '#a75716' },
1616
},
1717
},
1818
})

0 commit comments

Comments
 (0)