File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
packages/gitbook-v2/src/lib Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " gitbook-v2 " : patch
3
+ " gitbook " : patch
4
+ ---
5
+
6
+ Increase logging around caching behaviour causing page crashes.
Original file line number Diff line number Diff line change
1
+ ---
2
+ " gitbook " : patch
3
+ " gitbook-v2 " : patch
4
+ ---
5
+
6
+ Revert investigation work around URL caches.
Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ export function checkIsRootSiteContext(context: GitBookSiteContext): boolean {
407
407
function parseSiteSectionsAndGroups ( structure : SiteStructure , siteSectionId : string ) {
408
408
const sectionsAndGroups = getSiteStructureSections ( structure , { ignoreGroups : false } ) ;
409
409
const section = parseCurrentSection ( structure , siteSectionId ) ;
410
- assert ( section , 'A section must be defined when there are multiple sections' ) ;
410
+ assert ( section , `couldn't find section " ${ siteSectionId } " in site structure` ) ;
411
411
return { list : sectionsAndGroups , current : section } satisfies SiteSections ;
412
412
}
413
413
You can’t perform that action at this time.
0 commit comments