Skip to content

Commit ddca803

Browse files
committed
fix: docs
1 parent 0b106b9 commit ddca803

File tree

2 files changed

+86
-546
lines changed

2 files changed

+86
-546
lines changed

docs-v3/components/TheSidebar.vue

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,14 @@ watch(isMobileMenuOpen, (isOpen) => {
144144
}
145145
})
146146
147-
// Collapsible sections state - start with API section expanded
147+
// Collapsible sections state - start with all sections expanded
148148
const collapsedSections = ref<Set<string>>(new Set())
149149
150-
// Initialize sections as collapsed except for API section
150+
// Initialize all sections as expanded
151151
onMounted(() => {
152152
if (navigationSections.value) {
153-
const allSectionTitles = navigationSections.value.map(section => section.title)
154-
// Start with all sections collapsed except 'API'
155-
const sectionsToCollapse = allSectionTitles.filter(title => title !== 'API')
156-
collapsedSections.value = new Set(sectionsToCollapse)
153+
// Start with all sections expanded (empty set means all open)
154+
collapsedSections.value = new Set()
157155
}
158156
})
159157

0 commit comments

Comments
 (0)