Commit Graph

2002 Commits

Author SHA1 Message Date
Brett Jephson 4f53fcfbed Render heading-4 blocks
Renders `heading-4` as an `<h5>` with an anchor link, one size step below
heading-3, and keeps it out of the page outline. `@gitbook/api` is patched
with the new type until a release includes it.

RND-12837

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:27:44 +00:00
Peter White 48fe81b58f Include hidden published spaces in direct search lookup (#4839) 2026-11-24 11:20:25 +01:00
spastorelli 596b8c5705 Support MCP protocol version 2025-11-25 (#4831) 2026-11-23 18:42:38 +01:00
spastorelli 22df281316 Make sure the MCP server name of published sites says "Docs" (#4835) 2026-11-23 17:31:44 +01:00
spastorelli 5755e6db32 Point agents to the site's MCP server (#4832) 2026-11-23 17:10:38 +01:00
spastorelli bd38317ba5 Follow AI Catalog v0.9 in the site catalog (#4833) 2026-11-23 16:56:25 +01:00
spastorelli adbc358dd5 Answer MCP GET requests with 405 and Allow: POST (#4830) 2026-11-23 16:44:19 +01:00
spastorelli 21b96e17a7 Count only MCP tool calls as MCP requests (#4829) 2026-11-23 16:30:02 +01:00
Peter White d2be88590f Render authored page keywords in metadata (#4824) 2026-11-23 16:03:32 +01:00
Peter White 873856ae98 Send the reason for site search route calls (#4834) 2026-11-23 15:52:49 +01:00
Peter White 4cbbda7fab Update @gitbook/api to 0.213.0 (#4826) 2026-11-23 12:36:19 +00:00
Peter White 63a4a98384 Track the clicked position in site search (#4823) 2026-11-23 13:28:04 +01:00
Peter White 060f1f63ca Keep wide content inside Updates block columns (#4825) 2026-11-23 12:14:33 +01:00
Peter White 7cee30ecb8 Keep search results visible while refining a search (#4821) 2026-11-23 11:39:33 +01:00
Peter White a035d196f0 [RND-8403] Keep published revision URLs out of search results (#4819) 2026-11-23 10:24:44 +01:00
Peter White 1ecd2ca65a Keep integration dependency errors inside their blocks (#4820) 2026-11-21 10:11:45 +01:00
conico974 b0f3822342 Bump OpenNext to aws 4.2.0 and cloudflare 1.20.18 (#4817)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:19:25 +01:00
Peter White 7e2658a7a2 Reduce site search debounce to 100 ms (#4816) 2026-11-20 10:35:34 +00:00
spastorelli a10eff9e0a Make the page actions menu load its own data (#4808) 2026-11-20 11:32:44 +01:00
Johan Preynat 13c0ff0803 Update to GitBook API SDK 0.211.0 (#4814) 2026-11-19 22:43:29 +01:00
Peter White d2c56e5f0e Redirect change request links to the site preview when public previews are off (#4813) 2026-11-19 20:38:15 +00:00
spastorelli fa7d4a94f6 Challenge MCP clients when the site rejects their bearer token (#4807) 2026-11-19 10:02:13 +01:00
Peter White a9535cdc0e Emit an escape event from the Docs Embed (#4809) 2026-11-19 09:06:29 +01:00
Peter White 506aa78375 Let browsers discover a published site's search via OpenSearch (#4810) 2026-11-19 09:06:25 +01:00
Peter White 6b2e806e9e Inherit site questions in the embedded Assistant (#4812) 2026-11-19 09:06:21 +01:00
Peter White 7ad3fff118 Open links in the tab their author chose (#4802) 2026-11-18 15:24:51 +01:00
Peter White 386a5c18eb Simplify search results and let hover select a result (#4806) 2026-11-18 15:12:09 +01:00
conico974 a3b5ce5b7e Render the llms.txt directive as the first element in <body> (#4801)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 13:19:09 +01:00
Nolann B. 818cbbeb38 Answer Assistant questions with medium reasoning (#4700) 2026-11-18 13:01:20 +01:00
Peter White be6e324327 Keep held-search tests on the search route when the site gives a search pass (#4804) 2026-11-18 11:20:29 +01:00
Peter White ae1e370c48 Stop the table of contents layout loop in older Chrome (#4800) 2026-11-18 09:03:01 +01:00
Peter White adbec4c832 Send each search once on sites without a top header (#4781) 2026-11-17 12:10:19 +00:00
Peter White 8f5175e69e Show result-shaped placeholders while search loads (#4779) 2026-11-17 12:10:19 +00:00
Peter White 7856e08c15 Show one server-ordered search list and open its top result on Enter (#4777) 2026-11-17 12:10:18 +00:00
Peter White 6cdbafcda6 [RND-8403] Respect a site's setting to turn off change request previews (#4797) 2026-11-17 11:12:01 +00:00
Peter White d55e8f90c2 Make the no-pass search test independent of the search pass flag (#4798) 2026-11-17 11:56:32 +01:00
Brett Jephson 960d7ec6e2 Fade collapsed code blocks on published sites (#4793)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 10:37:22 +00:00
Peter White cf8c3d52f3 Search the API directly from the browser with a search pass (#4784) 2026-11-17 10:35:54 +01:00
Peter White 4eb32b1534 Use absolute links in generated Markdown (#4795) 2026-11-17 10:11:23 +01:00
Peter White b5f7e55818 Render Small cards in published sites (#4796) 2026-11-17 09:34:22 +01:00
Nolann B. 262749a0b1 Copy the current spec's server in OpenAPI endpoint URLs (#4794) 2026-11-16 20:12:40 +01:00
Peter White b145bfcdff Stop caching site search results (#4782) 2026-11-16 16:43:30 +01:00
Peter White 1c718491bd Follow the API's cache lifetime for site data (#4790) 2026-11-16 14:10:44 +01:00
Viktor Renkema 8dd308bd90 Ignore categories when resolving tag assignments (#4736) 2026-11-16 10:49:18 +01:00
Peter White c09da2ec1a Show H3 headings in the page outline (#4787) 2026-11-16 10:47:57 +01:00
conico974 9fcde5f487 Reduce memory and CPU use of the OpenNext workers (#4788)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 10:17:23 +01:00
conico974 c85d84fc1d Store 'use cache' entries in R2 again (#4789)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 10:15:41 +01:00
Peter White c3df458378 Keep inline code readable over a background page cover (#4778) 2026-11-13 13:28:17 +01:00
conico974 ddccd3d4f0 Bump Next.js to 16.4.6 and OpenNext to 1.20.17 (#4776)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 13:28:03 +01:00
Peter White adfd921b3a Search one language in the MCP search tool (#4775) 2026-11-13 10:37:44 +01:00