Brett Jephson
20f177b314
Honour an explicit select slug on a tab
...
Tab slugs were always derived from the title, so a rename retargeted the tab's
selection and broke every select button pointing at the old slug. The document
schema now carries an optional `slug` per tab; resolve it ahead of the title.
An absent slug still derives from the title, so published pages are unchanged and
same-named tabs across a site keep selecting together with no authoring. Untitled
tabs keep falling back to their stable id.
`resolveSelectSlug` is duplicated from doc-core in the gitbook-x repo alongside
`slugifySelectValue`, for the same reason: the editor preview and the published
page have to resolve a tab to the same slug. Its test mirrors the editor's.
`slug` is read structurally for now — it is in the document schema but reaches
these types only once a new @gitbook/api is published, at which point the cast in
Tabs.tsx can go.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-08 09:57:36 +01:00
Peter White
81dba6455b
Resolve stable refs in HTML blocks of published markdown pages ( #4592 )
2026-09-08 09:45:14 +02:00
Johan Preynat
1faa57b812
Keep revision search results in preview ( #4582 )
2026-09-07 19:46:57 +02:00
Tomek
40150f0a6c
Serve markdown with text/plain content-type for ChatGPT ( #4591 )
...
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com >
2026-09-07 17:13:19 +02:00
Brett Jephson
bf29570bd5
RND-12706: measuring tabs fix ( #4588 )
...
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-07 15:40:43 +01:00
Peter White
e8e979b6c0
Serve permanent site redirects ( #4586 )
2026-09-07 16:07:40 +02:00
Tomek
1f250d1fa8
Add site structure e2e tests for external links ( #4584 )
2026-09-07 09:31:50 +02:00
Brett Jephson
46b3a18b25
Fix nested select css ( #4583 )
...
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-04 16:20:52 +01:00
Nolann B.
2ff77e15b5
Attribute a markdown request from the page actions menu ( #4581 )
2026-09-04 12:17:00 +02:00
Tomek
d7c867aa63
Fix MCP/Markdown copy confirmation closing dropdown instantly ( #4579 )
...
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com >
2026-09-03 16:08:53 +02:00
Tomek
bcd1c41aa1
Scroll to top when selecting current page in search ( #4578 )
...
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com >
2026-09-03 11:35:07 +02:00
Viktor Renkema
77058e3f17
Support merged cells ( #4500 )
...
Co-authored-by: OpenAI Codex <codex@openai.com >
2026-09-03 10:26:43 +02:00
Tomek
8ad7465801
Simplify carousel overflow with edge masks & fix carousel scroll ( #4577 )
...
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com >
2026-09-02 14:32:53 +00:00
arnau
1b7ac0e41b
Open inline Ask AI questions in the configured assistant ( #4574 )
2026-09-02 12:05:37 +02:00
Tomek
5f88f4e680
Improve cross-space page breadcrumbs ( #4571 )
...
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com >
2026-09-02 11:43:35 +02:00
Peter White
7009bb9311
Drop the body-anchored cover gate from paragraph contrast text ( #4573 )
2026-09-02 11:24:54 +02:00
Johan Preynat
e460ec381e
Preserve linked page destinations in published search ( #4566 )
2026-09-01 15:06:26 +02:00
Johan Preynat
0a82628298
Trap keyboard focus within published search ( #4567 )
2026-09-01 13:12:01 +02:00
conico974
18ff11b68b
Bump @opennextjs/aws and @opennextjs/cloudflare versions ( #4570 )
2026-09-01 12:14:55 +02:00
Peter White
3bf55cef10
Allow adding query params to the @webframe.navigate action ( #4569 )
2026-09-01 10:14:07 +02:00
Peter White
e041e49f11
Wait for integrations to register before showing the cookie banner ( #4568 )
2026-09-01 09:09:15 +02:00
Johan Preynat
c1b5be05eb
Allow search to target any section ( #4564 )
2026-08-31 18:32:02 +02:00
Johan Preynat
7543eb83ad
Prewarm Turbopuffer when published search opens ( #4563 )
2026-08-31 13:32:47 +00:00
Tomek
523b7cd4b6
Support external links ( #4561 )
...
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com >
2026-08-31 13:11:13 +02:00
spastorelli
af698a49f5
Extend MCP tests ( #4562 )
2026-08-31 11:59:46 +02:00
conico974
db67585ee2
Remove MCP authentication path from internal paths registry ( #4560 )
2026-08-28 14:57:21 +02:00
Peter White
a566153d98
Chunk oversized visitor authentication cookies ( #4554 )
2026-08-28 12:28:53 +02:00
conico974
530f98a9c4
Skip internal paths in URL lookup ( #4557 )
2026-08-28 12:24:29 +02:00
Tomek
39391259c8
Disable zoom for inline images ( #4555 )
2026-08-28 11:32:19 +02:00
Nolann B.
35be3835f3
Skip rendering work for off-screen OpenAPI blocks ( #4502 )
2026-08-27 18:41:33 +02:00
Tomek
4452fd793c
Fix link title showing site section name (4542) ( #4553 )
...
Co-authored-by: Kai Kewley <kaikewley@gmail.com >
2026-08-27 09:57:32 +02:00
conico974
90566879d2
Improve image signature handling and resizing functionality ( #4511 )
2026-08-26 15:55:57 +02:00
Zeno Kapitein
40a879ad5f
Keep section group dropdown columns readable when space is tight ( #4549 )
...
Co-authored-by: Claude Opus 5 <noreply@anthropic.com >
2026-08-26 15:05:28 +02:00
Johan Preynat
cc441c99c6
Fix published search scope fusion ( #4552 )
2026-08-26 14:22:33 +02:00
conico974
64e143a15b
Bump Next.js to version 16.3.3 ( #4547 )
2026-08-26 12:32:56 +02:00
Peter White
8c10d92f77
Keep the section group menu open over the collapsed sidebar rail ( #4548 )
2026-08-26 12:16:13 +02:00
Zeno Kapitein
0a22eb5340
Stop expecting a cookies dialog in the faq.wanttopay.net e2e test ( #4550 )
...
Co-authored-by: Claude Opus 5 <noreply@anthropic.com >
2026-08-26 11:54:31 +02:00
Zeno Kapitein
d9fc4608e3
Stop suggesting previously asked questions in the GitBook Assistant ( #4546 )
...
Co-authored-by: Claude Opus 5 <noreply@anthropic.com >
2026-08-25 18:00:30 +02:00
Zeno Kapitein
ded2f560e3
Show loose sections in a section group dropdown as secondary links unless the group starts with one ( #4545 )
...
Co-authored-by: Claude Opus 5 <noreply@anthropic.com >
2026-08-25 17:14:58 +02:00
Zeno Kapitein
a9c5d1b546
Fix the gap between columns in large section group dropdowns ( #4544 )
...
Co-authored-by: Claude Opus 5 <noreply@anthropic.com >
2026-08-25 16:45:41 +02:00
Zeno Kapitein
0ff21b7ae2
Hide the section tabs scroll button when all tabs already fit ( #4540 )
...
Co-authored-by: Claude Opus 5 <noreply@anthropic.com >
2026-08-25 16:35:38 +02:00
Zeno Kapitein
94a496c561
Match the Docs Embed widget to the page it is embedded in ( #4533 )
...
Co-authored-by: Claude Opus 5 <noreply@anthropic.com >
2026-08-25 16:34:54 +02:00
Johan Preynat
148a43ac01
Preserve backend ranking across site sections ( #4541 )
2026-08-25 14:55:17 +02:00
Johan Preynat
5da854f09c
Preserve backend ranking in published search ( #4537 )
2026-08-25 12:54:24 +02:00
spastorelli
b772f74c2b
Evaluate <if> blocks when serving markdown pages ( #4538 )
2026-08-25 12:18:53 +02:00
Zeno Kapitein
e0bd04f641
Render headings with the site's heading font ( #4531 )
...
Co-authored-by: Claude Opus 5 <noreply@anthropic.com >
2026-08-25 12:08:03 +02:00
conico974
8d7c3edda8
Disable metadata fetching in revision-related API calls ( #4459 )
2026-08-24 13:55:50 +02:00
conico974
80951e9889
Remove CODEOWNERS file for API data cache functions ( #4536 )
2026-08-24 13:43:37 +02:00
Nolann B.
185dd8337e
Defer tracking scripts until after load and idle ( #4529 )
2026-08-24 12:18:30 +02:00
Peter White
da7fb13d83
Fail closed in /~gitbook/revalidate when GITBOOK_SECRET is unset ( #4535 )
2026-08-24 12:11:40 +02:00