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