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