Commit Graph

881 Commits (v1.0.0-alpha.68)

Author SHA1 Message Date
Alija Sabic 9a315d8855 Revert "Provide accessible markdown-it-anchor configuration"
3 years ago
Alija Sabic a100f88993 Revert "Update theme-default style for accessible header-anchors"
3 years ago
Alija Sabic 03e9e4206a Update theme-default style for accessible header-anchors
3 years ago
Alija Sabic 86259682c8 Provide accessible markdown-it-anchor configuration
3 years ago
Evan You 7182c4231f feat(theme): page outline for mobile
3 years ago
Evan You 15a2dd2eb9 adjust custom container bg contrast
3 years ago
Evan You 3b6a6d1abd feat(theme): a11y improvements
3 years ago
Evan You 6ca34c4236 feat(theme): aria-label for social links
3 years ago
Evan You 2f26693a1d fix: do not include head tags in inlined site data
3 years ago
Evan You 9aafc88d59 fix: fix scroll to hash on new tab during dev
3 years ago
Evan You 470ce3d3f3 fix: gracefully handle config update with syntax error
3 years ago
Evan You d64a76eb36 perf: kickoff main chunk fetch earlier in browsers without modulepreload support
3 years ago
Evan You 22ace7b075 perf: inline site data on page
3 years ago
Evan You bed202dbcc fix: fix chunking logic that causes breakage
3 years ago
Evan You d2838e3755 feat: createContentLoader
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
Divyansh Singh 9ceff1d587 fix: trim spaces from outline headers
3 years ago
Evan You 8ab36d05fa fix: properly serialize header in outline
3 years ago
Evan You 9bd940f22c fix: remove @vue/devtools from force include
3 years ago
Evan You 9708510cbd fix: fix line higlighting for empty lines
3 years ago
Evan You 6ce88da3ba fix: fix rewrites with non ascii chars
3 years ago
Evan You e05a3f2b5a fix: fix same page hash links with encoded chars
3 years ago
Evan You 868a9ff81e feat: allow disabling markdown.headers
3 years ago
Evan You 63f33d2895 fix: respect user vue alias
3 years ago
Evan You 657a7d38df fix(theme): re-support dynamic headers
3 years ago
Evan You f6cb4c0d44 perf: improve default theme chunking
3 years ago
Evan You 5c00bd3db4 chore(theme): improve light mode base text contrast
3 years ago
Divyansh Singh 8b5181446d chore: bump deps
3 years ago
Divyansh Singh 41987b6a88
feat(theme): add not-found layout slot (#2054)
3 years ago
Evan You 747a04d341 fix(theme): remove log in VPContent
3 years ago
Evan You 3690714a32 update domain + redirect
3 years ago
Alija 322c633fd0
perf(a11y): add aria-label to language button (#2025)
3 years ago
CHOYSEN bed31d0c21
refactor: only compile rewrite rules once (#2018)
3 years ago
CHOYSEN 27e3adf8ed
fix(theme): align number to code line (#2044)
3 years ago
Evan You 76097048f3 feat: export loadEnv from vite
3 years ago
Evan You 4673bb1879 feat(data-loader): defineLoader() type helper
3 years ago
Evan You e29b6a051e feat(data-loader): pass watched files into load()
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 3158115afc fix(theme): make tip box text color darker
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 580a8e1a55 fix: extract all headers by default
3 years ago
Evan You 1457681484 fix: ensure HMR works properly for page outline
3 years ago
Evan You 0c0b6cc5a3 fix: avoid deprecation warning when using --force
3 years ago
Evan You 22047f3363 fix: respect command line minify and outDir options
3 years ago
Evan You 49bcc254dc docs: rewrite getting started + init tips
3 years ago
Evan You 7158932e27 docs: update home page
3 years ago
Evan You 38bbdaddb7
feat: vitepress init command (#2020)
3 years ago
Robert Kowalski 254e15beb9
feat(theme): add `as` prop to `Content` (#2011)
3 years ago
gaaming 996a5f47e9
feat(theme): add `home-hero-info` slot (#1807)
3 years ago
maomao 2a1abbe45e
fix(theme): prevent text wrapping in nav dropdown menu
3 years ago
Evan You 8e8fcd9caa fix: normalize all paths in config
3 years ago
Evan You 8c9833ceba test: fix dynamic routes test for build
3 years ago
Evan You c5f37188a1 warn missing paths export
3 years ago
Evan You ef6ae56c95 feat: cache dynamic path loaders
3 years ago
Evan You b075ee5be6 fix: dyamic routes w/ srcDir + relative imports
3 years ago
Evan You 24fa862c39 feat: dynamic routes
3 years ago
Evan You 5913ebc34f fix: hmr on deps change of data loaders
3 years ago
Evan You bccce98c62 fix: update route configs on file add / delete
3 years ago
Evan You 34b149ba25 wip: rewrites for dynamic routes
3 years ago
Evan You 24507105b1 fix: disable fuzzy link recognition by default
3 years ago
Evan You 80fb3b0e98 wip: prod build for dynamic routes
3 years ago
Evan You d6952f37b7 wip: hmr for dynamic routes on add/delete
3 years ago
Evan You 08df389db8 wip: basic hmr for dynamic routes
3 years ago
Evan You 9c4c2117a6 wip: dynamic routes
3 years ago
Kia King Ishii c2de4caa34
fix(theme): "copy code" button not readable on hover state (#819) (#1892) (#1998)
3 years ago
Kia King Ishii d9a2e6e897 fix(theme): tip custom container has wrong bg color for `<code>` block
3 years ago
Kia King Ishii 472b6ecf5e
feat(theme): enhance readability of custom containers (#1824) (#1989)
3 years ago
Juan Martín Seery 5a6d384952
feat(build): add support for custom languages (#1837)
3 years ago
Divyansh Singh e2d4edf45b
feat(theme): support custom target and rel in navbar links (#1993)
3 years ago
meedfine 8e6e8d9af5
fix(theme): show external link icon in navbar (#1881)
3 years ago
Divyansh Singh 6218b108bc
fix(theme): show external link icon on same line (#1880)
3 years ago
Markus b56351c778
fix(theme): allow empty details in home feature (#1936) (#1963)
3 years ago
Markus b8a5e8e5b2
feat(theme): make prev/next links changeable (#1972)
3 years ago
Markus 803d5b6d66
fix(theme): add height constraints to hero image (#1983)
3 years ago
gittig11 fd995906f6
fix(compat): remove use of array.at
3 years ago
Evan You 191ac86a85 docs: adjust the use of configs -> config
3 years ago
Divyansh Singh c4d8d7225c
fix(build): show error stack in logs (#1960)
3 years ago
Divyansh Singh 5c9b75e325
fix(types): augment vite user config (#1946)
3 years ago
Alexey Iskhakov bcb8cbf3c8
fix: custom titles of code snippets inside code groups (#1834)
3 years ago
CHOYSEN a00bb62143
feat(build): use vite logger (#1899)
3 years ago
Juan Martín Seery dcf29419f2
fix(build): prepend base to all internal non-relative links (#1908)
3 years ago
dominikcz dd0c4c698c
feat(theme): support disabling aside globally (#1925)
3 years ago
Alex Kozack dd1f0bf774
style: add `translations` class in `VPNavBarExtra` (#1896)
3 years ago
Mr-Q ea430760f5
fix(theme): make features support line wrapping (#1913)
3 years ago
manchan 48c9b11316
fix(theme-default): remove duplicate judgments in `preconnect()` (#1903)
3 years ago
Mr.Hope 616fe5b636
fix(theme-default): avoid preconnect without algolia (#1902)
3 years ago
Q.Ben Zheng f9743816a5
feat(shiki): support `ansi` code highlight (#1878)
3 years ago
garee76 507b193ef0
fix: safari use `window.requestIdleCallback` (#1871)
3 years ago
Divyansh Singh dea6cfa9cb
fix(theme): infer collapsible from collapsed (#1865)
3 years ago
翠 / green 1f775774da
feat(theme): preconnect algolia when idle (#1851)
3 years ago
翠 / green 010b3e5ad9
fix: take `<a>` in SVG into account (#1850)
3 years ago
Divyansh Singh a05956f38a fix(build): hmr with rewrites when base is set
3 years ago
Divyansh Singh cf8ad1a291
fix(build): consider base when checking actual pathname (#1858)
3 years ago
Divyansh Singh 08e07d643d
chore: bump deps (#1853)
3 years ago
Divyansh Singh 5ae4fbde38
feat: stable `cleanUrls` (#1852)
3 years ago