Divyansh Singh
f07587af8a
fix(theme): hide local nav on home page
...
fixes #2312
Co-authored-by: zonemeen <994718917@qq.com>
1 year ago
Christian Georgi
b24acc6991
feat: add `filePath` to `PageData` ( #2140 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year 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.
1 year ago
李鹏坤-执手对影成双
3b3bfea94c
docs: add head `<script>` example ( #2264 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
64ecedc73f
fix(cli/init): remove trailing slash from npm scripts
1 year ago
Joaquín Sánchez
a3b38d1882
feat(build): allow using `@` prefix with `@include:` ( #2292 )
1 year ago
Divyansh Singh
67443cebb7
ci: add node 20 to matrix
1 year 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>
1 year ago
Divyansh Singh
e36101c9ec
chore: bump deps
1 year ago
Divyansh Singh
188893c2c1
fix(build): reset regex lastIndex before testing
1 year ago
Joaquín Sánchez
a647cd3843
feat: preserve user log level ( #2310 )
1 year ago
Divyansh Singh
0073a7d8a2
chore: update bug report format
1 year ago
烽宁
494c634eb1
fix(theme): local search get 404 on build when use route rewrites in windows ( #2301 )
1 year ago
zRains
69c7646daf
fix(theme): vitepress data not properly injected in app when use localSearch ( #2299 )
1 year ago
Divyansh Singh
1610b88daf
release: v1.0.0-alpha.74
1 year ago
Divyansh Singh
a644ff8523
chore: bump deps
1 year 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>
1 year ago
Liberty
f7443643a4
feat: allow using html in member description ( #2269 )
1 year ago
烽宁
2f0f2d5ac6
feat(search): support custom `disableQueryPersistence` in local search ( #2273 )
1 year ago
烽宁
25b9111222
feat(theme): mobile view show outline button after removing sidebar ( #2274 )
1 year ago
烽宁
6a195b68c0
chore: remove css file about nprogress ( #2275 )
1 year ago
btea
87d309c088
refactor: resolve circular dependency ( #2283 )
1 year 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>
1 year ago
Divyansh Singh
6421eda558
release: v1.0.0-alpha.73
1 year ago
Divyansh Singh
3a76e6239b
chore: bump deps and update lockfile
1 year 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
1 year ago
btea
1f5798e437
feat: outline link add title attribute ( #2261 )
1 year ago
Divyansh Singh
1769d329cc
refactor: directly use first child instead of querying
1 year ago
烽宁
09be057ffb
fix(search): local search showDetailedList not working in windows ( #2253 )
1 year ago
Divyansh Singh
1e9b925c75
release: v1.0.0-alpha.72
1 year ago
烽宁
8354f8fb86
fix(theme): local search showDetailedList not working in windows ( #2248 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
e91e0f91b2
chore: bump deps
1 year ago
Divyansh Singh
e37e5cb45a
fix(search): ready event is not fired on mac
1 year ago
Azat S
67f1f912d9
chore: remove koa types ( #2241 )
1 year ago
Divyansh Singh
732c67b68d
docs: update note on using search in dev mode
1 year ago
Divyansh Singh
3e0e9d2b27
fix(search): don't directly access userConfig
1 year ago
Divyansh Singh
7c34f6a3d9
style: align search icon in box a bit
1 year ago
Divyansh Singh
993d496fea
release: v1.0.0-alpha.71
1 year ago
Divyansh Singh
b1c956ce99
fix(search): properly group nested headings
...
fixes #2238
1 year ago
Divyansh Singh
17558db76b
docs: add message about search in dev mode ( #2239 )
1 year ago
Divyansh Singh
1b0a249ad6
fix(search): esm interop mark.js import
1 year ago
Divyansh Singh
a33d09fa4e
release: v1.0.0-alpha.70
1 year ago
Divyansh Singh
19ce8e5dd6
chore: bump deps
1 year ago
ChuHoMan
144a7d8e4e
fix(search): avoid body scroll when using local search ( #2236 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
ca8db8adca
fix(search): fix keyword highlighting and scrolling in excerpts
1 year ago
Anthony Fu
b2077c7025
feat(search): make styling more configurable, align more with the theme ( #2233 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
185213c6ba
fix(search): remove double base on importing excepts
...
fixes #2230
1 year ago
Divyansh Singh
be8352441f
fix(search): better highlighting in detailed view ( #2234 )
1 year ago
Divyansh Singh
40f1d1b6f6
feat(search): allow force disabling detailed view
1 year ago
ChuHoMan
fe1f58b700
docs: fix wording in text regarding enabling local search ( #2229 )
1 year ago