Skip to content

List the Docs7 search in llms.txt, remove the Context7 Ask tag - #880

Merged
enesgules merged 5 commits into
mainfrom
ask-note-wording
Sep 30, 2026
Merged

enesgules merged 5 commits into
mainfrom
ask-note-wording

Conversation

@enesgules

@enesgules enesgules commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

1. The Context7 Ask meta tag is removed. #871 added the context7-ask tag. The upstash.com Ask endpoint searches the /upstash/docs library, which holds these same docs, so on the docs it only duplicates the Docs7 search. Docs7 search is on the same domain, has no monthly limit and is always as current as the live site. Ask stays on upstash.com (marketing, pricing and blog), which has no other search.

2. llms.txt and llms-full.txt list the Docs7 search. This custom llms.txt replaces the one Docs7 generates, so the Docs7 search (/docs/search?q=) was not listed anywhere. The generator (llms/src/build.ts) now writes a ## Search section after the agent Tip, in the same words as the file Docs7 generates. In our tests, agents found and used a search endpoint when llms.txt listed it. Both files are regenerated, and npm run check passes.

@mintlify

mintlify Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
upstash 🟢 Ready View Preview Sep 30, 2026, 12:48 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@context7

context7 Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Docs7 for upstash.com

Result Status Action
Deployment ✅ Ready Open preview
Content review ⚠️ Did not finish. View run

Commit 10e0e2f · Updated 2026-09-30 12:52 UTC · View build details

@enesgules enesgules changed the title Use the new Context7 Ask note wording Context7 Ask: new note wording, and the endpoint in llms.txt Sep 30, 2026
@context7
context7 Bot temporarily deployed to Docs7 Preview: ask-note-wording September 30, 2026 08:56 Destroyed
@context7
context7 Bot temporarily deployed to Docs7 Preview: ask-note-wording September 30, 2026 12:28 Destroyed
@enesgules enesgules changed the title Context7 Ask: new note wording, and the endpoint in llms.txt List the Docs7 search in llms.txt, remove the Context7 Ask tag Sep 30, 2026
@context7
context7 Bot temporarily deployed to Docs7 Preview: ask-note-wording September 30, 2026 12:52 Destroyed

@ramazanoacar ramazanoacar left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. The reasoning is sound: Ask on the docs duplicates the Docs7 search, which is on the same domain, has no quota and is always current. Listing /docs/search in the custom llms.txt fills the gap left by replacing the generated file. The wording matches what Docs7 generates, and it uses an absolute URL, which is even better for agents. I checked, and upstash.com/docs/search?q=… returns JSON as described. LGTM.

@enesgules
enesgules merged commit 3f7b98d into main Sep 30, 2026
4 of 5 checks passed
@enesgules
enesgules deleted the ask-note-wording branch September 30, 2026 13:41

This branch was successfully deployed

1 active deployment
Docs7 Preview: ask-note-wording — 10e0e2fe Deployed Sep 30, 2026 by context7[bot]
staging — 10e0e2fe Deployed Sep 30, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants