From fed3d9426555ae60c1b3000867c16b08705a5836 Mon Sep 17 00:00:00 2001 From: dino475 Date: Thu, 7 Nov 2024 22:51:21 -0800 Subject: [PATCH 1/5] I updated the cloudflare mdx to say that "If your DNS provider is Cloudflare - do not use Proxying for the CNAME record". Flo and I agreed this would be good to add. --- advanced/subpath/cloudflare.mdx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/advanced/subpath/cloudflare.mdx b/advanced/subpath/cloudflare.mdx index 5ab76718d..4c281dc0b 100644 --- a/advanced/subpath/cloudflare.mdx +++ b/advanced/subpath/cloudflare.mdx @@ -3,6 +3,7 @@ title: "Cloudflare" description: "Host documentation at a /docs subpath using Cloudflare Workers" --- + import SubpathGatingSnippet from "/snippets/custom-subpath-gating.mdx"; @@ -10,13 +11,17 @@ import SubpathGatingSnippet from "/snippets/custom-subpath-gating.mdx"; ## Create Cloudflare Worker Navigate to the `Workers & Pages > Create application > Create worker`. You -should be able to presented with the following screen where you can create a new +should be presented with the following screen where you can create a new Cloudlfare worker. Create a Cloudflare worker + + If your DNS provider is Cloudflare - do not use proxying for the CNAME record + + ### Add custom domain Once the worker is created, click `Configure worker`. Navigate to the worker From 9e56c6d3f79df959eb9664b62f20c21543e73ecd Mon Sep 17 00:00:00 2001 From: dino475 Date: Thu, 7 Nov 2024 22:54:14 -0800 Subject: [PATCH 2/5] I updated the cloudflare mdx to say that "If your DNS provider is Cloudflare - do not use Proxying for the CNAME record". Flo and I agreed this would be good to add. --- advanced/subpath/cloudflare.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/subpath/cloudflare.mdx b/advanced/subpath/cloudflare.mdx index 4c281dc0b..7792e6e97 100644 --- a/advanced/subpath/cloudflare.mdx +++ b/advanced/subpath/cloudflare.mdx @@ -19,7 +19,7 @@ Cloudlfare worker. - If your DNS provider is Cloudflare - do not use proxying for the CNAME record + Keep in mind: If your DNS provider is Cloudflare you should not use proxying for the CNAME record ### Add custom domain From 1b1b9c1726d181fc79dd4a5a5d5b0a9d375daef1 Mon Sep 17 00:00:00 2001 From: dino475 Date: Fri, 8 Nov 2024 22:31:06 -0800 Subject: [PATCH 3/5] added noindex:true --- settings/seo.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/settings/seo.mdx b/settings/seo.mdx index ebe350b91..b2c6c1cf7 100644 --- a/settings/seo.mdx +++ b/settings/seo.mdx @@ -61,4 +61,12 @@ Only pages included in your `mint.json` are included by default. To include hidd "seo": { "indexHiddenPages": true } +``` + +## noindex + +To stop your docs from being indexed on the internet you can include the following in the front matter of your .mdx files. + +``` +noindex:true ``` \ No newline at end of file From 3787aa6c7205877828cffb4d4ff4051bebbd9f11 Mon Sep 17 00:00:00 2001 From: Hahnbee Lee <55263191+hahnbeelee@users.noreply.github.com> Date: Fri, 7 Feb 2025 20:29:49 -0800 Subject: [PATCH 4/5] delete snippet --- advanced/subpath/cloudflare.mdx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/advanced/subpath/cloudflare.mdx b/advanced/subpath/cloudflare.mdx index 9c86e7475..73b3a31ed 100644 --- a/advanced/subpath/cloudflare.mdx +++ b/advanced/subpath/cloudflare.mdx @@ -3,10 +3,6 @@ title: "Cloudflare" description: "Host documentation at a /docs subpath using Cloudflare Workers" --- -import SubpathGatingSnippet from "/snippets/custom-subpath-gating.mdx"; - - - ## Create Cloudflare Worker Navigate to the `Workers & Pages > Create application > Create worker`. You From ef0f9224faf865a237308c3358a5586caa702c7e Mon Sep 17 00:00:00 2001 From: Hahnbee Lee <55263191+hahnbeelee@users.noreply.github.com> Date: Fri, 7 Feb 2025 20:31:16 -0800 Subject: [PATCH 5/5] revert seo page --- settings/seo.mdx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/settings/seo.mdx b/settings/seo.mdx index ccb2375fb..bd115d08d 100644 --- a/settings/seo.mdx +++ b/settings/seo.mdx @@ -80,12 +80,4 @@ You can also specify `noindex` for all pages in your docs by setting the `metada "metadata": { "robots": "noindex" } -``` - -## noindex - -To stop your docs from being indexed on the internet you can include the following in the front matter of your .mdx files. - -``` -noindex:true ``` \ No newline at end of file