Skip to content

Commit bf6153d

Browse files
committed
seo: serve context7.json so the llms.txt corpus can be claimed
Context7 already indexes imqueue.org's llms.txt as a corpus. Claiming it — which is what puts the site's own name on the listing instead of leaving it an anonymous mirror — requires serving the ownership proof verbatim from the domain root, so this is a passthrough copy rather than a template. org only: the claim is over imqueue.org's corpus, and imqueue.com has no llms.txt listing there to claim.
1 parent 3862c64 commit bf6153d

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

eleventy.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,13 @@ module.exports = function (eleventyConfig) {
789789
// paths to imqueue.org; imqueue.org 301s retired versioned API URLs to /latest/.
790790
eleventyConfig.addPassthroughCopy({ [`src/${EDITION}/_redirects`]: "_redirects" });
791791

792+
// Context7 ownership proof. Context7 already indexes imqueue.org's llms.txt as a
793+
// corpus; claiming it means serving this file verbatim from the domain root so the
794+
// public key can be matched. org only — the claim is over imqueue.org's corpus.
795+
if (!isCom) {
796+
eleventyConfig.addPassthroughCopy({ "src/org/context7.json": "context7.json" });
797+
}
798+
792799
// API reference (current + kept archives) is now generated as native Eleventy
793800
// pages under src/org/api/**; the old standalone TypeDoc HTML passthrough is
794801
// gone. Regenerate with `npm run build-docs` (latest) / `gen-api-archive` (old).

src/org/context7.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"url": "https://context7.com/llmstxt/imqueue_llms_txt",
3+
"public_key": "pk_fjNtG1ue4XLAYwKYgyOMq"
4+
}

0 commit comments

Comments
 (0)