docs: clarify llms.txt and llms-full.txt behavior with authentication#5950
Closed
mintlify-development[bot] wants to merge 1 commit into
Closed
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
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
Documents the new auth-aware behavior for
llms.txtandllms-full.txtso users know what is served on fully and partially authenticated sites.Changes
ai/llmstxtwith the new behavior: fully authenticated sites return404for/llms.txtand/llms-full.txt(authenticated users can still fetch anllms.txtscoped to their permissions), and partially authenticated sites serve both files publicly with only public pages and no OpenAPI/AsyncAPI specification links.deploy/authentication-setupto reflect the same split.Context
Reflects the user-facing effects of these source PRs:
llms.txt(filters to public pages, returns404when no public pages exist).llms.txton auth deployments.llms-full.txt(skipped for fully-authed sites, public-only filter for partially-authed sites).llms.txtendpoint for fully-authed deployments that excludes hidden pages, pages restricted to user groups, and spec URLs.Note
Low Risk
Low risk documentation-only change that clarifies how
llms.txt/llms-full.txtare served on fully vs partially authenticated sites; no product logic is modified.Overview
Clarifies in
ai/llmstxt.mdxthat authentication behavior forllms.txt/llms-full.txtnow differs between fully authenticated sites (unauthenticated requests get404, authenticated users can fetch a permission-scopedllms.txt) and partially authenticated sites (files are public but include only public pages and exclude group-restricted/hidden pages and OpenAPI/AsyncAPI spec links).Updates the Feature availability table in
deploy/authentication-setup.mdxto match, and mirrors the same documentation updates across the Spanish, French, and Chinese translations.Reviewed by Cursor Bugbot for commit 75d0f29. Bugbot is set up for automated code reviews on this repo. Configure here.