From 5c51f7dde80322edafeaf44a9b33ea2a35bd4337 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Mon, 30 Mar 2026 13:13:16 +0900 Subject: [PATCH] [Doc] Add CNAME file to preserve custom domain across deployments Accessing https://ruby.sdk.modelcontextprotocol.io/ is expected to show the content of https://modelcontextprotocol.github.io/ruby-sdk/, but it currently does not. This change fixes that issue. The `generate-gh-pages.sh` script cleans all files from the gh-pages branch root before copying from `docs/`. This removes the CNAME file that GitHub Pages uses for the custom domain, causing `ruby.sdk.modelcontextprotocol.io` to break on every release. https://github.com/modelcontextprotocol/ruby-sdk/blob/v0.10.0/bin/generate-gh-pages.sh#L91-L93 By placing the CNAME file in `docs/`, it will be automatically copied to `gh-pages` during each deployment. https://github.com/modelcontextprotocol/ruby-sdk/blob/v0.10.0/bin/generate-gh-pages.sh#L95-L97 The following is a PR related to the configuration of ruby.sdk.modelcontextprotocol.io. - https://github.com/modelcontextprotocol/ruby-sdk/pull/181 - https://github.com/modelcontextprotocol/dns/pull/14 - https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2486 --- docs/CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/CNAME diff --git a/docs/CNAME b/docs/CNAME new file mode 100644 index 00000000..f49a17f5 --- /dev/null +++ b/docs/CNAME @@ -0,0 +1 @@ +ruby.sdk.modelcontextprotocol.io