G
YouTube TikTok Games
Skip to content

Add the agent notice to Markdown versions of docs pages - #602

Open
g-despot wants to merge 1 commit into
mainfrom
docs/md-agent-notice
Open

g-despot wants to merge 1 commit into
mainfrom
docs/md-agent-notice

Conversation

@g-despot

@g-despot g-despot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Every Markdown version of a docs page, including the REST API reference files, now carries the LLM/AI agent notice that points to https://weaviate.io/llms.txt, right after the front matter. The HTML pages already had it as a hidden node, but the Markdown export dropped it because the node sits outside the docs body.

The notice text moves to src/data/agent-notice.json, which both src/theme/Root.js and the export plugin read, so the HTML output is unchanged. A local build shows the notice once in all 419 exported files.

The hidden LLM/AI agent notice sits outside the docs body, so the Markdown export dropped it. The text now lives in src/data/agent-notice.json. Root.js renders it on HTML pages and the export plugin puts it after the front matter of every exported file, including the REST API reference files.

@orca-security-eu orca-security-eu Bot 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.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

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.

1 participant