feat: migrate documentation from docs.iex.ec/nox-protocol to docs.noxprotocol.io#66
Open
edenbd1 wants to merge 1 commit into
Open
feat: migrate documentation from docs.iex.ec/nox-protocol to docs.noxprotocol.io#66edenbd1 wants to merge 1 commit into
edenbd1 wants to merge 1 commit into
Conversation
…protocol.io Separate Nox Protocol docs onto its own domain to prevent AI crawlers from confusing Nox with other iExec products (DataProtector, PoCo). - Change VitePress base path from /nox-protocol/ to / - Update AskIaButton ChatGPT/Claude links to docs.noxprotocol.io - Remove Layout.vue logo click handler workaround - Add 301 redirects from old /nox-protocol/* paths - Update robots.txt host check to docs.noxprotocol.io - Update LLM-only context to reference new domain
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
Migrates the Nox Protocol documentation site from being served under the /nox-protocol/ subpath on docs.iex.ec to a dedicated root deployment intended for docs.noxprotocol.io, including redirect and link updates to preserve old URLs and reduce cross-product confusion for crawlers/LLMs.
Changes:
- Switch VitePress
baseto/and update static asset paths accordingly. - Update Vercel routing to 301-redirect legacy
/nox-protocol/*paths and adjustrobots.txthost-based behavior for the new domain. - Update “Ask AI” links and repo docs to reference
docs.noxprotocol.io.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
vercel.json |
Replace rewrite with permanent redirects for legacy paths; update robots.txt host routing. |
.vitepress/config.ts |
Set base: '/' and update favicon path for root hosting. |
.vitepress/theme/Layout.vue |
Remove now-unneeded click handler workaround tied to the old base path. |
src/components/AskIaButton.vue |
Point “Ask in ChatGPT/Claude” prompts at the new docs domain. |
src/index.md |
Strengthen LLM-only context to explicitly separate domains/products. |
README.md |
Update documentation link to the new domain. |
CONTRIBUTING.md |
Update documentation link to the new domain. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
173
to
181
| const chatGPTLink = computed(() => { | ||
| const fullUrl = `https://docs.iex.ec${route.path}`; | ||
| const fullUrl = `https://docs.noxprotocol.io${route.path}`; | ||
| const prompt = `Please research and analyze this page: ${fullUrl} so I can ask you questions about it. Once you have read it, prompt me with any questions I have. Do not post content from the page in your response. Any of my follow up questions must reference the site I gave you.`; | ||
| return `https://chatgpt.com/?hints=search&q=${encodeURIComponent(prompt)}`; | ||
| }); | ||
|
|
||
| const claudeLink = computed(() => { | ||
| const fullUrl = `https://docs.iex.ec${route.path}`; | ||
| const fullUrl = `https://docs.noxprotocol.io${route.path}`; | ||
| const prompt = `Please research and analyze this page: ${fullUrl} so I can ask you questions about it. Once you have read it, prompt me with any questions I have. Do not post content from the page in your response. Any of my follow up questions must reference the site I gave you.`; |
Open
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Separates Nox Protocol documentation onto its own domain (
docs.noxprotocol.io) to prevent AI crawlers from confusing Nox with other iExec products (DataProtector, PoCo, Web3Mail, Web3Telegram) when they coexist on the samedocs.iex.ecdomain.Changes
.vitepress/config.ts— Changebasefrom/nox-protocol/to/, update favicon path.vitepress/theme/Layout.vue— Remove logo click handler workaround (no longer needed withbase: '/')src/components/AskIaButton.vue— Update ChatGPT/Claude "Ask AI" links todocs.noxprotocol.iovercel.json— Remove old rewrite rule, add 301 redirects from/nox-protocol/*paths, update robots.txt host checksrc/index.md— Strengthen LLM-only context with explicit domain separationREADME.md/CONTRIBUTING.md— Update documentation linksPrerequisites before merging
docs.noxprotocol.ioas a custom domain in Vercel (nox-documentation project → Settings → Domains)docs.noxprotocol.io→cname.vercel-dns.comAfter merging (separate repo)
docs.iex.echomepage →https://docs.noxprotocol.io/docs.iex.ecfrom/nox-protocol/*→docs.noxprotocol.io/*Test plan
docs.noxprotocol.ioresolves//nox-protocol/prefixdocs.noxprotocol.ioURLs/nox-protocol/getting-started/welcomeredirects 301 to/getting-started/welcome