Commit f0a9c83e06

f0a9c83e067645f4fadabdf0a2b4bc4cf1ba5a1a

parent: 63aff054aa

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-06-30 10:52 UTC

init

Layout: unified · split

docs/.vitepress/theme/Layout.vue +1 −1
@@ -101,7 +101,7 @@ const getScrollTargetForAnchor = (target: HTMLElement) => {
101 return target 101 return target
102} 102}
103 103
104const TAB_QUERY_PARAM = 'tabs' 104const TAB_QUERY_PARAM = 't'
105const COLLAPSIBLE_QUERY_PARAM = 'c' 105const COLLAPSIBLE_QUERY_PARAM = 'c'
106 106
107const getRequestedAnchorPath = (param: string) => { 107const getRequestedAnchorPath = (param: string) => {
docs/.vitepress/theme/components/Search.vue +1 −1
@@ -1582,7 +1582,7 @@ const router = useRouter()
1582function buildResultHref(pageId: string, tabs?: string[], anchor = '') { 1582function buildResultHref(pageId: string, tabs?: string[], anchor = '') {
1583 const params: string[] = [] 1583 const params: string[] = []
1584 if (tabs?.length) { 1584 if (tabs?.length) {
1585 params.push(`tabs=${tabs.map((tab) => encodeURIComponent(tab)).join(',')}`) 1585 params.push(`t=${tabs.map((tab) => encodeURIComponent(tab)).join(',')}`)
1586 } 1586 }
1587 1587
1588 let hash = '' 1588 let hash = ''