conico974
f478059dd1
refactor: remove unnecessary async usage
2025-07-01 18:07:25 +02:00
conico974
28008667ed
Make Emoji component synchronous ( #3417 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-01 17:10:16 +02:00
Samy Pessé
f3affc3034
Add support for MCP tools ( #3410 )
2025-07-01 09:58:59 +02:00
conico974
59da30f3c6
Add support for cover image repositioning ( #3404 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-30 19:07:48 +02:00
Greg Bergé
2db721112a
Fix OpenAPI error ( #3408 )
2025-06-30 15:56:22 +00:00
Samy Pessé
b60039b7d5
Fix links to other spaces in a section ( #3409 )
...
Co-authored-by: Steven H <steven@gitbook.io >
2025-06-30 17:47:23 +02:00
Steven H
8fe9c9afea
Fix an issue where same-site references across spaces created invalid links. ( #3407 )
2025-06-30 16:03:27 +01:00
Zeno Kapitein
216ba7a556
Add analytics on AI chat ( #3405 )
2025-06-30 08:41:12 +00:00
Samy Pessé
a2ff57081b
Fix changesets
2025-06-29 10:41:30 +02:00
Zeno Kapitein
40dbd9a14b
AI Chat followup ( #3403 )
2025-06-28 17:55:56 +02:00
Nolann B.
e5bac69c5c
Fix markdown page generation for groups ( #3402 )
2025-06-27 23:32:35 +02:00
Zeno Kapitein
8d6598393f
AI Chat UI ( #3397 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2025-06-27 17:43:14 +02:00
Greg Bergé
59b86eb9dc
Correctly handle OpenAPI errors ( #3401 )
2025-06-27 11:15:21 +02:00
Steven H
52c9f6da2f
Fix an issue with link resolution in cross-space reusable content. ( #3392 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2025-06-27 11:14:38 +02:00
Nolann B.
dd65987c94
Include page group children under the .md route ( #3400 )
2025-06-27 09:53:18 +02:00
conico974
ace61901a4
Fix ScrollSectionsList with suspended component ( #3390 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-26 15:37:51 +02:00
conico974
e6c3c7635d
refactor toc components to client ( #3394 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2025-06-26 11:35:02 +02:00
conico974
5134d9e7f8
Avoid unnecessary proxy URL lookups ( #3377 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-25 17:21:09 +02:00
conico974
6821fb2937
Downgrade esbuild to fix wrangler dev issues ( #3396 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-25 16:50:09 +02:00
Taran Vohra
cfe4812045
Replace all usage of getPublishedContentByUrl ( #3395 )
2025-06-25 18:55:02 +05:30
Samy Pessé
14843ac343
Fix changesets ( #3393 )
2025-06-25 14:42:49 +02:00
Samy Pessé
8fb6d7465f
Remove v1 and replace by v2 ( #3391 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-25 13:28:04 +02:00
Samy Pessé
0ef647586f
Hooks and APIs for AI v2 ( #3385 )
2025-06-25 09:48:28 +02:00
Nolann B.
b4039627d9
Handle nullish OpenAPI mediaTypeObject ( #3389 )
2025-06-24 17:25:38 +00:00
Addison
4a295e6db4
Update contributing guide ( #3381 )
2025-06-24 17:55:24 +02:00
Greg Bergé
5726999a5a
Fix viewing a page from a revision ( #3388 )
2025-06-24 15:31:06 +00:00
conico974
58d7f3c140
Fix revision ID handling for computed content ( #3386 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-24 15:00:33 +02:00
Samy Pessé
07eab986d5
Optimize fetching of revisions ( #3382 )
2025-06-23 19:15:17 +02:00
Samy Pessé
711cf38f9b
Use getRevision in getRevisionFile ( #3379 )
2025-06-23 18:43:41 +02:00
Zeno Kapitein
4f7c0eea9f
Clicking an active TOC item toggles its descendants ( #3378 )
2025-06-23 17:27:34 +02:00
conico974
f3448de2da
Improve efficiency of the queue ( #3373 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-23 15:09:29 +02:00
Viktor Renkema
ec92075ef8
Set tw classes correctly for horizontal alignment in tables ( #3375 )
2025-06-23 14:35:32 +02:00
Nolann B.
1e013cd87c
Optional label in OpenAPI x-codeSamples ( #3376 )
2025-06-23 13:54:15 +02:00
Samy Pessé
f033734308
Support for site customization option to change how external links open ( #3372 )
2025-06-22 15:49:15 +02:00
Nolann B.
50c05164f7
Bump @scalar/api-client-react ( #3371 )
2025-06-22 12:03:10 +02:00
conico974
7fb9004b43
Properly redirect to the root page ( #3369 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-20 19:15:21 +02:00
Greg Bergé
4721403986
Hide scrollbar on sections ( #3367 )
2025-06-20 12:31:18 +00:00
Samy Pessé
df848ef64e
Icon in buttons and text alignment ( #3365 )
2025-06-20 12:08:28 +02:00
conico974
0b40ccd286
Remove buildId from composable cache key generation ( #3366 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-20 12:06:44 +02:00
Greg Bergé
caaa692f0b
Allow to zoom image on mobile if relevant ( #3364 )
2025-06-20 10:25:58 +02:00
Greg Bergé
42d43e09c4
Always show scrollbars ( #3363 )
2025-06-20 08:41:21 +02:00
Samy Pessé
7ccbf55ba7
Set myself as codeowner for data cache ( #3355 )
2025-06-20 08:41:02 +02:00
conico974
81f5bfc2f9
Filter out malicious request ( #3357 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-19 17:00:37 +02:00
Greg Bergé
a7a713bca2
Scroll to active TOC when clicking a link ( #3362 )
2025-06-19 16:50:13 +02:00
conico974
d6613c787f
Make skeletons client component ( #3361 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-19 16:46:31 +02:00
Greg Bergé
427f748e1c
Add metadata for adding site to Apple devices home ( #3360 )
2025-06-19 16:35:07 +02:00
Greg Bergé
4f5fec7213
Fix CodeBlock rendering ( #3359 )
2025-06-19 15:55:19 +02:00
Greg Bergé
8c0a53ab40
Fix page group not expanded by default ( #3358 )
2025-06-19 15:08:59 +02:00
conico974
2dfd5aab20
Update SpacesDropdown to manage active state based on current space ( #3356 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-19 13:39:59 +02:00
conico974
8d3c6562a2
Implement a StylesProvider ( #3352 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-18 19:02:32 +02:00
Zeno Kapitein
dae019c115
Consistently show variant selector in section bar if site has sections ( #3349 )
2025-06-18 17:48:49 +02:00
Steven H
73e0cbb2d6
Fix an issue where PDF export URLs were not bringing their query params. ( #3351 )
2025-06-18 13:26:20 +01:00
Steven H
392f59450c
Improve performance of InlineLinkTooltip ( #3339 )
2025-06-18 12:15:45 +01:00
conico974
b4918f60ce
fix variant space change when pathname equals space-path ( #3343 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-17 22:31:32 +02:00
Samy Pessé
8f7c304d58
Fix crash when rendering ogimage with invalid icon ( #3348 )
2025-06-17 20:25:21 +02:00
Samy Pessé
a3a944d7dd
Fix crash during rendering of ogimage for VA sites with default icon ( #3347 )
2025-06-17 19:38:47 +02:00
Samy Pessé
88a35ed057
Fix crash when integration is triggering invalid requests ( #3346 )
2025-06-17 19:23:52 +02:00
Samy Pessé
67998b6f15
Fix ogimage generation failing with some JPEG images ( #3345 )
2025-06-17 19:10:15 +02:00
Samy Pessé
ff6d1150a5
Use getRevisionPageDocument on v2 ( #3342 )
2025-06-17 16:12:58 +02:00
Samy Pessé
500c8cb649
Don't crash ogimage generation on RTL text ( #3341 )
2025-06-17 13:04:50 +02:00
Samy Pessé
6859f7d239
Fix rendering of ogimage when logo or icon are AVIF images ( #3336 )
...
Co-authored-by: Steven H <steven@gitbook.io >
2025-06-17 00:31:07 +02:00
Samy Pessé
dfa8a37be1
Don't cache unexpected API errors for more than a few minutes ( #3334 )
2025-06-17 00:16:52 +02:00
Samy Pessé
11a6511b7a
Fix crash when integration script fails to render block ( #3332 )
2025-06-16 20:06:33 +02:00
Samy Pessé
af98402655
Add support for inline icons ( #3329 )
2025-06-16 19:15:22 +02:00
Samy Pessé
b7a0db3339
Fix rendering of ogimage with SVG logos ( #3328 )
2025-06-16 16:59:54 +02:00
Greg Bergé
382a19885b
Hide empty section groups ( #3327 )
2025-06-16 13:52:42 +00:00
Utku Ufuk
d99da6a3ae
Ignore case while pattern-matching to highlight search results ( #3326 )
2025-06-16 12:33:00 +00:00
Samy Pessé
72cd0e59e6
Replace withoutConcurrency by a smarter React.cache ( #3325 )
2025-06-16 13:37:45 +02:00
Utku Ufuk
42d88da73c
Fix UX issue about highlighting the search term in search result sections ( #3323 )
2025-06-16 13:31:15 +03:00
Taran Vohra
2863fe0dc1
Use resolvePublishedContentByUrl instead of the deprecated resolution endpoint ( #3310 )
2025-06-16 09:59:55 +05:30
conico974
87218062be
Use Promise.all whenever possible ( #3319 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-14 11:10:26 +02:00
Samy Pessé
8a3910e208
Experiment with hiding sections without a matching site space ( #3318 )
2025-06-13 15:55:04 +02:00
conico974
6294bbb53c
Fix error propagating ( #3317 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-13 15:46:37 +02:00
Zeno Kapitein
a28a997851
Add margin to adjacent buttons ( #3316 )
2025-06-13 15:42:00 +02:00
spastorelli
28a9ee701e
Add paypal.gitbook.com to ADAPTIVE_CONTENT_HOSTS list ( #3315 )
2025-06-13 10:10:10 +00:00
Samy Pessé
50e8b2ec52
Don't use next/server after ( #3314 )
2025-06-13 11:30:18 +02:00
Samy Pessé
315717fa2d
Disable the background fetch of getRevisionPageDocument ( #3313 )
2025-06-13 11:17:33 +02:00
Samy Pessé
da67711c90
Fix crash on Vercel ( #3311 )
2025-06-12 23:37:38 +02:00
Samy Pessé
fecdbe8dde
Support dynamic expressions ( #3295 )
2025-06-12 12:25:28 +02:00
Nolann B.
9316ccd1f4
Update Models page styling ( #3307 )
2025-06-12 10:57:37 +02:00
Samy Pessé
c3b620e975
Preserve current variant when navigating between sections ( #3306 )
2025-06-12 09:30:08 +02:00
Nolann B.
7a00880e5b
Improve support for OAuth2 security type ( #3304 )
2025-06-11 15:34:52 +02:00
Zeno Kapitein
b6b597564d
Reverse order of feedback smileys ( #3300 )
2025-06-11 14:44:07 +02:00
spastorelli
d410381957
Add docs.testgitbook.com to ADAPTIVE_CONTENT_HOSTS list ( #3303 )
2025-06-11 14:25:05 +02:00
conico974
902c3c6c1a
apply customization for dynamic site context in v2 ( #3302 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-11 14:05:30 +02:00
Zeno Kapitein
4fb2a4a6d7
Rework full-width layout, add support for full-width page option ( #3293 )
...
Co-authored-by: conico974 <nicodorseuil@yahoo.fr >
2025-06-11 14:03:45 +02:00
conico974
2d64c78787
return null for 404 cached page in the incremental cache ( #3296 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-11 13:47:34 +02:00
Samy Pessé
fbfcca5dae
Fix rendering of font in ogimage ( #3299 )
2025-06-11 13:41:26 +02:00
Greg Bergé
664ae8bff6
Make heading from stepper visible in outline ( #3301 )
2025-06-11 13:40:59 +02:00
Samy Pessé
fa3d2aae08
Fix inline expression crashing pages ( #3297 )
2025-06-11 12:27:24 +02:00
Zeno Kapitein
e7a591d9f6
Fix border being added to cards ( #3294 )
2025-06-10 17:25:29 +00:00
conico974
2860beacdc
revert to use withoutConcurrentExecution ( #3292 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-10 19:05:07 +02:00
Zeno Kapitein
231167d3e1
Make icons for page groups more contrasting ( #3286 )
2025-06-10 17:48:06 +02:00
Brett Jephson
c0ee60ec13
RND-6843: columns block ( #3257 )
...
Co-authored-by: Steven Hall <steven@gitbook.io >
2025-06-09 11:37:56 +01:00
conico974
f58b904ba6
Encode customization header ( #3289 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-09 11:37:29 +02:00
conico974
d5992f1a5c
Bump OpenNext to latest ( #3288 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-09 10:40:44 +02:00
Samy Pessé
fa12f9eeb6
Page cover dark-mode specific ( #3287 )
2025-06-08 14:57:50 +02:00
Samy Pessé
33726c88a0
Generate a llms-full version of the docs ( #3285 )
2025-06-08 12:13:14 +02:00
Zeno Kapitein
6aa3ff9c5e
Fix various styling issues ( #3283 )
2025-06-08 00:38:41 +01:00
Zeno Kapitein
7d3fe23195
Add circular corners and depth styles ( #3280 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2025-06-07 13:48:16 +02:00
Samy Pessé
521052d84f
Remove withoutConcurrentExecution and withCacheKey ( #3281 )
2025-06-05 20:43:15 +01:00
Samy Pessé
c730845e17
Fix missing title for button to close announcement banner ( #3279 )
2025-06-04 16:33:01 +01:00
Addison
7b5a3616c4
Add UTM tags to the preview site badge ( #3277 )
2025-06-03 16:07:55 +01:00
Zeno Kapitein
c9373efdb5
Fix bold header links hover color ( #3255 )
2025-06-03 15:18:04 +02:00
Brett Jephson
015615de8a
fix: defaultWidth/fullWidth options in images ( #3274 )
2025-06-03 12:18:01 +01:00
conico974
0f867e533a
bump OpenNext to latest ( #3276 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-02 17:40:04 +02:00
conico974
7d5a6d2255
Fix hydration error on V2 ( #3272 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-02 14:23:15 +01:00
conico974
a1da4f023d
Move DO to a 3rd worker ( #3270 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-30 16:19:11 +02:00
conico974
666e8426e1
External middleware in cloudflare ( #3254 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-30 14:56:00 +02:00
conico974
df2fa42bda
Chores: create server worker ( #3265 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-30 14:31:21 +02:00
conico974
b3a7ad6d2c
Fix href being empty in TOC ( #3269 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-28 17:07:33 +02:00
conico974
2932077bf9
Remove trailing slash from linker ( #3268 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-27 21:13:55 +02:00
Nolann B.
957afd967f
Add authorization header for OAuth2 ( #3266 )
2025-05-26 20:54:07 +02:00
Nolann B.
4c9a9d0416
Handle nested deprecated properties in generateSchemaExample ( #3267 )
2025-05-26 20:28:26 +02:00
Nolann B.
40df91a363
Deduplicate path parameters from OpenAPI spec ( #3264 )
2025-05-26 18:55:11 +02:00
conico974
af66ff71ed
Add a force-revalidate api route ( #3263 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-25 16:55:45 +02:00
Samy Pessé
6f8ecd6111
Use more strict context ID for images during preview ( #3261 )
2025-05-23 13:16:43 +02:00
conico974
fa3eb07617
Cache fonts and static image in memory for OG Image ( #3258 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-23 10:20:07 +02:00
Samy Pessé
dc4268db64
Compute correct urls for variants/sections when previewing unpublished site ( #3259 )
2025-05-23 10:01:15 +02:00
Nolann B.
a0c06a72cc
Indent JSON python code sample ( #3260 )
2025-05-23 09:13:20 +02:00
conico974
19c20c0be3
Fix OGImage icon fetch on cloudflare ( #3253 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-21 15:39:52 +02:00
Viktor Renkema
fae34e56ac
Calculate class more explicitly & separately to fix horizontal table cell alignment issue ( #3252 )
2025-05-21 14:20:39 +02:00
conico974
ba0094a862
fix ISR in preview in cloudflare ( #3250 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-21 09:52:05 +02:00
conico974
b259009c9c
Add temporary logging for Cloudflare debugging ( #3249 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-20 19:33:33 +02:00
conico974
d88dd5ed8a
Update OpenNext ( #3248 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-20 19:04:07 +02:00
Zeno Kapitein
57bb146075
Dynamic TOC height ( #3233 )
2025-05-20 14:13:57 +02:00
Zeno Kapitein
4b67fe5317
V2: Add urlObject.hash to linker.toLinkForContent ( #3246 )
2025-05-20 10:25:35 +02:00
Samy Pessé
938125e772
Version Packages ( #3180 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-19 19:10:57 +02:00
conico974
1c8d9febb3
Custom Incremental Cache ( #3239 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-19 17:00:09 +02:00
conico974
223edae17d
Add env variables for the DOQueue ( #3243 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-19 13:47:33 +02:00
Nolann B.
12a455dab5
Fix OpenAPI layout issues ( #3242 )
2025-05-18 14:50:05 +02:00
Nolann B.
d00dc8ca72
Pass spec validation errors through OpenAPIParseError ( #3240 )
2025-05-18 13:20:17 +02:00
Samy Pessé
2c85a302fc
Update opennext and leverage "use cache" on CF ( #3204 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-16 13:58:35 +01:00
Addison
3460b78b45
Update docs.gitbook.com to gitbook.com/docs ( #3187 )
...
Co-authored-by: Tal Gluck <talagluck@gmail.com >
Co-authored-by: Taran Vohra <taranvohra@outlook.com >
2025-05-16 17:59:53 +05:30