docs: add cloudflare

This commit is contained in:
oiov
2024-11-22 10:38:49 +08:00
parent ede5074da0
commit e87b0dd22c
7 changed files with 23 additions and 5 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ export default async function HeroLanding() {
<section className="space-y-6 py-12 sm:py-20 lg:py-24">
<div className="container flex max-w-screen-md flex-col items-center gap-5 text-center">
<Link
href="https://wr.do"
href="/docs/open-api/screenshot"
target="_blank"
className={cn(
buttonVariants({ variant: "outline", size: "sm", rounded: "xl" }),
"px-4",
+5
View File
@@ -82,6 +82,11 @@ export const docsConfig: DocsConfig = {
{
title: "Examples",
items: [
{
title: "Cloudflare Custom Domain",
href: "/docs/examples/cloudflare",
icon: "page",
},
{
title: "Vercel Custom Domain",
href: "/docs/examples/vercel",
+4
View File
@@ -0,0 +1,4 @@
---
title: Cloudflare Pages & Workers Custom Domain
description: Free parsing of Cloudflare Pages & Workers custom domain names.
---
+9 -1
View File
@@ -19,4 +19,12 @@ Waiting for DNS records to take effect on vercel:
![](/_static/examples/vercel_03.png)
Done!
Done!
### Domain verification
You need add a `TXT` record to verify the domain ownership on `dashboard/records` when you first apply a custom domain.
The `TXT` record's `name` is `_vercel` and `value` is `vs-domain-verify=xxxxxx`, you can find them in `https://vercel.com/[account]/[project]/settings/domains`.
+1 -1
View File
@@ -3,7 +3,7 @@ title: Meta Scraping API
description: Extract website meta information
---
## Meta Scraping API Usage
## Usage
API URL:
```bash
+1 -1
View File
@@ -3,7 +3,7 @@ title: Screenshot API
description: Capture website screenshots
---
## Screenshot API Usage
## Usage
API URL:
```bash
+1 -1
View File
File diff suppressed because one or more lines are too long