Commit Graph

164 Commits (8ff431a6bcce8cca04d9ea23ef92045a728d686a)

Author SHA1 Message Date
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)
3 years ago
Divyansh Singh cf8ad1a291
fix(build): consider base when checking actual pathname (#1858)
3 years ago
Divyansh Singh 5ae4fbde38
feat: stable `cleanUrls` (#1852)
3 years ago
Em Zhan 1553dbce8e
fix(router): avoid duplicate history entries (#1827)
3 years ago
Divyansh Singh 8de2f4499d
feat: add i18n feature (#1339)
3 years ago
qiang 09c2c52d6c
feat: support for teleports to body (#1642)
3 years ago
Divyansh Singh 2a80fbd14a
fix(build): handle cleanUrls without trailing slash (#1772)
3 years ago
Divyansh Singh 01ac579187
feat: allow `enhanceApp` to return a `Promise` (#1760)
3 years ago
Matteo Bilotta 4ac8c0482f
types: strong separation between `import` and `import type` (#1756)
3 years ago
Igor Randjelovic 195d867ee9
fix: handle cleanUrls with subfolders when using a trailing slash (#1575)
3 years ago
Divyansh Singh a684b67ec0
feat: add code-group feature (#728) (#1560)
3 years ago
Divyansh Singh f4d5417930 fix(theme): ignore removed diff lines while copying code
3 years ago
Q.Ben Zheng f36cd0d626
fix: remove shell code copy trailing newline (#1561)
3 years ago
Divyansh Singh d327811fd5
feat: expose isDark (#1525)
3 years ago
Divyansh Singh 1de0069a53
fix(build): better align server and client side filename sanitization (#1488)
3 years ago
Divyansh Singh ead9b8c6f6
Revert "fix(build): better align server and client side filename sanitization" (#1484)
3 years ago
Divyansh Singh 41a519cc77 fix(build): remove leading underscore from chunks
3 years ago
Divyansh Singh 3fd20fedb8 fix(build): better align server and client side filename sanitization
3 years ago
yuhengshen 54cf6ce51f
fix(router): don't intercept download links (#1452)
3 years ago