You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'main' into claire/RND-10337-display-update-blocks-headings-in-page-outline
* main:
Make ToC groups collapsible and other styles fixes/improvements (#4177)
Fix HTML lang attribute not reflecting language variants (#4186)
Docs Embed: Better support light/dark mode overrides (#4181)
Translations dropdown should show language spaces that best matches the current space title (#4184)
Fix llms.txt and llms-full.txt language variants filtering (#4179)
Hide empty sidebar on OpenAPI pages (#4180)
Rework page layout (#4013)
Version Packages (#4163)
Fix toolbar design (#4175)
Extend gitbook/expr std lib with some additional methods (#4173)
Prepare for step.content to be optional (#4174)
Refactor test setup for improved mock restoration (#4176)
Reduce search debounce (#4170)
Exclude language variants from llms.txt and llms-full.txt (#4165)
Fix MCP getPage tool returning page not found (#4166)
Expose a ~gitbook/mcp/auth endpoint for non-VA adaptive content sites (#4155)
Improve AI agent detection and readability by outputting 200 for page not found (#4164)
Respect locale to format date in update block (#4160)
Fix HTML lang attribute not reflecting site language variants (#4161)
Improve Assistant form controls, i18n, and UX (#4159)
Override the embed's color scheme. When omitted, the embed follows the iframe's CSS `color-scheme`, which lets it inherit the parent page or browser preference.
467
+
468
+
**Note**: This is not a configuration option but rather a parameter when initializing the frame or creating the frame URL.
469
+
470
+
**Standalone script**: Pass as the second argument to `GitBook('init', options, frameOptions)`
471
+
**NPM package**: Pass to `getFrameURL({ colorScheme: 'dark' })`
472
+
**React components**: Pass as the `colorScheme` prop on `<GitBookFrame>`
0 commit comments