Add information about GitBook to page markdown (#4292)

This commit is contained in:
Addison
2026-06-09 19:53:07 +02:00
committed by GitHub
parent 62d6d28888
commit 4f754a73a3
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": minor
---
Add GitBook information to footer of markdown pages
+3 -1
View File
@@ -97,8 +97,10 @@ function renderAskFooter(
context: GitBookSiteContext,
pageLookup: ResolvedPagePath<RevisionPageDocument | RevisionPageGroup>
) {
return `\n\n---\n\n# Agent Instructions: Querying This Documentation
return `\n\n---\n\n# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.
## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on the current page URL with the \`ask\` query parameter: