zonemeen
199f392b58
refactor: simplify the import path
2 years ago
Azat S
62d1110848
fix(theme): use brand color in skip link in dark theme ( #2431 )
2 years ago
Alex
64b06db3ec
feat(cli): add shortcut for restarting server ( #2403 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
93f8a05ad2
chore: use graceful-fs and bump deps ( #2429 )
2 years ago
烽宁
6d7d195adc
perf: parallelize mpa chunks copy ( #2389 )
2 years ago
Divyansh Singh
0e962178ac
chore: minor tweaks
2 years ago
烽宁
e7be720ede
perf(theme/search): prevent repeated rendering of same page ( #2398 )
2 years ago
Divyansh Singh
c869ea64ae
fix(theme): use document !== undefined check for browser ( #2417 )
...
localStorage is defined on server in Deno
2 years ago
Divyansh Singh
06c0fc5d5c
fix(theme): adjust z-index for active code group marker ( #2413 )
2 years ago
翠 / green
f364a5d1d3
fix(theme): support custom target and rel in navbar links for mobile ( #2400 )
2 years ago
烽宁
489681117f
fix(theme): missing global properties in localSearch ( #2396 )
2 years ago
烽宁
8153f23c90
fix(config): set scrollOffset to 0 is not effect ( #2395 )
2 years ago
烽宁
26f21d95df
fix(theme): make features section layout consistent ( #2382 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
烽宁
9a5735dd0e
refactor(theme): simplify the import ( #2374 )
2 years ago
烽宁
484ff5dd4b
fix: hmr when `base` is set ( #2375 )
2 years ago
Joaquín Sánchez
d6c0985002
fix(a11y): mobile and theme switcher ( #2354 )
2 years ago
三咲智子 Kevin Deng
97065cefc2
feat(cli): add shortcuts ( #2353 )
2 years ago
烽宁
af4bb52947
refactor: simplify `hasAside` computed property ( #2356 )
2 years ago
烽宁
b31933fbdd
fix(build): uniform handling of windows slash in localSearchPlugin ( #2358 )
2 years ago
Joaquín Sánchez
2f482afaab
feat(theme): add focus trap to local search dialog ( #2324 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
JD Solanki
35f8b89637
fix(theme): don't update opacity on hover ( #2326 )
2 years ago
Vinicius Teixeira Dias
c20bd28331
feat(theme): open search box on pressing slash too ( #2328 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
烽宁
f4cd0aeb69
refactor: resolve duplicate function definitions ( #2350 )
2 years ago
Divyansh Singh
2afb1477be
style: don't wrap social links
2 years ago
Divyansh Singh
f07587af8a
fix(theme): hide local nav on home page
...
fixes #2312
Co-authored-by: zonemeen <994718917@qq.com>
2 years ago
Christian Georgi
b24acc6991
feat: add `filePath` to `PageData` ( #2140 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
d0f0012aea
feat(theme): support light shiki themes ( #2319 )
...
BREAKING CHANGE: Styling for code blocks might break, especially if you were earlier overriding it for light theme. Those workarounds are no longer required. VitePress will now show code blocks and groups in light mode too if a light shiki theme is specified.
2 years ago
Divyansh Singh
64ecedc73f
fix(cli/init): remove trailing slash from npm scripts
2 years ago
Joaquín Sánchez
a3b38d1882
feat(build): allow using `@` prefix with `@include:` ( #2292 )
2 years ago
Divyansh Singh
ae041448aa
refactor: improve error message on encountering dead links
...
fixes #2281
closes #2307
closes #2314
Co-authored-by: jd-solanki <jdsolanki0001@gmail.com>
Co-authored-by: Christian Georgi <christian.georgi@sap.com>
2 years ago
Divyansh Singh
188893c2c1
fix(build): reset regex lastIndex before testing
2 years ago
Joaquín Sánchez
a647cd3843
feat: preserve user log level ( #2310 )
2 years ago
烽宁
494c634eb1
fix(theme): local search get 404 on build when use route rewrites in windows ( #2301 )
2 years ago
zRains
69c7646daf
fix(theme): vitepress data not properly injected in app when use localSearch ( #2299 )
2 years ago
Divyansh Singh
84cf45772e
fix(build): allow data-loaders files in packages to be found ( closes #2272 )
...
Co-authored-by: John Campion Jr <john@brightshore.com>
2 years ago
Liberty
f7443643a4
feat: allow using html in member description ( #2269 )
2 years ago
烽宁
2f0f2d5ac6
feat(search): support custom `disableQueryPersistence` in local search ( #2273 )
2 years ago
烽宁
25b9111222
feat(theme): mobile view show outline button after removing sidebar ( #2274 )
2 years ago
烽宁
6a195b68c0
chore: remove css file about nprogress ( #2275 )
2 years ago
btea
87d309c088
refactor: resolve circular dependency ( #2283 )
2 years ago
lchzh3473
f3d3332fff
fix(router): scroll back to the hash anchor even if it is already selected ( #2265 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
1f4920c60d
fix(search): fix highlighting in detailed view
...
mark.js ships dist as IIFE which causes lot of issues, but is also has its source available in the package which is _almost_ ESM, so directly using it and locking the version to avoid any issues due to internal changes
2 years ago
btea
1f5798e437
feat: outline link add title attribute ( #2261 )
2 years ago
Divyansh Singh
1769d329cc
refactor: directly use first child instead of querying
2 years ago
烽宁
09be057ffb
fix(search): local search showDetailedList not working in windows ( #2253 )
2 years ago
烽宁
8354f8fb86
fix(theme): local search showDetailedList not working in windows ( #2248 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
e37e5cb45a
fix(search): ready event is not fired on mac
2 years ago
Divyansh Singh
3e0e9d2b27
fix(search): don't directly access userConfig
2 years ago
Divyansh Singh
7c34f6a3d9
style: align search icon in box a bit
2 years ago
Divyansh Singh
b1c956ce99
fix(search): properly group nested headings
...
fixes #2238
2 years ago