Hichem Fantar
d2840dc100
Merge branch 'main' into scroll-to-top
8 months ago
Yuxuan Zhang
544cd81259
feat(theme)!: add `isHome` frontmatter option ( #4673 )
...
BREAKING CHANGE: `useLocalNav` and `useSidebar` are removed in favor of `useLayout`. To migrate, just do find and replace. Sidebar controls are no longer exported, but I didn't find any usage on GitHub. If there is demand, we can export respective composables later. `DefaultTheme.DocSidebar` and `DefaultTheme.DocLocalNav` types are also removed.
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Co-authored-by: userquin <userquin@gmail.com>
8 months ago
Yuxuan Zhang
0267dcafa2
feat(theme): make "Take me home" button's link customizable ( #4658 )
8 months ago
Divyansh Singh
db58af5c66
fix!: don't remove shiki styles from `pre` and remove unnecessary transformers ( #4652 )
...
BREAKING CHANGE: `vp-adaptive-theme` class is no longer added to code blocks when there is single theme. Theme authors supporting single code theme can use `.shiki:not(.shiki-themes)` as selector. Alternatively, it might be better to use the bg/fg variables set on the `.shiki` block to keep things generic.
BREAKING CHANGE: `vp-code` class is no longer added to code blocks. Use `.shiki` or `pre.shiki` or `[class*='language-'] pre` instead.
People not customizing their themes are not affected. But if you see weird stuff, you know what to change.
8 months ago
GabrielxD
7d94481920
fix(theme-default): ensure proper sizing of SVG hero images ( #4639 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
9 months ago
Divyansh Singh
a62ea6a832
feat: dynamic routes plugin overhaul ( #4525 )
...
BREAKING CHANGES: Internals are modified a bit to better support vite 6 and handle HMR more correctly. For most users this won't need any change on their side.
9 months ago
Bjorn Lu
d1f2afdf0f
fix: set correct oldURL and newURL for hashchange ( #4573 )
10 months ago
Will Hack
5dccaeef05
fix(theme): code block contrast ratio ( #4487 )
10 months ago
Divyansh Singh
6031dbcdb7
chore: bump deps
10 months ago
Ebrahim Fallah
091d5840ae
fix(theme): allow interactions behind scroll shadow ( #4537 )
10 months ago
Hichem Fantar
68346228cf
Update VPDocAsideOutline.vue
10 months ago
Hichem Fantar
d79ad28175
feat: update font weight for back-to-top button in VPDocAsideOutline component
10 months ago
Hichem Fantar
3a99e66077
feat: enhance back-to-top button styling in VPDocAsideOutline component
10 months ago
Hichem Fantar
30e8c5feab
feat: add scroll to top button in VPDocAsideOutline component
10 months ago
Divyansh Singh
23d3281ed6
feat: support same page navigation in router.go ( #4511 )
10 months ago
Divyansh Singh
e0350275b3
fix: temporary fix for docsearch navigation
11 months ago
Evan You
8214cae21b
fix: fix static content removal for lean chunks due to Vue 3.5 changes ( #4508 )
11 months ago
Divyansh Singh
37dbe895d4
fix(theme): broken hero heading in certain viewports
11 months ago
Divyansh Singh
36bde803c8
chore: maintenance and cleanup
11 months ago
Divyansh Singh
096bba19fb
fix(theme): don't show external link icon for images
11 months ago
Leo
fe48943640
fix(theme): apply `externalLinkIcon` option on `VPHome` ( #4492 )
11 months ago
Florian Sattler
6442e17483
feat(theme): expose VPFeatures ( #4356 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
11 months ago
Divyansh Singh
23522ab83f
feat(theme): export VPNavBarSearch
...
closes #4476
11 months ago
Leo
bd896c638f
fix(theme): includes text to h1 tag for hero page ( #4472 )
...
closes #4453
11 months ago
Divyansh Singh
8ea776addc
fix: respect vite.clearScreen in build
...
- rename router.onAfterRouteChanged to router.onAfterRouteChange to align with naming conventions
- always pass normalized href to router.onAfterRouteChanged
closes #4468
11 months ago
Divyansh Singh
241d17d983
fix: out of order css in prod builds
...
closes #4098
11 months ago
Amirhossein Alibakhshi
a3f994b71e
docs: add Persian language ( #4089 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
12 months ago
Divyansh Singh
ff254dcbe6
feat(theme): allow customizing skip to content label
...
closes #4288
1 year ago
Divyansh Singh
18858f7dec
chore: simplify code
1 year ago
Divyansh Singh
183261753b
fix(theme): ignore footnote-ref for outline
...
closes #4402
1 year ago
Divyansh Singh
05f2f0d261
feat: on demand social icons ( #4339 )
1 year ago
Sun .P.M
81fc148198
style(theme): do not copy `lang` when copying text ( #4316 )
...
style(theme/vp-doc): let lang unselectable.
1 year ago
Typed SIGTERM
bd690d6a9b
feat(theme): don't escape `siteTitle` ( #4308 )
1 year ago
Divyansh Singh
b8935502fb
fix: remove explicit chinese fonts
...
these are already handled by `sans-serif`
PingFang SC is used on macOS
Noto Sans CJK is used on Ubuntu
Microsoft YaHei is used on Windows
follow up on #4286
1 year ago
Jungzl
668e9f7050
fix(theme): remove some explicit Chinese fonts ( #4286 )
1 year ago
Divyansh Singh
e638d855cf
fix(theme/a11y): don't select search result unless mouse is actually moved
...
closes #4297
1 year ago
Divyansh Singh
b96712c074
fix: reapply #4260
1 year ago
Divyansh Singh
ef703cf9c7
Revert "fix(theme): bind missing no icon prop in the menu link component ( #4260 )"
...
This reverts commit d4712c17c5 .
1 year ago
Dusan Vuckovic
d4712c17c5
fix(theme): bind missing no icon prop in the menu link component ( #4260 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Gunther Konig
92b92aefca
fix(theme): improve local search input a11y ( #4066 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
461a5b001d
fix(client): wrong script async check
1 year ago
Mike Bostock
3e8fc40c36
fix(client): use `usePreferredDark` with `appearance: "force-auto"` ( #4263 )
1 year ago
Divyansh Singh
1628918f30
fix: remove font synthesis in webfont mode, google fonts now support italic axis in inter
1 year ago
北雁云依
68150a6f33
fix(theme): change the order of CSS rules of `VPFlyout` ( #4225 )
...
close #4224
1 year ago
Riley Ho
9c5d348c03
fix(theme): respect custom tag prop in VPButton component ( #4185 )
1 year ago
Peter
615e33bb24
feat(theme): expose theme default VPLink & VPSocialLink(s) component ( #4178 )
1 year ago
LJY
315c220049
feat(client): add `onAfterPageLoad` hook in router ( #4126 )
1 year ago
Divyansh Singh
3e11b6abf5
feat: allow ignoring certain headers and their subtrees completely in outline
...
closes #4171
1 year ago
Divyansh Singh
0db269a4c5
feat: trigger `onContentUpdated` on frontmatter-only changes too
1 year ago
Evan You
2bda116850
chore: include node types for client
1 year ago