Samy Pessé
2a3bb0eb22
Version Packages ( #3453 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-15 17:40:24 +02:00
conico974
6816f0fa5a
Add browserslist and improve CSS masks for compatibility ( #3471 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-15 17:15:56 +02:00
Greg Bergé
17386776ec
Add missing changeset to release @gitbook/openapi-parser ( #3477 )
2025-07-15 12:01:40 +00:00
Nolann B.
9ee9082614
Improvement for CopyMarkdown action ( #3465 )
2025-07-15 13:41:25 +02:00
Nolann B.
334cfdd522
Fix responsive class for SearchInput button ( #3476 )
2025-07-15 12:50:57 +02:00
Greg Bergé
8c961a5dbd
Fix OpenAPI spec validation ( #3473 )
2025-07-15 08:56:08 +02:00
conico974
4708956e77
Ensure schema.security is always an array ( #3472 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-14 22:01:06 +02:00
Zeno Kapitein
813dd03dbb
Fix AIChatInput focus & styling ( #3470 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2025-07-14 11:48:34 +01:00
conico974
0522dbc61e
Handle markdown errors gracefully ( #3468 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-11 19:11:09 +02:00
Zeno Kapitein
acb9f53156
Inline search modal ( #3416 )
2025-07-11 16:29:03 +01:00
conico974
6016846156
Add cache life inference from API response headers ( #3467 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-11 17:10:00 +02:00
Greg Bergé
cf1fae5837
Fix using CMD or CTRL to open in a new tab ( #3466 )
2025-07-11 14:25:37 +00:00
Nolann B.
7212345466
Fix AI Actions dropdown and LLM integration ( #3464 )
2025-07-11 12:14:06 +02:00
conico974
e38caf78ff
Implement consistent logging across the application ( #3368 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-11 10:36:03 +02:00
Greg Bergé
0a8dd67541
Better aria for breadcrumbs ( #3461 )
2025-07-11 09:45:14 +02:00
Nolann B.
ed684c19a9
Move AI Actions markdown fetching to client-side ( #3459 )
2025-07-10 16:05:53 +02:00
Zeno Kapitein
52ab3681e3
Reposition AI Actions dropdown ( #3460 )
2025-07-09 14:38:23 +00:00
Zeno Kapitein
9cc5a787e9
Generalise keyboard shortcuts, add Cmd+J to AI Chat ( #3457 )
2025-07-09 12:13:36 +00:00
Nolann B.
0003030bf5
Implement AI actions dropdown ( #3431 )
2025-07-08 23:33:36 +02:00
Zeno Kapitein
9ad8f45d38
Rebrand assistant ( #3458 )
2025-07-08 21:31:14 +02:00
conico974
a3855257c8
Gracefully handle OpenAPI fetch errors ( #3455 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-08 17:35:23 +02:00
conico974
9169c2f053
Fix site redirect resolution with length check for source paths ( #3454 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-08 17:15:57 +02:00
Greg Bergé
abe028bd38
Fix Link behaviour reloading the page ( #3456 )
2025-07-08 14:30:12 +00:00
conico974
12c2451f4f
Bump OpenNext to latest versions ( #3451 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-08 15:06:23 +02:00
Samy Pessé
8daede5427
Ensure all content links are resolved relatively to preview ( #3450 )
2025-07-08 13:05:31 +02:00
Samy Pessé
4c89aa60eb
Adapt cache header parsing to support s-maxage ( #3452 )
2025-07-08 12:55:00 +02:00
Greg Bergé
d0a3f64ae4
Always open header logo link in the current tab ( #3445 )
2025-07-08 09:02:49 +00:00
Samy Pessé
433d66482d
Version Packages ( #3446 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-08 11:01:57 +02:00
Greg Bergé
bd553bcf9e
Expose isJson and isYaml in @gitbook/openapi-parser ( #3447 )
2025-07-08 10:41:46 +02:00
Nolann B.
f5894bcf74
Fix incorrect revision ID in Markdown fetch logic ( #3448 )
2025-07-08 09:41:12 +02:00
Zeno Kapitein
1b59e7ce36
Styling improvements to AI Chat Followup questions ( #3444 )
2025-07-07 19:02:01 +02:00
Samy Pessé
32d6f5845d
Version Packages ( #3247 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-07 12:49:53 +00:00
Greg Bergé
4f5cbfe732
Upgrade @scalar/openapi-parser ( #3442 )
2025-07-07 14:33:40 +02:00
Steven H
afba8fcb34
Rating columns in tables now use a solid icons instead of unfilled. ( #3434 )
2025-07-07 10:05:45 +01:00
conico974
377a4899e4
Adjust cache life for error responses ( #3423 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-07 09:38:48 +02:00
Greg Bergé
938bdeb34b
Fix visual tests ( #3440 )
2025-07-06 09:02:31 +02:00
Greg Bergé
d216eaa3f6
Upgrade Argos & disable bad plugin ( #3438 )
2025-07-05 21:37:20 +02:00
conico974
5ca5da0f21
Fix handling of bad requests to prevent unnecessary 500 errors ( #3432 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-04 17:06:37 +02:00
Greg Bergé
ebe6eb3b39
Support custom monospace fonts ( #3430 )
2025-07-04 13:13:36 +00:00
Zeno Kapitein
3bfe347096
Show section tabs when there is a single section group present ( #3387 )
2025-07-04 14:55:40 +02:00
Samy Pessé
7b38f89078
Update API client and condition for AI assistant ( #3429 )
2025-07-03 20:34:26 +02:00
Greg Bergé
09b689b0ea
Fix table display in print ( #3428 )
2025-07-03 17:44:55 +02:00
Nolann B.
2350baa75f
Support for OpenAPI Array request body ( #3420 )
2025-07-03 17:18:26 +02:00
Nolann B.
bc1eca815e
Error handling for AI chat ( #3411 )
2025-07-03 14:26:40 +02:00
conico974
78c10340e7
Increase max line length for code highlighting ( #3415 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-07-03 13:05:42 +02:00
Valentino Hudhra
c16890a3a6
Align README with CONTRIBUTING guides regarding bun version ( #3427 )
2025-07-03 12:40:08 +02:00
Addison
3b4fe2827a
Update community ad on sponsored/community sites ( #3421 )
2025-07-03 11:03:16 +02:00
Samy Pessé
7e807aabb5
Don't prevent sending message in AI chat when loading followup suggestions ( #3426 )
2025-07-03 10:16:42 +02:00
Samy Pessé
973c74ee69
Adapt AI assistant to upcoming API changes ( #3422 )
2025-07-02 20:58:23 +02:00
Zeno Kapitein
efed0b0617
Turn on Docs Assistant for another site ( #3425 )
2025-07-02 18:02:12 +02:00
Zeno Kapitein
ca3b9aca5d
Improve AI Chat context popup ( #3424 )
2025-07-02 18:01:24 +02:00
Taran Vohra
e2afc07ab2
Fix resolution of page by resolving site redirects before space redirects ( #3414 )
2025-07-02 17:30:18 +05:30
Brett Jephson
e8fb84d362
Remove flip hash from columns ( #3413 )
2025-07-02 09:41:53 +01:00
Samy Pessé
57f951a7d9
Remove AI page link summaries ( #3418 )
2025-07-02 08:40:55 +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
Zeno Kapitein
95a1f652f9
Better print layouts: wrap code blocks & force table column auto-sizing ( #3236 )
2025-05-15 13:24:10 +02:00
spastorelli
cc37e2ae15
Persist visitor params values in public visitor session cookie ( #3231 )
2025-05-14 14:16:13 +02:00
Claire Chabas
08382ce62f
Improve tabs link support ( #3211 )
2025-05-14 11:10:09 +02:00
Nolann B.
80cb52a237
Handle OpenAPI alternatives from schema.items ( #3235 )
2025-05-14 08:05:08 +02:00
Nolann B.
c6637b09e2
Use default value if string/number/boolean in generateSchemaExample ( #3234 )
2025-05-13 22:07:41 +02:00
Samy Pessé
778624af00
Only resize images with supported extensions ( #3229 )
2025-05-13 10:52:58 +02:00
Samy Pessé
e15757d01f
Use next@15.3.2 instead of canary ( #3227 )
2025-05-09 15:17:49 +02:00
Zeno Kapitein
aed79fd6c3
Remove header logo rounding ( #3225 )
2025-05-09 14:45:38 +02:00
Greg Bergé
0c973a3292
Always link main logo to the root of the site ( #3226 )
2025-05-09 10:31:52 +00:00
spastorelli
56c923c0ed
Adapt site resolution/lookup to pass visitor unsigned claims in addition to token ( #3202 )
...
Co-authored-by: taranvohra <taranvohra@outlook.com >
2025-05-09 15:34:20 +05:30
Samy Pessé
7d7806df30
Passthrough SVG images in image resizing ( #3224 )
2025-05-08 18:57:50 +02:00
Nolann B.
cb5598dc19
Handle invalid OpenAPI Responses ( #3223 )
2025-05-08 11:54:46 +02:00
Greg Bergé
47f01edcb8
Fix E2E icons ( #3222 )
2025-05-08 13:04:04 +05:30
Greg Bergé
e6ddc0f07f
Fix sitemap URLs ( #3220 )
2025-05-08 08:54:28 +02:00
Zeno Kapitein
373f18f451
Prevent section group popovers from opening on click ( #3213 )
2025-05-07 13:57:58 +00:00
Taran Vohra
3f292065cd
Update site redirect regex for validation ( #3216 )
2025-05-07 12:42:28 +05:30
Greg Bergé
5e975ab95b
Fix code highlighting for HTTP ( #3214 )
2025-05-06 13:41:15 +00:00
Greg Bergé
a3ec264764
Fix Python code sample "null vs None" ( #3215 )
2025-05-06 15:40:56 +02:00
Samy Pessé
5d504ffa4c
Fix resolution of links in reusable content ( #3212 )
2025-05-06 10:30:55 +02:00
Samy Pessé
04999662db
Use absolute URLs in sitemap.xml when pointing to sitemap-pages.xml ( #3210 )
2025-05-05 09:03:28 +02:00
Zeno Kapitein
f7a34706c7
Allow high-contrast input colors to be used as-is ( #3209 )
2025-05-02 19:41:05 +02:00
Taran Vohra
f328a41982
Revert getPublishedContentByUrl timeout back to 10s ( #3208 )
2025-05-02 11:16:31 +00:00
Nolann B.
20ebecb114
Missing top-level required OpenAPI alternatives ( #3207 )
2025-05-02 11:48:15 +02:00
Taran Vohra
5a69692f54
Temporarily bump getPublishedContentByUrl timeout to 30s on v1 ( #3199 )
2025-04-30 19:14:09 +05:30
Nolann B.
42ca7e1580
Fix openapi CR preview ( #3197 )
2025-04-30 11:44:39 +02:00
Nolann B.
c4ebb3fecd
Fix openapi-select hover in responses ( #3196 )
2025-04-30 11:27:03 +02:00
Zeno Kapitein
2a805cc082
Change OpenAPI schema-optional from info to tint color ( #3194 )
2025-04-29 19:30:11 +02:00
Zeno Kapitein
89a5816ee4
Fix OpenAPI disclosure label ("Show properties") misalignment on mobile ( #3193 )
2025-04-29 19:29:56 +02:00
Zeno Kapitein
c3f6b8c003
Reduce chroma of text layers ( #3188 )
2025-04-29 19:29:42 +02:00
Zeno Kapitein
0e201d5899
Add border to filled sidebar on gradient theme ( #3185 )
2025-04-29 19:29:32 +02:00
Zeno Kapitein
ae5f1abc58
Change Dropdowns to use Radix's DropdownMenu ( #3189 )
2025-04-29 18:30:47 +02:00
Nolann B.
580101d04e
Schemas disclosure label causing client error ( #3192 )
2025-04-29 16:16:58 +02:00
Johan Preynat
81b4a4db53
Allow /~gitbook/image and /~gitbook/icon despite querystring parameters for SEO in robots.txt ( #3191 )
2025-04-28 12:07:34 +02:00
Steven H
8339e91e2b
Fix images and other content refs in reusable content across spaces. ( #3190 )
2025-04-25 15:28:09 +01:00
Steven H
3119066728
Support for reusable content across spaces. ( #3173 )
2025-04-24 16:54:11 +01:00
Zeno Kapitein
326e28e9b0
Restyle openapi blocks ( #3169 )
2025-04-24 16:53:29 +02:00
Johan Preynat
90f0127ada
Use react@19 on v2 and v1 ( #3184 )
2025-04-24 16:53:23 +02:00
Viktor Renkema
0353a8186c
Have all nodes within a text-cells adhere to alignments ( #3175 )
2025-04-24 11:43:20 +02:00
Steven H
dd043df00f
Revert investigation work around URL caches. ( #3183 )
2025-04-23 16:53:33 +01:00
Steven H
97b7c79bc6
Increase logging around caching behaviour causing page crashes. ( #3182 )
2025-04-23 15:04:00 +01:00
Steven H
634e0b4302
Improve error messages around undefined site sections. ( #3179 )
2025-04-23 11:47:28 +00:00
Greg Bergé
2a23f1f003
Improve performances of TOC ( #3176 )
2025-04-23 09:31:22 +02:00
Samy Pessé
88ffdcc303
Version Packages ( #3172 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-22 11:20:21 +02:00
Nolann B.
b6b09d42af
Fix OpenAPI responses select placement and icon ( #3174 )
2025-04-22 10:59:42 +02:00
Nolann B.
ebc39e9db9
Missing select icon ( #3171 )
2025-04-18 16:26:59 +02:00
Samy Pessé
0df3849ea2
Version Packages ( #3157 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-18 13:40:34 +02:00
Greg Bergé
8ed1bda2f2
Translate OpenAPI blocks ( #3166 )
2025-04-18 13:29:55 +02:00
Nolann B.
d67699a1f1
Add OpenAPI Webhook block ( #3160 )
2025-04-18 08:35:44 +02:00
Greg Bergé
3363a18856
Merge simple alternatives ( #3165 )
2025-04-16 09:14:12 +00:00
Amrit Kahlon
ad1dc0b914
Bump scalar version ( #3161 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2025-04-15 18:00:07 -07:00
Samy Pessé
e4c7307c99
Fix CORS error when loading fonts in 2c ( #3163 )
2025-04-14 17:05:31 -07:00
Samy Pessé
f9c942c8ff
Fix CORS error when loading icons in 2c ( #3162 )
2025-04-14 16:52:39 -07:00
Greg Bergé
eeb977fc03
Fix Python JSON code example ( #3159 )
2025-04-14 19:50:40 +00:00
Greg Bergé
4b8a62122a
Show sections tabs only if there is at least two sections ( #3158 )
2025-04-14 14:09:34 +02:00
Addison
e44e947fc1
Update cookie banner to use American English ( #3154 )
2025-04-14 18:43:01 +09:00
Nolann B.
7588cfe1c5
Improve OpenAPIResponses examples and schemas ( #3123 )
2025-04-14 11:16:35 +02:00
Greg Bergé
a9a643f222
Improve icon stabilization ( #3147 )
2025-04-13 05:41:47 +00:00
Samy Pessé
77d6cb75be
Improve error message when image resizing failed ( #3148 )
2025-04-12 17:44:23 -07:00
Samy Pessé
1942d221df
Bump the cache of getPublishedContentByUrl in v1 ( #3146 )
2025-04-12 07:18:26 -07:00
Greg Bergé
041601ed65
Upgrade Argos ( #3145 )
2025-04-12 15:48:51 +02:00
Steven H
5567281a85
Bump getPublishedContentByUrl cache. ( #3144 )
2025-04-11 17:13:01 +01:00
Samy Pessé
4c3753046b
Cloudflare: fix image resizing ( #3143 )
2025-04-11 16:48:43 +02:00
Samy Pessé
89f8e16184
Cloudflare: resize images in v2 using direct fetch ( #3141 )
2025-04-11 15:18:44 +02:00
Samy Pessé
a3e1125ced
Hotfix for v1 crashes ( #3139 )
2025-04-10 22:00:41 +02:00
Samy Pessé
4dae8acfed
Cloudflare: fix image resizing ( #3138 )
2025-04-10 19:30:15 +02:00
Samy Pessé
bc081c4344
Fix cache revalidation for computed revisions ( #3134 )
2025-04-10 16:36:02 +02:00
Samy Pessé
e4275b235d
Version Packages ( #3137 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-10 13:31:27 +02:00
Samy Pessé
77397cac82
Fix version of @gitbook/api referenced in cache-tags ( #3136 )
2025-04-10 13:30:28 +02:00
Samy Pessé
b6a08bc679
Version Packages ( #3084 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-10 13:18:22 +02:00
Samy Pessé
116575c811
Changeset for cache-tags ( #3135 )
2025-04-10 13:16:01 +02:00
Samy Pessé
4ba7bd5ce1
CF Preview URL: Extract worker URL and run visual tests ( #3132 )
2025-04-09 18:25:37 +02:00
Samy Pessé
223ab5377f
Test cloudflare preview URL ( #3130 )
2025-04-09 17:24:38 +02:00
Samy Pessé
ae43ca146c
Fix preview URLs on Cloudflare env ( #3129 )
2025-04-09 16:00:21 +02:00
Taran Vohra
42342893d6
Fix incoming URL for requests that were proxied ( #3127 )
2025-04-09 19:10:14 +05:30
Nolann B.
eedefdd5c9
Handle optional security headers ( #3128 )
2025-04-09 15:07:33 +02:00
Samy Pessé
f5e152dd74
Fix hovering links in docs.gitbook.com ( #3125 )
2025-04-09 11:43:12 +02:00
Zeno Kapitein
95ea22d9c5
Cache AI Page Link summary ( #3106 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2025-04-09 09:59:35 +02:00
Taran Vohra
f23023ddfa
Use the proxy request identifier for storing the VA cookie in proxy sites ( #3091 )
2025-04-09 12:49:22 +05:30
Samy Pessé
da74077954
Remove proxy package ( #3124 )
2025-04-08 23:58:19 +02:00
Nolann B.
29aaba5949
Override Scalar's overscroll-behavior ( #3120 )
2025-04-08 19:16:46 +02:00
Zeno Kapitein
daf41fc728
Footer design tweaks ( #3109 )
2025-04-08 18:44:57 +02:00
Zeno Kapitein
b08eb1af59
Fix list of variants overflow ( #3114 )
2025-04-08 18:44:44 +02:00
Zeno Kapitein
8322cd3e35
Fix sections being displayed when there is only 1 ( #3113 )
2025-04-08 18:44:08 +02:00
Samy Pessé
444039c142
Fix opening of links when v1 is embedded in an iframe ( #3122 )
2025-04-08 18:43:06 +02:00
Samy Pessé
3b0eff7f71
Fix getRevisionPageByPath in v2 not encoding the path correctly ( #3121 )
2025-04-08 16:29:08 +00:00
Samy Pessé
c765463e38
Fix ogimage generation crashing when site is using a custom WOFF2 font ( #3119 )
2025-04-08 16:44:28 +02:00
Samy Pessé
e8ca25b67e
Fix caching in Cloudflare version using R2 as a backend ( #3118 )
2025-04-08 13:37:07 +02:00
Brett Jephson
528eee3fc6
RND-548: add subscript and superscript support ( #3110 )
2025-04-08 11:32:12 +01:00
Steven H
168a4fa998
Add support for buttons to GitBook. ( #3117 )
2025-04-08 09:18:29 +01:00
Samy Pessé
3ea75adba4
Update turbo to 2.5.0 and fix cache config ( #3116 )
2025-04-08 09:56:05 +02:00
Nolann B.
cbd768a095
Improve OpenAPI codesample ( #3090 )
2025-04-08 09:35:22 +02:00
Samy Pessé
2d01653a78
Fix ogimage on Cloudflare and resizing of ads image ( #3107 )
2025-04-08 01:29:34 +02:00
Nolann B.
aa3357a57d
Fix OpenAPISchemas description padding ( #3115 )
2025-04-07 21:54:33 +02:00
Samy Pessé
de53946896
Sanitize the back URL used when rendering PDF ( #3111 )
2025-04-07 17:03:09 +02:00
Samy Pessé
d51204148e
Revert debugging of ogimage errors ( #3105 )
2025-04-06 13:33:48 +01:00
Samy Pessé
319761a39e
Fix revalidation not working because of memoization ( #3104 )
2025-04-06 01:27:22 +02:00
Samy Pessé
7fbf01a348
Update opennext to 1.0.0-beta.0 ( #3102 )
2025-04-05 23:51:12 +02:00
Steven Hall
c22490bd80
Prefer @vercel/og for icon generation.
2025-04-05 09:22:13 +01:00
Steven Hall
860fd6d02e
Use system-ui font in icons.
2025-04-05 09:12:20 +01:00
Steven Hall
c43c524804
Fix a typing issue using ArrayBuffer.detached
2025-04-05 09:06:17 +01:00
Steven H
66bb938d85
Use Inter font when generating icons to prevent ArrayBuffer re-use. ( #3101 )
2025-04-05 09:01:41 +01:00
Steven H
0e6d928496
Use Inter font when generating icons to prevent ArrayBuffer re-use. ( #3100 )
2025-04-05 08:47:56 +01:00
Steven H
f07982d9f8
Investigate issue where icons and ogimage would occasionally fail. ( #3099 )
2025-04-05 08:15:02 +01:00
Steven H
b92ecfad58
Implement retry logic for the DO cache to prevent when revalidating content. ( #3098 )
2025-04-04 23:44:32 +01:00
Zeno Kapitein
416bde70bc
Link tooltips + AI link summaries ( #3088 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2025-04-04 20:56:42 +02:00
Steven H
580f7ade15
Better debugging of GitBook v1s revalidate endpoint. ( #3097 )
2025-04-04 17:36:24 +01:00
Zeno Kapitein
cdffd7c47b
Desaturate text colours by decreasing chroma for the last steps of the color scale ( #3096 )
2025-04-04 18:00:01 +02:00
Greg Bergé
5a959cf041
Fix a regression on OpenAPI example bg ( #3095 )
2025-04-04 15:05:53 +00:00
Zeno Kapitein
31466546a2
Change overlay close icon to close ( #3089 )
2025-04-04 16:42:47 +02:00
Steven H
90ead98eaa
Better error handling in revalidate v1 ( #3094 )
2025-04-04 14:59:14 +01:00
Samy Pessé
65e9cb9d5c
Update next to "canary" for v2 ( #3093 )
2025-04-04 14:39:43 +02:00
Greg Bergé
e59076a074
Improve OpenAPI schemas block ungrouped style ( #3092 )
2025-04-04 14:28:44 +02:00
Nolann B.
653920dec9
Add tests for generateSchemaExample ( #3086 )
2025-04-03 19:42:40 +02:00
Greg Bergé
23cedd2d8b
Hide deprecated properties in examples ( #3085 )
2025-04-03 19:40:52 +02:00
Nolann B.
70c4182fd8
Improve OpenAPI schema style ( #3079 )
2025-04-03 16:10:20 +00:00
Samy Pessé
b62b101065
Do not use insights cookie if disabled ( #3087 )
2025-04-03 17:30:43 +02:00
Zeno Kapitein
b9c929beeb
Update page breadcrumb color (for links-accent crumbs) ( #3082 )
2025-04-03 16:34:14 +02:00
Nolann B.
2b6c593289
Remove stable from x-stability ( #3083 )
2025-04-03 11:33:39 +02:00
Samy Pessé
c0b339e406
Version Packages ( #3075 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-02 13:36:04 +02:00
Nolann B.
da485f5144
Fix read-only in generateSchemaExample ( #3069 )
2025-04-02 13:03:51 +02:00
Nolann B.
139a8050a5
Fix OpenAPI enum display ( #3077 )
2025-04-02 10:15:19 +02:00
Nolann B.
da7b369ffd
Fix missing headers in OpenAPIResponses ( #3074 )
2025-04-01 21:57:36 +02:00
Samy Pessé
432da64919
Version Packages ( #3073 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-01 18:13:52 +02:00
Nolann B.
7d0b422200
Handle grouped OpenAPISchemas ( #3071 )
2025-04-01 17:24:43 +02:00
Zeno Kapitein
fb90eb0acc
Limit tinted background on bold theme to sites with filled sidebar ( #3072 )
2025-04-01 16:43:08 +02:00
Samy Pessé
b647538e41
Version Packages ( #3033 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-01 16:35:09 +02:00
Samy Pessé
e50797a5c1
Adapt new computed content and add tag for translation ( #3070 )
2025-04-01 15:10:55 +02:00
Nolann B.
5b1e01c786
Support for x-stability property ( #3064 )
2025-03-31 13:49:37 +02:00
Nolann B.
813b2af06b
Support for x-enumDescriptions and x-gitbook-enum ( #3066 )
2025-03-31 12:18:57 +02:00
Nolann B.
6f71da88d8
Fix padding in OpenAPI schemas ( #3067 )
2025-03-31 12:03:53 +02:00
Samy Pessé
fa91eb7eaf
Fix dark mode PDF ( #3065 )
2025-03-28 18:00:33 +01:00
Zeno Kapitein
c756761591
Add breadcrumbs to search results ( #2772 )
2025-03-28 13:29:05 +01:00
Samy Pessé
434af90366
Fix image resizing when using proxy by passing signing identifier in site URL data ( #3063 )
...
Co-authored-by: Taran Vohra <taranvohra@outlook.com >
2025-03-28 12:28:12 +01:00
Valentino Hudhra
0f41e194cb
Fix dismissed annoucement banner ignored when switching sites ( #3057 )
2025-03-28 10:56:18 +01:00
Nolann B.
bd353489e9
Fix missing alternative schemas ( #3058 )
2025-03-28 06:53:28 +01:00
Samy Pessé
77fd393f15
Fix click on search items when embedded in an iframe and track announcement links ( #3061 )
2025-03-27 20:13:14 +01:00
Taran Vohra
8701b5e078
Use the site canonical URL when rewriting in the middleware ( #3060 )
2025-03-27 19:39:39 +01:00
Nolann B.
61db166f92
Add OpenAPI write-only indicator ( #3059 )
2025-03-27 18:21:38 +01:00
Zeno Kapitein
0d9b9cea0f
Fix announcement banner margin ( #3056 )
2025-03-27 15:59:47 +00:00
Nolann B.
7bb37c7f0a
Move filterSelectedOpenAPISchemas to @gitbook/openapi-parser ( #3054 )
2025-03-27 15:53:41 +01:00
Taran Vohra
5b2bf828e3
Use stable site URL data for route rewrite in the middleware ( #3053 )
2025-03-27 18:26:06 +05:30
Samy Pessé
c85d3f9752
Serve a markdown version of the page when adding a .md extension ( #3055 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-03-27 12:35:18 +00:00
Zeno Kapitein
4d7088bbf0
Stop variant selector from growing too large ( #3043 )
2025-03-27 10:42:18 +01:00
Samy Pessé
dd6ab6044c
Fix crash when using user mention or accessing invalid change requests ( #3051 )
2025-03-27 01:04:00 +01:00
Samy Pessé
d236bf029c
Fix flash for site with dark default mode ( #3050 )
2025-03-26 18:12:45 +01:00
Zeno Kapitein
d70d566abe
Support site announcement banner ( #3008 )
...
Co-authored-by: Valentino Hudhra <v.hudhra@gmail.com >
2025-03-26 16:37:05 +01:00
Nolann B.
a25fdedea9
Replace $ref with $reference in json-decycle ( #3049 )
2025-03-26 14:16:03 +00:00
Nolann B.
373183a2cd
Safe parse OpenAPI JSON schema ( #3046 )
2025-03-26 13:55:22 +01:00
Samy Pessé
e9fa50dfb5
Trim search query before doing search ( #3042 )
2025-03-26 10:18:18 +00:00
Samy Pessé
57ca4e0e88
Fix crash when integration is not installed on the space ( #3040 )
2025-03-26 10:19:57 +01:00
Samy Pessé
bc90adb73a
Allow indexation of images to ensure favicons display on Google ( #3041 )
2025-03-26 10:17:57 +01:00
Nolann B.
1505ddbd5a
Fix multiple request examples selector not showing ( #3039 )
2025-03-25 20:48:57 +01:00
Greg Bergé
cd99ed57fb
Fix OpenAPI spec rendering ( #3037 )
2025-03-25 15:13:18 +00:00
Samy Pessé
27de1cd01d
Default to the first ID as being active in scroll detection ( #3036 )
2025-03-25 15:39:45 +01:00
Nolann B.
ae78fc5394
Fix XML in code sample ( #3030 )
2025-03-25 15:11:45 +01:00
Samy Pessé
40e8e69c6d
Disallow crawling by web-robots of search/ask URLs ( #3035 )
2025-03-25 13:51:09 +00:00
Nolann B.
e84a46a558
Fix OpenAPI tabs indicator overflow ( #3032 )
2025-03-25 10:03:58 +01:00
Samy Pessé
18a72d4466
v2: improve caching ( #3031 )
2025-03-25 09:40:54 +01:00
Zeno Kapitein
d7aa5fa003
Remove loading state for recommended questions ( #3029 )
2025-03-24 19:19:12 +01:00
Samy Pessé
27532a5f41
Version Packages ( #2988 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-24 17:43:16 +01:00
Nolann B.
48c18c03b9
Add option to pass scalar plugins ( #3027 )
2025-03-24 14:11:14 +01:00
Samy Pessé
bba2e52e24
Fix support for site redirects that include section/variant paths ( #3024 )
2025-03-24 10:21:26 +01:00
Valentino Hudhra
54ee0149e1
Add support for custom fonts ( #2981 )
2025-03-24 08:20:58 +01:00
Greg Bergé
8fda9d2fab
Update Argos ( #3025 )
2025-03-22 23:00:25 +01:00
Samy Pessé
77a72d79ce
Update next.js to latest v14 and v15 ( #3026 )
2025-03-22 20:02:15 +01:00
Nolann B.
73e2b472ef
Fix write only properties in request example ( #3023 )
2025-03-21 19:09:25 +01:00
Samy Pessé
2f28cc1323
v2: improve link and navigation between content in a same site ( #3020 )
2025-03-21 18:18:34 +01:00
Greg Bergé
f5516d4e21
Improve OpenAPI TOC display ( #3022 )
2025-03-21 14:29:12 +00:00
Greg Bergé
d2facb2db1
Mark OpenAPI properties as optional if not required ( #3021 )
2025-03-21 14:28:53 +00:00
Greg Bergé
6eae764b7c
Add support for multiple body content types / examples ( #2991 )
2025-03-21 14:23:42 +01:00
Greg Bergé
970ef8f886
Add missing token ( #3019 )
2025-03-21 11:04:57 +01:00
Nolann B.
ed0720699e
Fix OpenAPI path overflow on mobile ( #3018 )
2025-03-21 11:02:32 +01:00
Greg Bergé
ad94d00d5f
Improve markdown parsing ( #3017 )
2025-03-21 10:53:01 +01:00
Greg Bergé
c7843f7f52
Remove bun cache ( #3016 )
2025-03-21 10:42:57 +01:00
Greg Bergé
1fe3286bdb
Fix OpenAPI overflow issue ( #3015 )
2025-03-21 10:42:09 +01:00
Samy Pessé
ce030fdf76
v2: Fix redirect to strip jwt_token in url-host mode ( #3014 )
2025-03-21 00:46:39 +01:00
Samy Pessé
9ba8783952
v2: Fix the redirection when stripping the jwt_token from url ( #3013 )
2025-03-21 00:25:34 +01:00
Greg Bergé
2f3966cc53
Fix icons flaky ( #3012 )
2025-03-20 21:08:46 +00:00
Samy Pessé
8f65a22e13
Accept API token in query parameters for normal v2 routes ( #3011 )
2025-03-20 19:54:55 +01:00
Greg Bergé
2787d884cd
Stabilize images & icons ( #3009 )
2025-03-20 19:40:42 +01:00
Nolann B.
fc00b51683
Remove default value in generateSchemaExample ( #3007 )
2025-03-20 17:24:23 +01:00
Samy Pessé
f80c3a7b37
v2: Fix display of integration blocks ( #3010 )
2025-03-20 15:56:31 +00:00
Samy Pessé
4e5d6c7487
v2: use static route for VA / adaptive content ( #2998 )
2025-03-20 15:41:17 +01:00
Greg Bergé
96f84b5917
Fix visual tests v2 ( #3006 )
2025-03-20 11:34:04 +01:00
Greg Bergé
6b8a5fdd1b
Trigger tests ( #3005 )
2025-03-20 10:00:09 +00:00
Greg Bergé
89083ac790
Stabilize visual tests ( #3001 )
2025-03-20 09:22:09 +01:00
Nolann B.
70be2c6b2b
Stringify default value ( #3003 )
2025-03-19 21:28:40 +01:00
Samy Pessé
bcf877841b
Update to latest version of the GitBook API ( #3002 )
2025-03-19 20:11:44 +01:00
Nolann B.
a84b06bb19
Update resolveDescription and add minItems/maxItems ( #3000 )
2025-03-19 17:21:35 +01:00
Zeno Kapitein
24b7808d9a
Fix prominent search bar width on md screens ( #2996 )
2025-03-19 17:14:07 +01:00
Greg Bergé
8364ee988e
Fix Argos flakies ( #2999 )
2025-03-19 16:04:45 +01:00
Samy Pessé
07f6e2d233
Pass page.computedSeed to getComputedDocument ( #2995 )
2025-03-19 15:02:49 +01:00
Greg Bergé
7212973f34
Update Scalar client ( #2993 )
2025-03-18 16:02:40 +01:00
Greg Bergé
af44e0436b
fix typo ( #2992 )
2025-03-18 14:20:23 +01:00
Greg Bergé
3f9c35d505
Fix emoji display on other platforms than Mac OS ( #2990 )
2025-03-17 17:49:13 +01:00
Zeno Kapitein
2c13f8b95c
Fix horizontal overscroll issue on large screens ( #2989 )
2025-03-17 15:38:44 +01:00
Zeno Kapitein
4dab1c56e5
Fix alignment of prominent search bar on full-width pages ( #2987 )
2025-03-17 15:02:23 +01:00
Zeno Kapitein
4723f03ef1
Restyle section group dropdown ( #2985 )
2025-03-17 13:22:54 +01:00
Samy Pessé
278689e0a0
Version Packages ( #2984 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-17 11:06:18 +01:00
Nolann B.
886e204e68
Update OpenAPI operation path design ( #2972 )
2025-03-17 10:18:24 +01:00
Greg Bergé
c59947ab39
Remove Sentry ( #2986 )
2025-03-17 09:00:58 +01:00
Zeno Kapitein
4f0a772a21
Override tint lightness if supplied color is out of bounds ( #2983 )
2025-03-14 18:24:25 +01:00
Samy Pessé
903f962673
Version Packages ( #2964 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-14 18:01:38 +01:00
Nolann B.
31d800e48b
Changeset for OpenAPI schemas ( #2982 )
2025-03-14 17:08:21 +01:00
Nolann B.
c1c58eb919
Render OpenAPISchemas block ( #2959 )
2025-03-14 16:24:09 +01:00
Zeno Kapitein
eec3eed100
Support prominent search bar style ( #2936 )
...
Co-authored-by: Nolann Biron <biron.nolann@gmail.com >
2025-03-14 15:11:21 +01:00
Samy Pessé
99da8df3d1
Resize and optimize ogimage and favicons ( #2980 )
2025-03-13 18:45:14 +01:00
Steven H
c9ea23919e
Fix an issue where iframe aspect ratio was not respected. ( #2979 )
2025-03-13 14:23:50 +00:00
Zeno Kapitein
16292def79
Display sidebar on no-TOC pages ( #2942 )
2025-03-13 10:28:12 +01:00
Taran Vohra
9108c56ca1
Fix an issue where ContentKit webframes weren't sized properly ( #2978 )
2025-03-13 13:29:29 +05:30
Samy Pessé
b011ea0af8
Simplify deferred codeblock highlighting and fix streaming ( #2977 )
2025-03-13 00:25:48 +01:00
spastorelli
d33171b779
Fix getVisitorAuthCookieMaxAge returning 60s even when token expiry is much later ( #2974 )
2025-03-12 16:17:16 +01:00
Steven H
6aaeae269e
Fix an issue where ContentKit iframes were not resizing. ( #2967 )
2025-03-12 14:52:27 +00:00
Samy Pessé
e5f0cc8663
Respond with all tags of all cache used for page generation ( #2973 )
2025-03-12 10:30:47 +01:00
Nolann B.
9b5f971aa1
Transparent background for OpenAPI path block ( #2963 )
2025-03-11 13:32:35 +00:00
Nolann B.
ff3b708ad3
Remove read-only properties from codesample ( #2965 )
2025-03-11 13:32:10 +00:00
Nolann B.
e996904013
Update target in shiki javascript engine ( #2968 )
2025-03-11 14:21:07 +01:00
Samy Pessé
f32bf1f15d
Use API cache endpoint and service binding in Cloudflare ( #2952 )
2025-03-11 13:06:06 +01:00
Zeno Kapitein
6cda2dd57b
Fix hint hover style ( #2966 )
2025-03-11 11:00:28 +00:00
Nolann B.
c60e9ba27f
Handle OpenAPI read-only properties ( #2962 )
2025-03-11 11:37:11 +01:00
Zeno Kapitein
9bc3d504c8
Info hint background and link color fixes ( #2953 )
2025-03-11 11:30:28 +01:00
Greg Bergé
b5e4fd75e9
Upgrade shiki and bring back support to C/C++ ( #2961 )
2025-03-11 10:53:51 +01:00
Samy Pessé
a92cb49445
Version Packages ( #2958 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-11 09:38:39 +00:00
Greg Bergé
88f64b0d63
Support Node.js v20 with @gitbook/icons ( #2960 )
2025-03-11 09:27:26 +00:00
Nolann B.
844059f9a5
Fix spacing in OpenAPISecurities ( #2954 )
2025-03-11 09:37:34 +01:00
Nolann B.
eaf2d68308
OpenAPI operation title fallback in sections ( #2955 )
2025-03-11 09:37:00 +01:00
Nolann B.
12bdbf988d
Fix react-openapi tests ( #2956 )
2025-03-11 09:20:24 +01:00
Samy Pessé
29bab79005
v2: PDF export for sites and spaces ( #2949 )
2025-03-10 00:08:33 +01:00
Samy Pessé
8d5de97ddf
v2: fix fallback and VA redirects ( #2948 )
2025-03-08 11:21:49 +01:00
Samy Pessé
d9b5a898ab
Version Packages ( #2947 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-08 00:29:16 +01:00
Nolann B.
f127d28675
Rename OpenAPIModels to OpenAPISchemas ( #2946 )
2025-03-07 22:28:37 +01:00
Samy Pessé
65c1bdc455
Version Packages ( #2945 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-07 19:37:41 +01:00
Samy Pessé
0711a171d4
Fix deployment of 2c to production
2025-03-07 18:26:51 +01:00
Samy Pessé
c58c551f9e
Simplify envs management for deployments ( #2943 )
2025-03-07 18:17:44 +01:00
Greg Bergé
f574858b9b
Fix OpenAPI example ( #2944 )
2025-03-07 17:54:35 +01:00
Samy Pessé
3e1592e16b
Fix configuration for v2 staging ( #2940 )
2025-03-07 14:46:45 +01:00
Samy Pessé
90604c4c3b
Version Packages ( #2917 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-07 14:03:59 +01:00
Claire Chabas
9ffc3b606d
Fix content overflowing out of their container in lists ( #2939 )
2025-03-07 11:19:02 +01:00
Samy Pessé
e00c87d3e6
Output a x-gitbook-route-type header to distinguish static/dynamic ( #2938 )
2025-03-07 10:29:50 +01:00
Nolann B.
bb3ca9c165
Implement OpenAPI models blocks ( #2908 )
2025-03-07 09:44:14 +01:00
Samy Pessé
8ee9757132
v2: cleanup deployment to Cloudflare ( #2937 )
2025-03-07 09:15:43 +01:00
Samy Pessé
946a463979
v2: Fix deployment to Cloudflare and improve CI ( #2935 )
2025-03-07 00:01:07 +01:00
Samy Pessé
7aad9f7ff8
v2: render code block with syntax highlighting on the server ( #2932 )
2025-03-06 15:07:06 +01:00
Greg Bergé
3fe8f7c219
Fix circular refs OpenAPI ( #2934 )
2025-03-06 10:32:49 +00:00
Greg Bergé
0278a14e8e
Upgrade Scalar client & fix opening endpoint ( #2933 )
2025-03-06 11:28:51 +01:00
Samy Pessé
e5366d3a49
v2: fix error handling in middleware and data fetcher ( #2925 )
2025-03-06 10:53:17 +01:00
Samy Pessé
38e84ffe1a
Persist visitor auth token in cookie for as long as the token is valid ( #2931 )
2025-03-06 09:45:25 +01:00
Greg Bergé
052e07a936
Support references pointing to invalid files ( #2930 )
2025-03-05 21:37:46 +01:00
Samy Pessé
7e67ebc11d
Fix condition for public content cache ( #2929 )
2025-03-05 21:22:22 +01:00
Samy Pessé
c9dea94717
V2: Add back redirect for trailing slash ( #2928 )
2025-03-05 21:06:33 +01:00
Samy Pessé
1344754ca9
v2: enable skipTrailingSlashRedirect in the middleware
2025-03-05 19:27:48 +01:00
Samy Pessé
0f4759fb89
Fix condition for VERCEL_URL
2025-03-05 16:30:59 +01:00
Samy Pessé
6d77b647a4
Skip requests to assets/main/vercel hosts in middleware ( #2927 )
2025-03-05 16:22:20 +01:00
Zeno Kapitein
5907bd9af4
Adjust hint spacing ( #2873 )
2025-03-05 15:59:58 +01:00
Samy Pessé
b66d04c9c5
v2: fix resolution of revalidation requests ( #2926 )
2025-03-05 14:48:07 +01:00
Nolann B.
3173d8ec2d
Remove top level circular refs in alternatives ( #2924 )
2025-03-05 14:08:34 +01:00
Samy Pessé
31e381035e
Dynamic routing for v2: customization preview and visitor auth ( #2922 )
2025-03-05 11:25:44 +01:00
Greg Bergé
259074b81f
Fix OpenAPI spec recursion ( #2920 )
2025-03-05 09:25:23 +01:00
Samy Pessé
9a2f5b9295
Fix host used for image resizing in v2 ( #2923 )
2025-03-04 23:42:15 +01:00
Greg Bergé
58cd70b0c1
Put back logs ( #2919 )
2025-03-04 20:33:29 +00:00
Samy Pessé
821899a767
Fix image resizing in v2 when url is being passed as x-gitbook-url ( #2921 )
2025-03-04 18:57:49 +01:00
Samy Pessé
bfcc119ff3
Remove support for x-gitbook-host in v2 ( #2918 )
2025-03-04 18:36:43 +01:00
Samy Pessé
76c797498e
Implement route to invalidate data cache ( #2916 )
2025-03-04 13:52:02 +01:00
Samy Pessé
13514bf6fa
Version Packages ( #2907 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-04 13:42:32 +01:00
Samy Pessé
05ffd0e321
Proper data cache tagging for computed content ( #2915 )
2025-03-04 12:26:09 +01:00
Samy Pessé
701eaad92a
Fix use of server actions with proxied domains by using middleware ( #2913 )
2025-03-04 10:00:08 +01:00
Greg Bergé
c66ef5dd10
Fix OpenAPI tabs selection ( #2914 )
2025-03-03 21:10:24 +00:00
Greg Bergé
f774f9b3a0
Fix all tabs behaviour in OpenAPI blocks ( #2912 )
2025-03-03 17:11:54 +00:00
Samy Pessé
29dc7ccb1a
Fix next.js configuration for serverActions
2025-03-03 17:05:46 +01:00
Samy Pessé
80237c34f9
Allow all origins (including sub-domains) for server actions
2025-03-03 16:54:16 +01:00
Samy Pessé
979233c5c0
Allow all origins for serverActions in v2
2025-03-03 16:21:05 +01:00
Samy Pessé
2f03e6acee
Define GITBOOK_URL as serverActions.allowedOrigins ( #2911 )
2025-03-03 15:24:31 +01:00
Greg Bergé
c492f09a19
Fix outline not visible on OpenAPI blocks ( #2910 )
2025-03-03 14:56:19 +01:00
Greg Bergé
2c3af5e73c
Improve scrolling with lot of highlighted blocks ( #2909 )
2025-03-03 13:47:30 +00:00
Samy Pessé
6597f8508d
V2: search and ask AI ( #2889 )
2025-03-03 11:53:32 +01:00
Nolann B.
8beb5d6bcf
Add input elements to ContentKit ( #2882 )
2025-02-28 17:50:20 +00:00
Greg Bergé
53f5dbea26
Fix typing of shouldIgnoreEntity ( #2906 )
2025-02-28 17:38:58 +00:00
Samy Pessé
725952a106
Version Packages ( #2881 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-28 17:22:32 +00:00
Greg Bergé
3319375e9a
Support OpenAPI operation block ( #2902 )
2025-02-28 18:12:08 +01:00
spastorelli
c5a4619020
Fix multi-id/preview mode not using context id for api cache calls ( #2905 )
2025-02-28 18:04:16 +01:00
Greg Bergé
989fc69abe
Format package.json after running changeset ( #2904 )
2025-02-28 15:56:44 +00:00
Greg Bergé
0924259217
Expose OpenAPI helper shouldIgnoreEntity ( #2903 )
2025-02-28 16:22:20 +01:00
Taran Vohra
05affac34f
Add support for proxy sites using x-gitbook-url in v2 ( #2901 )
2025-02-28 20:03:05 +05:30
Samy Pessé
453a459566
Fix content ref resolution for pages of other spaces ( #2900 )
2025-02-28 13:00:54 +01:00
Nolann B.
722f02ea09
Fix recursion in OpenAPISchemaAlternative ( #2892 )
2025-02-28 10:07:56 +00:00
Samy Pessé
5bcea2fe3b
Fix signature verification with image resizing on v1 ( #2899 )
2025-02-28 10:36:10 +01:00
Samy Pessé
73afd1f5d0
Improve error message for image resizing ( #2898 )
2025-02-28 10:23:17 +01:00
Greg Bergé
9b8a0d3e54
Fix CI tests ( #2897 )
2025-02-28 10:14:09 +01:00
Samy Pessé
75bd98d66c
V2: robots.txt, sitemap.xml, image resizing, etc ( #2895 )
2025-02-28 09:52:56 +01:00
Taran Vohra
9b914d10bd
Fix getProxyModeBasePath ( #2896 )
2025-02-28 12:27:25 +05:30
Brett Jephson
3e11678d8d
fix: section groups went missing ( #2891 )
2025-02-28 00:00:39 +01:00
Samy Pessé
6e03638130
Remove loading.tsx for static rendering in v2 ( #2894 )
2025-02-27 18:23:06 +01:00
Greg Bergé
23f884efb7
Fix the fonts display on the site ( #2893 )
2025-02-27 17:27:17 +01:00
Taran Vohra
2ae76f999b
Change how a site in proxy mode is resolved ( #2890 )
2025-02-27 21:43:29 +05:30
Samy Pessé
685325cdc7
Deploy v2 to staging from main using a composite action ( #2888 )
2025-02-27 11:12:02 +01:00
Samy Pessé
ab132eadb7
Cache OpenAPI using next "use cache" for v2 ( #2887 )
2025-02-27 09:39:08 +01:00
Samy Pessé
14504e43b5
V2: embeds and CSP ( #2885 )
2025-02-27 08:44:32 +01:00
Taran Vohra
4ed79574e8
change proxy mode site lookup url ( #2886 )
2025-02-27 12:38:55 +05:30
Samy Pessé
31bcd1a386
Improve detection of code path not supported in v2, add visual tests ( #2884 )
2025-02-26 20:18:38 +01:00
Samy Pessé
270e5ef7ad
Improve linking to other sections/variants in development ( #2883 )
2025-02-26 19:14:27 +01:00
Samy Pessé
1f4733355e
Remove eslint/prettier and switch to biome ( #2880 )
2025-02-26 17:59:34 +01:00
Zeno Kapitein
027a859ef4
Add link styles ( #2861 )
2025-02-26 13:03:14 +00:00
Samy Pessé
59f50eaee7
Fix production deployments to Vercel ( #2879 )
2025-02-26 13:47:24 +01:00
Samy Pessé
80d2733c25
Version Packages ( #2859 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-26 13:41:20 +01:00
Samy Pessé
feb6735a4d
Abstract data fetching between v1 and v2 ( #2865 )
2025-02-26 13:20:16 +01:00
Nolann B.
f1d1d2fd81
Return empty string if no server provided ( #2878 )
2025-02-26 09:13:27 +01:00
Greg Bergé
a749c67803
Extract and remove unused code around OpenAPI servers ( #2867 )
2025-02-25 17:39:27 +01:00
Nolann B.
c808bb1483
Fallback to untrusted validation in case JSON OpenAPI spec is invalid ( #2877 )
2025-02-25 17:27:31 +01:00
Greg Bergé
e24206ebf0
Remove dependency to swagger2openapi and yaml ( #2874 )
2025-02-25 15:42:11 +01:00
Greg Bergé
3410785a3a
Remove .tsbuildinfo ( #2875 )
2025-02-25 15:24:12 +01:00
Nolann B.
b4a12d606e
Fix circularRef in schema + examples OpenAPI ( #2872 )
2025-02-24 21:26:26 +01:00
Greg Bergé
a0545545d7
Faster OpenAPI spec validation ( #2871 )
2025-02-24 21:21:27 +01:00
Zeno Kapitein
1f11650ca1
Bump hint icon up 1px ( #2869 )
2025-02-24 16:21:19 +01:00
Greg Bergé
da55facf2c
Support GitBook blocks in OpenAPI operation description ( #2868 )
2025-02-24 13:44:48 +01:00
Nolann B.
dc2dbc5710
Update OpenAPI code examples to support multiple content-type ( #2843 )
2025-02-24 13:07:35 +01:00
Nolann B.
bdd6303bcc
Rearrange item types in OpenAPI blocks ( #2862 )
2025-02-24 11:33:47 +01:00
Zeno Kapitein
66d0fc0683
Update hint block ( #2840 )
...
Co-authored-by: Valentino Hudhra <v.hudhra@gmail.com >
2025-02-21 15:32:35 +01:00
Nolann B.
05e1d8cd96
Hide x-gitbook-* symbols in OpenAPI blocks ( #2863 )
2025-02-21 12:38:55 +01:00
Greg Bergé
9f0de74caa
Add support for new OpenAPI ref ( #2860 )
2025-02-20 14:31:04 +01:00
spastorelli
a820739bd2
Remove ununsed search api lib methods ( #2855 )
2025-02-20 09:46:12 +01:00
Samy Pessé
304042017c
Version Packages ( #2847 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-20 08:36:09 +01:00
Greg Bergé
82cd9f2979
Add support for anchor link in OpenAPI blocks ( #2858 )
2025-02-19 23:38:20 +01:00
Greg Bergé
a3f1fea27b
Display OpenAPI header description ( #2857 )
2025-02-19 23:34:52 +01:00
Greg Bergé
bb5c6a42e7
Support multiple examples and multiple responses example ( #2856 )
2025-02-19 20:39:15 +01:00
Valentino Hudhra
445baaaa61
Add a new packages @gitbook/colors ( #2854 )
...
Co-authored-by: Zeno Kapitein <zenomilan@me.com >
2025-02-19 17:17:39 +01:00
Nolann B.
7419ee7dba
Show additional fields in OpenAPI block ( #2851 )
2025-02-19 17:01:15 +01:00
Nolann B.
aa6be381a4
Make OpenAPI tabs list scrollable if overflowing ( #2848 )
2025-02-19 11:10:11 +01:00
Greg Bergé
61575838f3
Optimize markdown parsing ( #2850 )
2025-02-19 10:29:33 +01:00
Samy Pessé
359bb979f8
Open external link in a new tab when embedded in an iframe ( #2846 )
2025-02-18 12:41:45 +00:00
Greg Bergé
b29a885bae
Fix NPM_TOKEN used to publish packages ( #2844 )
2025-02-18 10:25:55 +01:00
Samy Pessé
919da7f2c9
Version Packages ( #2839 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-18 00:44:59 +01:00
Greg Bergé
d222c116e0
Fix avoid showing child attributes if empty ( #2842 )
2025-02-17 17:12:26 +01:00
Greg Bergé
df840dac18
Avoid parsing example description ( #2841 )
2025-02-17 17:12:16 +01:00
Nolann B.
f8d4c7697c
Fix schema validation error ( #2820 )
2025-02-17 15:11:58 +01:00
Nolann B.
dddb4ecbb8
Fix OpenAPI long tab group description ( #2838 )
2025-02-17 12:51:13 +01:00
Greg Bergé
470d10cb47
Mark GitBook v2 as private ( #2837 )
2025-02-17 09:41:20 +01:00
Samy Pessé
dae11e9607
Version Packages ( #2644 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-17 09:12:54 +01:00
Greg Bergé
3d1eb53708
Run visual testing on customers docs ( #2833 )
...
Co-authored-by: Valentino Hudhra <v.hudhra@gmail.com >
Co-authored-by: Valentino Hudhra <2587839+valentin0h@users.noreply.github.com >
2025-02-14 17:00:48 +01:00
Zeno Kapitein
a76c9a56a7
Flip card logic ( #2835 )
2025-02-14 15:34:03 +01:00
Greg Bergé
eaad0d4e09
Fix visual testing logo flakiness ( #2834 )
2025-02-14 12:16:45 +01:00
Greg Bergé
46edde9da6
Improve OpenAPI abstraction to be more flexible on usage ( #2832 )
2025-02-14 10:41:09 +01:00
Nolann B.
dda0cc635e
Flatten OpenAPI security object ( #2818 )
2025-02-13 16:44:06 +01:00
Greg Bergé
727bde2d16
Refactor and optimize OpenAPI parsing ( #2830 )
2025-02-13 16:30:34 +01:00
Zeno Kapitein
9f30af1b33
Fix card layout for cards without cover ( #2831 )
2025-02-13 15:13:03 +01:00
Zeno Kapitein
ff05e20537
Improvements to inline images in headings ( #2829 )
2025-02-13 13:44:16 +01:00
Scott Cazan
53de5b13c1
Fix URL resolution in Site Sections for Ask ( #2827 )
2025-02-13 09:22:11 +01:00
Zeno Kapitein
a025118f69
Change card layout depending on cover aspect ratio ( #2828 )
2025-02-12 17:21:52 +01:00
Zeno Kapitein
71688a817b
Implement new themes ( #2822 )
...
Co-authored-by: Valentino Hudhra <v.hudhra@gmail.com >
2025-02-12 15:37:41 +01:00
Zeno Kapitein
00c476ea7f
Fix typo in sticky page outline ( #2826 )
2025-02-12 09:13:45 +01:00
Samy Pessé
5576906914
Fix table of content displaying arrow next to page with only hidden pages ( #2825 )
2025-02-10 16:24:27 +01:00
Samy Pessé
d5aaccd2c4
Remove use of deprecated API createSitesPageFeedback ( #2824 )
2025-02-10 13:20:33 +01:00
Samy Pessé
7059c2ba25
Fetch computed document ( #2823 )
2025-02-07 23:09:16 +01:00
Brett Jephson
aaab157d49
Section groups visual bug fix ( #2821 )
2025-02-07 15:53:51 +00:00
Greg Bergé
9943276c0c
Revert PR with bugs ( #2819 )
2025-02-07 15:08:58 +01:00
Nolann B.
c31cf5243a
Sync tabs across all OpenAPI blocks ( #2817 )
2025-02-07 13:15:06 +01:00
Nolann B.
0c03676efb
Improve OpenAPI Securities sample and headers ( #2816 )
2025-02-07 12:35:46 +01:00
Nolann B.
883d10acf8
Support for OpenAPI references ( #2813 )
2025-02-07 11:46:23 +01:00
Nolann B.
3e5e458118
Handle isArray schema type ( #2815 )
2025-02-07 11:23:36 +01:00
Brett Jephson
0510b6f29e
Add section description ( #2814 )
2025-02-06 16:53:48 +00:00
Zeno Kapitein
92b7668bf3
Fix header offset ( #2812 )
2025-02-06 15:12:07 +01:00
Scott Cazan
3973b1cbf3
Handle unresolved references in OpenAPI response' ( #2811 )
...
Co-authored-by: Steven H <steven@gitbook.io >
2025-02-06 11:25:42 +01:00
Nolann B.
160fca1ea1
Update OpenAPI design ( #2787 )
2025-02-06 10:47:23 +01:00
Zeno Kapitein
e90c96f7e9
Page outline positioning ( #2805 )
...
Co-authored-by: Claire Chabas <claire.chabas@gmail.com >
2025-02-05 17:08:30 +01:00
Scott Cazan
d935fb1b2e
Only push scrolling down when Footer is present ( #2807 )
2025-02-05 12:26:31 +01:00
Scott Cazan
a6529584a5
Handle Errors from Unresolved Refs ( #2810 )
2025-02-05 10:52:35 +00:00
Zeno Kapitein
18953b2d6b
Make tint color subtler when equal to primary color ( #2808 )
...
Co-authored-by: Valentino Hudhra <2587839+valentin0h@users.noreply.github.com >
2025-02-05 11:40:19 +01:00
Zeno Kapitein
21cbd9e3b0
Change link color to primary subtle ( #2809 )
2025-02-05 09:02:53 +01:00
Brett Jephson
38061bdf65
RND-5646: section groups navigation menu ( #2789 )
2025-02-04 17:07:57 +00:00
Nolann B.
d9029c7e1e
Include apiKey example in CodeSample security headers ( #2804 )
2025-02-04 17:19:39 +01:00
Steven H
fe8acc986e
Fix an issue where a missing OpenAPI example would crash the page. ( #2806 )
2025-02-04 11:48:38 +00:00
Nolann B.
e721f17f7e
Implement Scalar's getExampleFromSchema ( #2802 )
2025-02-04 11:59:47 +01:00
Nolann B.
2f73db785e
Support non primitive examples in OpenAPI block ( #2775 )
2025-02-03 17:07:29 +01:00
Zeno Kapitein
9e18ae6587
Overhaul colour system & classes ( #2783 )
2025-02-03 12:23:19 +01:00