Evan You
905f58b2a8
fix: avoid circular dependency between siteData virtual module and useData()
...
close #2072
close #2073
close #2074
2 years ago
Guillaume Chau
192708de67
feat(theme): editLink can accept function ( #2058 )
2 years ago
Divyansh Singh
9ceff1d587
fix: trim spaces from outline headers
2 years ago
Evan You
8ab36d05fa
fix: properly serialize header in outline
...
BREAKING CHANGE: default theme config option `outlineBadge` has been
removed. Badges in headers are now always excluded when generating
outline text.
2 years ago
Evan You
9bd940f22c
fix: remove @vue/devtools from force include
2 years ago
Evan You
9708510cbd
fix: fix line higlighting for empty lines
2 years ago
Evan You
6ce88da3ba
fix: fix rewrites with non ascii chars
...
close #2017
2 years ago
Evan You
e05a3f2b5a
fix: fix same page hash links with encoded chars
...
close #1749
2 years ago
Evan You
868a9ff81e
feat: allow disabling markdown.headers
2 years ago
Evan You
63f33d2895
fix: respect user vue alias
...
close #1065
2 years ago
Evan You
657a7d38df
fix(theme): re-support dynamic headers
2 years ago
Evan You
f6cb4c0d44
perf: improve default theme chunking
2 years ago
Evan You
5c00bd3db4
chore(theme): improve light mode base text contrast
2 years ago
Divyansh Singh
8b5181446d
chore: bump deps
2 years ago
Divyansh Singh
41987b6a88
feat(theme): add not-found layout slot ( #2054 )
2 years ago
Evan You
747a04d341
fix(theme): remove log in VPContent
2 years ago
Evan You
3690714a32
update domain + redirect
2 years ago
Alija
322c633fd0
perf(a11y): add aria-label to language button ( #2025 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
CHOYSEN
bed31d0c21
refactor: only compile rewrite rules once ( #2018 )
2 years ago
CHOYSEN
27e3adf8ed
fix(theme): align number to code line ( #2044 )
2 years ago
Evan You
76097048f3
feat: export loadEnv from vite
2 years ago
Evan You
4673bb1879
feat(data-loader): defineLoader() type helper
2 years ago
Evan You
e29b6a051e
feat(data-loader): pass watched files into load()
2 years ago
Evan You
de84c01b72
docs: revise custom theme and default theme extending
2 years ago
Evan You
f39b6a98d6
feat: support Theme.extends
2 years ago
Evan You
868a58670e
feat: deprecate Theme.setup
2 years ago
Evan You
74caccda43
feat: expose isNotFound on PageData, deperecate Theme.NotFound
2 years ago
Evan You
3158115afc
fix(theme): make tip box text color darker
2 years ago
Evan You
66f94fd7a0
feat: expose params at top level in useData()
2 years ago
Evan You
a4ac055dbf
feat: support $params in page components
2 years ago
Evan You
580a8e1a55
fix: extract all headers by default
2 years ago
Evan You
1457681484
fix: ensure HMR works properly for page outline
...
The client-side based implementation in #1281 makes HMR update for the
outlines flaky and unreliable.
The headers payload for each page chunk is relatively cheap in return
for the correctness, since they are inlined as a JSON string.
2 years ago
Evan You
0c0b6cc5a3
fix: avoid deprecation warning when using --force
2 years ago
Evan You
22047f3363
fix: respect command line minify and outDir options
2 years ago
Evan You
49bcc254dc
docs: rewrite getting started + init tips
2 years ago
Evan You
7158932e27
docs: update home page
2 years ago
Evan You
38bbdaddb7
feat: vitepress init command ( #2020 )
...
close #1252
2 years ago
Robert Kowalski
254e15beb9
feat(theme): add `as` prop to `Content` ( #2011 )
2 years ago
gaaming
996a5f47e9
feat(theme): add `home-hero-info` slot ( #1807 )
2 years ago
maomao
2a1abbe45e
fix(theme): prevent text wrapping in nav dropdown menu
2 years ago
Evan You
8e8fcd9caa
fix: normalize all paths in config
2 years ago
Evan You
8c9833ceba
test: fix dynamic routes test for build
2 years ago
Evan You
c5f37188a1
warn missing paths export
2 years ago
Evan You
ef6ae56c95
feat: cache dynamic path loaders
2 years ago
Evan You
b075ee5be6
fix: dyamic routes w/ srcDir + relative imports
2 years ago
Evan You
24fa862c39
feat: dynamic routes
...
This commit completes the feature by adding HMR for dependencies of
path loader files.
Based on previous commits:
2582058, dea831f, 99693c6, c70ab70, bc99e5d
2 years ago
Evan You
5913ebc34f
fix: hmr on deps change of data loaders
2 years ago
Evan You
bccce98c62
fix: update route configs on file add / delete
2 years ago
Evan You
34b149ba25
wip: rewrites for dynamic routes
2 years ago
Evan You
24507105b1
fix: disable fuzzy link recognition by default
...
this is a bit aggressive and can conflict with Vue template expressions
2 years ago