Host documentation at a /docs subpath using Cloudflare Workers
/docs
subpath using Cloudflare, you will need to create and configure a Cloudflare Worker.
[SUBDOMAIN]
with your unique subdomain and [YOUR_DOMAIN]
with your website’s base URL.your-worker.your-subdomain.workers.dev/docs
www.
prepended./docs
on the same domain, you’ll need to configure custom routing through Cloudflare Workers to proxy all non-docs traffic to your main site.
landing.yoursite.com
. This will be the page that visitors see when they visit your site.[SUBDOMAIN]
with your unique subdomain, [YOUR_DOMAIN]
with your website’s base URL, and [LANDING_DOMAIN]
with your landing page URL.