Compare commits

..

3 Commits

Author SHA1 Message Date
Steven Hall e24e412adb Disable Workers Observability 2025-11-03 11:02:21 +00:00
Zeno Kapitein e27986b17a Reword "Everywhere" search scope to "All docs" (#3776) 2025-11-03 09:57:21 +01:00
Zeno Kapitein 8606f222c9 Add padding to TOC page group items (#3777) 2025-11-03 09:56:39 +01:00
21 changed files with 24 additions and 37 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Reword "Everywhere" search scope to "All docs"
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Add padding to TOC page group items
-5
View File
@@ -172,11 +172,6 @@ const testCases: TestsCase[] = [
contentBaseURL: 'https://docs.realapp.link',
tests: [{ name: 'Home', url: '/' }],
},
{
name: 'docs.plaza.finance',
contentBaseURL: 'https://docs.plaza.finance',
tests: [{ name: 'Home', url: '/' }],
},
{
name: 'docs.publicai.io',
contentBaseURL: 'https://docs.publicai.io',
@@ -8,9 +8,6 @@
"allow_importable_env",
"global_fetch_strictly_public"
],
"observability": {
"enabled": true
},
"vars": {
"NEXT_CACHE_DO_QUEUE_DISABLE_SQLITE": "true"
},
@@ -8,9 +8,6 @@
"allow_importable_env",
"global_fetch_strictly_public"
],
"observability": {
"enabled": true
},
"env": {
"preview": {
"vars": {
@@ -12,9 +12,6 @@
"directory": "../../.open-next/assets",
"binding": "ASSETS"
},
"observability": {
"enabled": true
},
"vars": {
"NEXT_CACHE_DO_QUEUE_DISABLE_SQLITE": "true"
},
@@ -147,6 +147,7 @@ export function SpaceLayout(props: SpaceLayoutProps) {
className={tcls(
'hidden',
'pr-4',
'mt-2',
'lg:flex',
'grow-0',
'dark:shadow-light/1',
@@ -59,7 +59,7 @@ export async function TableOfContents(props: {
'lg:page-no-toc:[html[style*="--outline-top-offset"]_&]:top-(--outline-top-offset)!',
'lg:page-no-toc:[html[style*="--outline-height"]_&]:top-(--outline-height)!',
'pt-6',
'pt-4',
'pb-4',
'lg:sidebar-filled:pr-6',
'lg:page-no-toc:pr-0',
@@ -104,7 +104,7 @@ export async function TableOfContents(props: {
) : null}
<TOCScrollContainer // The scrollview inside the sidebar
className={tcls(
'flex grow flex-col p-2',
'flex grow flex-col p-2 pt-4',
customization.trademark.enabled && 'lg:pb-20',
'hide-scrollbar overflow-y-auto'
)}
+1 -1
View File
@@ -23,7 +23,7 @@ export const de = {
search_scope_title: 'Filter',
search_scope_section_current: '${1}',
search_scope_section_current_description: 'Nur der aktuelle Abschnitt',
search_scope_section_all: 'Überall',
search_scope_section_all: 'Gesamte Dokumentation',
search_scope_section_all_description: 'Alle Abschnitte der Dokumentation',
search_scope_variant_current: '${1}',
search_scope_variant_current_description: 'Nur die aktuelle Variante',
+1 -1
View File
@@ -23,7 +23,7 @@ export const en = {
search_scope_title: 'Filter',
search_scope_section_current: '${1}',
search_scope_section_current_description: 'Only the current section',
search_scope_section_all: 'Everywhere',
search_scope_section_all: 'All docs',
search_scope_section_all_description: 'All sections of the docs',
search_scope_variant_current: '${1}',
search_scope_variant_current_description: 'Only the current variant',
+1 -1
View File
@@ -25,7 +25,7 @@ export const es: TranslationLanguage = {
search_scope_title: 'Filtro',
search_scope_section_current: '${1}',
search_scope_section_current_description: 'Solo la sección actual',
search_scope_section_all: 'En todas partes',
search_scope_section_all: 'Toda la documentación',
search_scope_section_all_description: 'Todas las secciones de la documentación',
search_scope_variant_current: '${1}',
search_scope_variant_current_description: 'Solo la variante actual',
+1 -1
View File
@@ -23,7 +23,7 @@ export const fr = {
search_scope_title: 'Filtre',
search_scope_section_current: '${1}',
search_scope_section_current_description: 'Seulement la section actuelle',
search_scope_section_all: 'Partout',
search_scope_section_all: 'Toute la documentation',
search_scope_section_all_description: 'Toutes les sections de la documentation',
search_scope_variant_current: '${1}',
search_scope_variant_current_description: 'Seulement la variante actuelle',
+1 -1
View File
@@ -25,7 +25,7 @@ export const it: TranslationLanguage = {
search_scope_title: 'Filtro',
search_scope_section_current: '${1}',
search_scope_section_current_description: 'Solo la sezione corrente',
search_scope_section_all: 'Ovunque',
search_scope_section_all: 'Tutta la documentazione',
search_scope_section_all_description: 'Tutte le sezioni della documentazione',
search_scope_variant_current: '${1}',
search_scope_variant_current_description: 'Solo la variante corrente',
+1 -1
View File
@@ -25,7 +25,7 @@ export const ja: TranslationLanguage = {
search_scope_title: 'フィルター',
search_scope_section_current: '${1}',
search_scope_section_current_description: '現在のセクションのみ',
search_scope_section_all: 'どこでも',
search_scope_section_all: 'ドキュメント全体',
search_scope_section_all_description: 'ドキュメントのすべてのセクション',
search_scope_variant_current: '${1}',
search_scope_variant_current_description: '現在のバリエーションのみ',
+1 -1
View File
@@ -25,7 +25,7 @@ export const nl: TranslationLanguage = {
search_scope_title: 'Filter',
search_scope_section_current: '${1}',
search_scope_section_current_description: 'Alleen de huidige sectie',
search_scope_section_all: 'Overal',
search_scope_section_all: 'Alle documentatie',
search_scope_section_all_description: 'Alle secties van de documentatie',
search_scope_variant_current: '${1}',
search_scope_variant_current_description: 'Alleen de huidige variant',
+1 -1
View File
@@ -25,7 +25,7 @@ export const no: TranslationLanguage = {
search_scope_title: 'Filter',
search_scope_section_current: '${1}',
search_scope_section_current_description: 'Kun den nåværende seksjonen',
search_scope_section_all: 'Overalt',
search_scope_section_all: 'Hele dokumentasjonen',
search_scope_section_all_description: 'Alle seksjoner i dokumentasjonen',
search_scope_variant_current: '${1}',
search_scope_variant_current_description: 'Kun den nåværende varianten',
@@ -23,7 +23,7 @@ export const pt_br = {
search_scope_title: 'Filtro',
search_scope_section_current: '${1}',
search_scope_section_current_description: 'Apenas a seção atual',
search_scope_section_all: 'Em todos os lugares',
search_scope_section_all: 'Toda a documentação',
search_scope_section_all_description: 'Todas as seções da documentação',
search_scope_variant_current: '${1}',
search_scope_variant_current_description: 'Apenas a variante atual',
+1 -1
View File
@@ -23,7 +23,7 @@ export const ru = {
search_scope_title: 'Фильтр',
search_scope_section_current: '${1}',
search_scope_section_current_description: 'Только текущий раздел',
search_scope_section_all: 'Везде',
search_scope_section_all: 'Вся документация',
search_scope_section_all_description: 'Все разделы документации',
search_scope_variant_current: '${1}',
search_scope_variant_current_description: 'Только текущий вариант',
+1 -1
View File
@@ -25,7 +25,7 @@ export const zh: TranslationLanguage = {
search_scope_title: '过滤器',
search_scope_section_current: '${1}',
search_scope_section_current_description: '仅当前章节',
search_scope_section_all: '任何地方',
search_scope_section_all: '整个文档',
search_scope_section_all_description: '文档的所有章节',
search_scope_variant_current: '${1}',
search_scope_variant_current_description: '仅当前变体',
-7
View File
@@ -414,13 +414,6 @@ async function serveSiteRoutes(requestURL: URL, request: NextRequest) {
return writeResponseCookies(response, cookies);
};
if (siteRequestURL.pathname.endsWith('/~gitbook/mcp')) {
const token = siteRequestURL.searchParams.get('apiToken');
if (token) {
return withAPIToken(token);
}
}
// For https://preview/<siteURL> requests,
if (siteRequestURL.hostname === 'preview') {
// Do not track page views for preview requests
-3
View File
@@ -11,9 +11,6 @@
"directory": ".open-next/assets",
"binding": "ASSETS"
},
"observability": {
"enabled": true
},
"vars": {
"NEXT_CACHE_DO_QUEUE_DISABLE_SQLITE": "true",
"IS_PREVIEW": "false"