Commit Graph

172 Commits (39784ca55fdbefa97b7e9f892609ef8bdaeadf50)

Author SHA1 Message Date
Divyansh Singh 5836facc61
chore!: drop pathname protocol (#2823)
3 years ago
Divyansh Singh 9499953386
refactor: drop custom logic in favor of vueuse useDark (#2818)
3 years ago
Divyansh Singh 20b509c6e1 feat(client): allow customizing scrollOffset padding
3 years ago
Divyansh Singh c6c983ed73
fix(client): handle empty hash in links (#2738)
3 years ago
Divyansh Singh 1a6efbae8e fix(theme): scroll code group tab into view on selection
3 years ago
Divyansh Singh 1179484432 feat(client): allow overriding props on Content
3 years ago
Divyansh Singh 7f0c18e013
feat: allow html blocks inside code groups (#2719)
3 years ago
烽宁 d015cddb30
chore(vite): support define replacement without removing double quotes (#2677)
3 years ago
Mathieu POUSSE cfa870f060
fix(theme): support missing meta description tag (#2639)
3 years ago
烽宁 64d7c3ba54
feat(build): support custom `assetsDir` (#2497)
3 years ago
Divyansh Singh a3df6171ab refactor: move onBeforePageLoad inside loadPage
3 years ago
bqy_fe 665f3b02f8
feat(client): add onBeforePageLoad hook for router (#2564)
3 years ago
Divyansh Singh e95015f598
fix(client): bypass client router for links explicitly specifying target (#2563)
3 years ago
Divyansh Singh 6b98113a42
fix(client): don't throw on using special chars in element ids (#2560)
3 years ago
烽宁 c30e758585
fix(client): scroll not working on clicking an anchor in search box (#2527)
3 years ago
丶远方 656df5c761
chore: replace Map by WeakMap (#2499)
3 years ago
烽宁 484ff5dd4b
fix: hmr when `base` is set (#2375)
3 years ago
lchzh3473 f3d3332fff
fix(router): scroll back to the hash anchor even if it is already selected (#2265)
3 years ago
Divyansh Singh 1769d329cc refactor: directly use first child instead of querying
3 years ago
Liberty 4c24960433
feat: allow passing props and children/slots to defineClientComponent (#2198)
3 years ago
Evan You 16064023cf chore: upgrade to TS 5.0 + use moduleResolution: "bundler"
3 years ago
0xRaiden ee6cda42d8
fix(theme): prevent code-groups conflict with shiki-twoslash (#2059)
3 years ago
Evan You 1f2f1ff43d fix: decode when query selecting current hash
3 years ago
Evan You 86e2a6f972 feat: support multiple selectors for scrollOffset
3 years ago
Evan You 2ad668cd54 feat: defineClientComponent helper
3 years ago
Evan You 52b04f324c fix: handle async enhanceApp when extending themes
3 years ago
Evan You 9aafc88d59 fix: fix scroll to hash on new tab during dev
3 years ago
Evan You 905f58b2a8 fix: avoid circular dependency between siteData virtual module and useData()
3 years ago
Guillaume Chau 192708de67
feat(theme): editLink can accept function (#2058)
3 years ago
Evan You 657a7d38df fix(theme): re-support dynamic headers
3 years ago
Evan You 3690714a32 update domain + redirect
3 years ago
Evan You de84c01b72 docs: revise custom theme and default theme extending
3 years ago
Evan You f39b6a98d6 feat: support Theme.extends
3 years ago
Evan You 868a58670e feat: deprecate Theme.setup
3 years ago
Evan You 74caccda43 feat: expose isNotFound on PageData, deperecate Theme.NotFound
3 years ago
Evan You 66f94fd7a0 feat: expose params at top level in useData()
3 years ago
Evan You a4ac055dbf feat: support $params in page components
3 years ago
Evan You 1457681484 fix: ensure HMR works properly for page outline
3 years ago
Robert Kowalski 254e15beb9
feat(theme): add `as` prop to `Content` (#2011)
3 years ago
翠 / green 010b3e5ad9
fix: take `<a>` in SVG into account (#1850)
4 years ago
Divyansh Singh cf8ad1a291
fix(build): consider base when checking actual pathname (#1858)
4 years ago
Divyansh Singh 5ae4fbde38
feat: stable `cleanUrls` (#1852)
4 years ago
Em Zhan 1553dbce8e
fix(router): avoid duplicate history entries (#1827)
4 years ago
Divyansh Singh 8de2f4499d
feat: add i18n feature (#1339)
4 years ago
qiang 09c2c52d6c
feat: support for teleports to body (#1642)
4 years ago
Divyansh Singh 2a80fbd14a
fix(build): handle cleanUrls without trailing slash (#1772)
4 years ago
Divyansh Singh 01ac579187
feat: allow `enhanceApp` to return a `Promise` (#1760)
4 years ago
Matteo Bilotta 4ac8c0482f
types: strong separation between `import` and `import type` (#1756)
4 years ago
Igor Randjelovic 195d867ee9
fix: handle cleanUrls with subfolders when using a trailing slash (#1575)
4 years ago
Divyansh Singh a684b67ec0
feat: add code-group feature (#728) (#1560)
4 years ago