Repository navigation
404 with suggested pages - #26411
404 with suggested pages#26411craig-osterhout wants to merge 1 commit into
Conversation
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The suggested pages don't load in the deploy preview, so you'll see the "No suggestions found" message there. The search API only accepts browser requests from an exact allowlist of origins, and Netlify preview URLs aren't on it, so it returns a 403. Search quality has limits. When I tried a non-existent page with |
Description
Quick agent redesign of the 404 page that adds suggested pages based on the broken URL.
search_docker_docstool on Gordon's MCP endpoint (https://ai-backend-service.docker.com/mcp). This replaces the earlier proof of concept in poc 404 redesign #25055, which scraped the sources out of Gordon's chat response.Docker documentation: compose compose file 05 services, and shows up to 5 deduplicated results. If the call fails or returns nothing, it shows a fallback message that points to Gordon.docsSearchURLparam inhugo.yaml. It always points at production because the stage backend has no/mcproute.Related issues or tickets
Supersedes #25055