Zeno Kapitein
581eabe383
Add Custom language option to OpenAPI code samples
...
OpenAPI code-sample blocks now show a language icon next to every option and add a "Custom language" entry that opens the assistant pre-filled (as a draft, not sent) with the current request staged as a reference and the prompt "Rewrite this in the following language: ", letting readers rewrite the request in any language.
- react-openapi: new OpenAPICodeSampleAssistant context the host app fills in; the selector renders per-language icons and the Custom action item (OpenAPISelect gains an action/onAction concept so it fires without changing the selection). Adds getCodeSampleIcon to the render context and 3 translation keys across all locales.
- gitbook: new setDraft controller method + inputDraft state so the chat input can be pre-filled without sending; OpenAPICodeSampleAIProvider bridges the GitBook assistant (logo, name, reference + draft action) into react-openapi, mounted once in SpaceLayout (covers site and embed); maps languages to icons.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-12 18:29:12 +02:00
Nolann B.
5b36c59061
Fix PDF export failing on API Reference pages ( #4307 )
2026-06-12 13:43:38 +00:00
Zeno Kapitein
77c717c251
Group an assistant turn's tool calls into a single expandable ( #4303 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-12 15:26:27 +02:00
Samy Pessé
60310b4c83
Version Packages ( #4278 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-12 14:55:55 +02:00
conico974
6eabaecbad
Implement getVariables method for expression evaluation ( #4304 )
2026-06-12 14:26:17 +02:00
Zeno Kapitein
423bbd06d9
Create Claude launch.json ( #4301 )
2026-06-12 12:52:24 +02:00
conico974
36f19c8018
Add LLMs directive for documentation links ( #4300 )
2026-06-12 12:09:25 +02:00
Zeno Kapitein
2ecbdd8f62
add navigateToPage assistant tool ( #4299 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-12 11:57:55 +02:00
Nolann B.
c727cc8b9d
Fix inflated visitor counts from unstable anonymous visitorId ( #4293 )
2026-06-12 00:52:59 +02:00
Zeno Kapitein
2c729d461e
Rework Assistant “based on your context” popover wording ( #4298 )
2026-06-11 22:19:32 +02:00
Tomek
d83ea4ce14
chore(a11y): increase width of the collapse/expand arrow in menu items ( #4297 )
2026-06-11 14:02:38 +00:00
spastorelli
bac8608e78
Add support for passing visitor claims to integration webframes ( #4291 )
2026-06-11 09:52:26 +02:00
Greg Bergé
7a1236a3a5
Fix search results linking to page instead of section anchor ( #4295 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-06-10 19:23:59 +00:00
Zeno Kapitein
ed80bd9e7a
Add recent search (and chat) queries ( #4225 )
2026-06-10 18:45:07 +02:00
Zeno Kapitein
7036b67307
Fix window.GitBook.registerAssistant is being called twice ( #4296 )
2026-06-10 15:54:38 +00:00
Zeno Kapitein
6bd522b322
Update site section tabs with better column calc and animations ( #4252 )
2026-06-10 17:35:38 +02:00
Zeno Kapitein
74fc3f74d7
Fix: Submit feedback confirmation does not auto close ( #4240 )
2026-06-10 17:35:29 +02:00
conico974
3e384c679e
Add suggested follow-up questions to AI answer markdown response ( #4284 )
2026-06-10 17:29:08 +02:00
Greg Bergé
f1fa1061db
Upgrade bun.lock ( #4294 )
2026-06-10 17:09:10 +02:00
Addison
4f754a73a3
Add information about GitBook to page markdown ( #4292 )
2026-06-09 19:53:07 +02:00
conico974
62d6d28888
Fix context handling in resolveContentRef for page resolution issues ( #4290 )
2026-06-09 15:10:03 +02:00
conico974
fd73a9912b
Fix caching strategy for icon fetching ( #4289 )
2026-06-08 13:46:32 +02:00
Johan Preynat
595435ac4a
Ensure local search matches remote filter when there are no sections ( #4287 )
2026-06-04 19:14:54 +02:00
Addison
aa9d41a1b6
Update footer for llms ( #4286 )
2026-06-04 16:19:02 +02:00
conico974
30089b404c
Adjust caching strategy for icon fetching based on runtime environment ( #4283 )
...
Co-authored-by: Steven H <steven@gitbook.io >
2026-06-02 12:00:38 +02:00
Nolann B.
92b68560e1
Add Ask AI in CodeBlock ( #4220 )
2026-06-02 00:40:54 +02:00
Nolann B.
f158064817
Match OpenAPI operation paths regardless of trailing slash ( #4282 )
2026-05-29 12:16:24 +02:00
Greg Bergé
2885a137f8
Fix heading anchor alignment with heading text and translate its accessibility label ( #4281 )
2026-05-29 09:38:47 +02:00
spastorelli
0ffb74a6f8
Fix issue where MCP POST requests with expired tokens returns 307 instead of 401 ( #4280 )
2026-05-28 16:35:12 +02:00
Nolann B.
b116a0a2a4
Fix OpenAPI code sample box not scrolling on initial load ( #4279 )
2026-05-28 12:04:32 +02:00
Greg Bergé
b9bb535d52
Full screen view for Mermaid diagrams ( #4275 )
...
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-28 09:17:21 +02:00
Samy Pessé
257ca09a5e
Version Packages ( #4263 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tomek Gargula <tomasz@gitbook.com >
2026-05-28 07:12:45 +00:00
Tomek
f405fffa06
feat: add support for icons in tabs ( #4277 )
2026-05-27 15:22:25 +00:00
Tomek
16a54b6bb9
Improve accessibility in published docs ( #4276 )
2026-05-27 12:40:25 +00:00
Greg Bergé
526a928420
Fix annotation hover interaction when card has a target link ( #4274 )
2026-05-27 12:02:20 +02:00
conico974
c201abab5f
Don't display agents instructions for page action ( #4272 )
2026-05-27 10:41:53 +02:00
Greg Bergé
3697dfefed
Add page actions layout visibility ( #4270 )
2026-05-22 12:37:37 +02:00
spastorelli
287203d197
Show MCP page actions for VA & adaptive sites ( #4268 )
2026-05-22 08:47:13 +02:00
conico974
0b38f6c93b
Update regional cache settings ( #4267 )
2026-05-20 14:25:59 +02:00
conico974
8ce64f4862
Remove remote from use cache ( #4259 )
2026-05-20 14:12:51 +02:00
Greg Bergé
127ef54b0f
Add updates tag filtering ( #4265 )
2026-05-20 12:42:51 +02:00
Greg Bergé
67f31aaa7a
Always allow LLMs to read the content ( #4264 )
2026-05-20 09:39:35 +02:00
Greg Bergé
51fef84d39
Fix logo size variations ( #4266 )
2026-05-19 20:55:45 +02:00
Greg Bergé
0c577a00de
Allow CORS for the same root domain ( #4262 )
...
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-19 14:41:07 +02:00
Samy Pessé
8b6dc6dbbd
Version Packages ( #4255 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Zeno Kapitein <zeno@gitbook.io >
2026-05-19 13:24:41 +02:00
Antoine Coutellier
2e7ba40a25
feat: support integrations inside reusable content blocks ( #4250 )
2026-05-19 11:29:02 +02:00
Greg Bergé
b70b8fd2ca
Fix llms.txt not including all content ( #4260 )
2026-05-18 21:33:07 +02:00
Greg Bergé
a9ba996953
Fix left/right aligment of images with caption ( #4261 )
2026-05-18 21:32:22 +02:00
Brett Jephson
47c8ccba6f
Fix: clipping of FA icons ( #4257 )
2026-05-18 15:09:41 +01:00
conico974
e9842feeef
Bump Next.js to version 16.2.6 and fix oom on dev ( #4258 )
2026-05-18 11:12:47 +02:00