Commit Graph

881 Commits (cd8abbe8b513956145ca63e8b913a39728045d78)

Author SHA1 Message Date
Aelita f52a2629a7
fix(theme): fix doc footer's prev and next's size difference (#2600)
2 years ago
Divyansh Singh d0e7374441 fix(theme): invalid html -- article inside span
2 years ago
烽宁 64d7c3ba54
feat(build): support custom `assetsDir` (#2497)
2 years ago
Divyansh Singh e02adfe3ea
fix(build): remove `=""` from boolean attributes in head (#2620)
2 years ago
Aelita 01120a51d6
fix(theme): fix sidebar's caret alignment issue with long text (#2599)
2 years ago
Divyansh Singh 71eb11f72e
fix(theme): fix theme without fonts emitting inter (#2588)
2 years ago
烽宁 9fee5542cb
feat(search): support `minisearch` customization (#2576)
2 years ago
keer-tea 1e1500141b
feat(theme): allow hiding navbar on specific pages via frontmatter (#2565)
2 years ago
Divyansh Singh a3df6171ab refactor: move onBeforePageLoad inside loadPage
2 years ago
bqy_fe 665f3b02f8
feat(client): add onBeforePageLoad hook for router (#2564)
2 years ago
Ciki Momogi fa3780f8ef
fix(theme): unresponsive back button with empty input in search box (#2566)
2 years ago
Mateu Llull 24abc7c6bd
feat(theme): allow customizing last updated date time format options (#2332)
2 years ago
Divyansh Singh e95015f598
fix(client): bypass client router for links explicitly specifying target (#2563)
2 years ago
烽宁 52cfbc3236
feat(theme): option to show icon for external links (#2501)
2 years ago
Divyansh Singh 00d94e9ee5
chore: simplify code
2 years ago
Divyansh Singh 6b98113a42
fix(client): don't throw on using special chars in element ids (#2560)
2 years ago
烽宁 c30e758585
fix(client): scroll not working on clicking an anchor in search box (#2527)
3 years ago
烽宁 c4909e4298
feat(theme): expose `useSidebar` (#2496)
3 years ago
Divyansh Singh 51661def8f
fix(theme): prevent glitch when algolia chunk is loaded (#2519)
3 years ago
丶远方 656df5c761
chore: replace Map by WeakMap (#2499)
3 years ago
Divyansh Singh a5475304fa feat(client): expose dataSymbol
3 years ago
Joaquín Sánchez 4ddb96fe50
feat(theme): add semantic markup to local search dialog (#2325)
3 years ago
donggua 29a9647ee9
feat(theme): allow prev/next links to be disabled globally (#2317)
3 years ago
Divyansh Singh 80e734d677 fix(search): detailed view not working when page contains script setup
3 years ago
Divyansh Singh d62e6f6dd6
perf(search): use dom apis instead of regex-based section parsing (#2486)
3 years ago
Agustin Banchio c995b9f61d
feat(theme): add custom label for social links (#2466)
3 years ago
Divyansh Singh 2bd55eca2e
fix(theme): properly show divider between navs (#2481)
3 years ago
btea 89b96ffa38
chore: remove invalid style (#2479)
3 years ago
zonemeen 199f392b58 refactor: simplify the import path
3 years ago
Azat S 62d1110848
fix(theme): use brand color in skip link in dark theme (#2431)
3 years ago
Divyansh Singh 0e962178ac chore: minor tweaks
3 years ago
烽宁 e7be720ede
perf(theme/search): prevent repeated rendering of same page (#2398)
3 years ago
Divyansh Singh c869ea64ae
fix(theme): use document !== undefined check for browser (#2417)
3 years ago
Divyansh Singh 06c0fc5d5c
fix(theme): adjust z-index for active code group marker (#2413)
3 years ago
翠 / green f364a5d1d3
fix(theme): support custom target and rel in navbar links for mobile (#2400)
3 years ago
烽宁 489681117f
fix(theme): missing global properties in localSearch (#2396)
3 years ago
烽宁 26f21d95df
fix(theme): make features section layout consistent (#2382)
3 years ago
烽宁 9a5735dd0e
refactor(theme): simplify the import (#2374)
3 years ago
烽宁 484ff5dd4b
fix: hmr when `base` is set (#2375)
3 years ago
Joaquín Sánchez d6c0985002
fix(a11y): mobile and theme switcher (#2354)
3 years ago
烽宁 af4bb52947
refactor: simplify `hasAside` computed property (#2356)
3 years ago
烽宁 b31933fbdd
fix(build): uniform handling of windows slash in localSearchPlugin (#2358)
3 years ago
Joaquín Sánchez 2f482afaab
feat(theme): add focus trap to local search dialog (#2324)
3 years ago
JD Solanki 35f8b89637
fix(theme): don't update opacity on hover (#2326)
3 years ago
Vinicius Teixeira Dias c20bd28331
feat(theme): open search box on pressing slash too (#2328)
3 years ago
Divyansh Singh 2afb1477be
style: don't wrap social links
3 years ago
Divyansh Singh f07587af8a fix(theme): hide local nav on home page
3 years ago
Christian Georgi b24acc6991
feat: add `filePath` to `PageData` (#2140)
3 years ago
Divyansh Singh d0f0012aea
feat(theme): support light shiki themes (#2319)
3 years ago
zRains 69c7646daf
fix(theme): vitepress data not properly injected in app when use localSearch (#2299)
3 years ago
Liberty f7443643a4
feat: allow using html in member description (#2269)
3 years ago
烽宁 2f0f2d5ac6
feat(search): support custom `disableQueryPersistence` in local search (#2273)
3 years ago
烽宁 25b9111222
feat(theme): mobile view show outline button after removing sidebar (#2274)
3 years ago
烽宁 6a195b68c0
chore: remove css file about nprogress (#2275)
3 years ago
lchzh3473 f3d3332fff
fix(router): scroll back to the hash anchor even if it is already selected (#2265)
3 years ago
Divyansh Singh 1f4920c60d fix(search): fix highlighting in detailed view
3 years ago
btea 1f5798e437
feat: outline link add title attribute (#2261)
3 years ago
Divyansh Singh 1769d329cc refactor: directly use first child instead of querying
3 years ago
烽宁 09be057ffb
fix(search): local search showDetailedList not working in windows (#2253)
3 years ago
烽宁 8354f8fb86
fix(theme): local search showDetailedList not working in windows (#2248)
3 years ago
Divyansh Singh 7c34f6a3d9 style: align search icon in box a bit
3 years ago
Divyansh Singh 1b0a249ad6 fix(search): esm interop mark.js import
3 years ago
ChuHoMan 144a7d8e4e
fix(search): avoid body scroll when using local search (#2236)
3 years ago
Divyansh Singh ca8db8adca fix(search): fix keyword highlighting and scrolling in excerpts
3 years ago
Anthony Fu b2077c7025
feat(search): make styling more configurable, align more with the theme (#2233)
3 years ago
Divyansh Singh 185213c6ba fix(search): remove double base on importing excepts
3 years ago
Divyansh Singh be8352441f
fix(search): better highlighting in detailed view (#2234)
3 years ago
Divyansh Singh 40f1d1b6f6 feat(search): allow force disabling detailed view
3 years ago
Divyansh Singh 6d5b4cd784 fix(search): show escape to close on footer
3 years ago
Divyansh Singh 4fd40d5f62 styles: tweak search icons a bit
3 years ago
Divyansh Singh 44498675ac fix(a11y): increase touch target size of search icons
3 years ago
烽宁 712a57fde7
fix(theme): fix color of blockquote in custom containers (#2173)
3 years ago
Divyansh Singh 6d363ec9ff fix(search): fix errors on empty titles
3 years ago
Divyansh Singh 7178a22c9d
fix(theme): fix top of scrollbar being unusable (#2224)
3 years ago
Divyansh Singh 25a1fe90bd fix(search): avoid double base
3 years ago
Liberty 4c24960433
feat: allow passing props and children/slots to defineClientComponent (#2198)
3 years ago
Leedom 8ee6b905f5
fix(theme): navbar style (#2202)
3 years ago
Divyansh Singh 713a35cbd0
feat!: organized search config (#2218)
3 years ago
Divyansh Singh 8059ec390a chore: rename offline search to local search
3 years ago
Divyansh Singh 609d447ab5 fix(search): properly resolve page link
3 years ago
Divyansh Singh e2951604fd fix(theme): fix meta key not showing on search button
3 years ago
Guillaume Chau 6c92675e33
feat: offline search (#2110)
3 years ago
Divyansh Singh 3a65db2453 chore: remove unused styles
3 years ago
btea 3f38715b5e
chore(theme): remove unused styles (#2167)
3 years ago
烽宁 51ecd580a2
fix(theme): fix color of table head row in custom containers (#2160)
3 years ago
John Campion Jr 9e3cf0fa7d
feat(theme): allow moving aside to left (#2138)
3 years ago
Divyansh Singh 0e45804bc9
chore: remove extra line
3 years ago
John Campion Jr 53d0099ffa
feat(theme): add `page-top/bottom` and `doc-top/bottom` slots (#2139)
3 years ago
CHOYSEN ff26ff1e66
fix(theme): hide outline dropdown scrollbar when it does not overflow (#2151)
3 years ago
Divyansh Singh e5bc1e1086 fix(theme): allow adding html as feature icons
3 years ago
Anthony Fu eac03f26e2
fix(theme): remove label background of code-group tabs (#2136)
3 years ago
Divyansh Singh 56a7d9aa74
fix(theme): use locale lang instead of navigator lang for last updated (#2118)
3 years ago
Divyansh Singh 42a0ef21c1
fix(theme): don't show outline when no header is there (#2117)
3 years ago
Divyansh Singh 83ce1b8c5e
fix(theme): properly align not found icon in algolia (#2116)
3 years ago
Divyansh Singh aecdeb9b21
fix(theme): fix aside position when footer is there (#2115)
3 years ago
Evan You 16064023cf chore: upgrade to TS 5.0 + use moduleResolution: "bundler"
3 years ago
0xRaiden ee6cda42d8
fix(theme): prevent code-groups conflict with shiki-twoslash (#2059)
3 years ago
Evan You 1f2f1ff43d fix: decode when query selecting current hash
3 years ago
Evan You 86e2a6f972 feat: support multiple selectors for scrollOffset
3 years ago
Evan You a6b18a8b9a feat(theme): add animation to mobile page outline dropdown
3 years ago
Evan You 81ae1c79cd fix(theme): improve Chinese font handling
3 years ago
Evan You 2ad668cd54 feat: defineClientComponent helper
3 years ago
Evan You 52b04f324c fix: handle async enhanceApp when extending themes
3 years ago
Evan You b0160bc261 fix(theme): move doc-footer-before slot into the footer
3 years ago
Evan You 5f3aac95c5 a11y: add hover underscore for main text links
3 years ago
Evan You 7b0f28915f fix: fix optional component imports from default theme
3 years ago
Evan You da1691d77e feat(theme): support extending default theme without importing fonts
3 years ago
Evan You b86988333b fix DocOutlineDropdown visible range
3 years ago
Alija Sabic 3aea38991c Add symbol for header anchor as CSS variable and rule using :before
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
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 9aafc88d59 fix: fix scroll to hash on new tab during dev
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 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 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 27e3adf8ed
fix(theme): align number to code line (#2044)
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 1457681484 fix: ensure HMR works properly for page outline
3 years ago
Evan You 7158932e27 docs: update home page
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
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
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
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
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 cf8ad1a291
fix(build): consider base when checking actual pathname (#1858)
3 years ago
Divyansh Singh 5ae4fbde38
feat: stable `cleanUrls` (#1852)
3 years ago
Divyansh Singh 3db532ed09
fix(theme): don't show border on navbar when sidebar is there (#1845)
3 years ago
Kia King Ishii c35a1f0fae
feat(theme): enable multi level sidebar nesting (#1360) (#1835)
3 years ago
Divyansh Singh 0f145cb3c6
fix: check document instead of window to detect browser (#1833)
3 years ago
Em Zhan 1553dbce8e
fix(router): avoid duplicate history entries (#1827)
3 years ago
Divyansh Singh 5d2fc3f922
feat(theme): allow removing badge text from outline (#1825)
3 years ago
Kia Ishii 39294e0a4e fix(theme): nav bg not being applied on some viewport
3 years ago
Kia Ishii bd36224b45 fix(theme): sidebar scrollbar is cropped by nav bar
3 years ago
CHOYSEN 48f0b01569
fix(theme): adjust the position of the curtain to avoid block sidebar (#1816)
3 years ago
Kia King Ishii 5c2eb1b3b0 fix(theme): spacing between aside sponsors and ads section is missing
3 years ago
Divyansh Singh 8de2f4499d
feat: add i18n feature (#1339)
3 years ago
Kia King Ishii 471f00a68d
feat(theme): refine overall styles (#1049) (#1790)
3 years ago
MarkusKeck 4314b57959
fix(theme): prevent vertical scrollbar on code group tabs (#1793) (#1805)
3 years ago
qiang 09c2c52d6c
feat: support for teleports to body (#1642)
3 years ago
sugar 48a42c19b1
fix(theme): wrap long words in `li` (#1782)
3 years ago
CHOYSEN 167a474cb8
fix(theme): add cursor for summary of custom block details (#1774)
3 years ago
Divyansh Singh 2a80fbd14a
fix(build): handle cleanUrls without trailing slash (#1772)
3 years ago
Satrong 0913e0fe69
fix(theme): `activeMatch` support regexp (#1754)
3 years ago
Divyansh Singh 01ac579187
feat: allow `enhanceApp` to return a `Promise` (#1760)
3 years ago
Matteo Bilotta 4ac8c0482f
types: strong separation between `import` and `import type` (#1756)
3 years ago
Divyansh Singh a642ea2526
fix(theme): adjust styles for diff indicator in code blocks (#1755)
3 years ago
Divyansh Singh 565ae711b9
fix(theme): adjust styles for copied button (#1751)
3 years ago
Divyansh Singh f6c5e1f098
fix(theme): prevent layout shift on carbon ads
3 years ago
Eduardo San Martin Morote 8db20fe022
fix(theme): refresh ads per page navigation (#1734)
3 years ago
Joaquín Sánchez 9df598f36e
feat(theme): allow adding images as icons in features section (#1738)
3 years ago
Gurkiran Singh e72998b68b
feat(theme): add `home-hero-image` slot (#1528)
3 years ago
Urata Daiki 257f9e68e9
perf(a11y): make menu traversable only when it is open (#1491)
3 years ago
Divyansh Singh 7a737845e5
feat(theme): add mastodon icon (#1736)
3 years ago
Igor Randjelovic 195d867ee9
fix: handle cleanUrls with subfolders when using a trailing slash (#1575)
3 years ago
Sam Estep ae21a3a622
feat(build): provide a `pathname://` protocol to escape SPA (#1719)
3 years ago
Divyansh Singh 1ebde6623e
fix(theme): remove experimental fonts (#1710)
3 years ago
Rami Yushuvaev 505a4f8eee
feat(theme): headings anchor should not be selectable (#1701)
3 years ago
Divyansh Singh a684b67ec0
feat: add code-group feature (#728) (#1560)
3 years ago
Giedo Donkers 4f0194f1dc
fix(theme): move background colors to theme-default style (#1347)
3 years ago
Shigma 8a488deac1
fix(theme): default to vertical align top on badges inside headings (#1584)
3 years ago
Divyansh Singh f4d5417930 fix(theme): ignore removed diff lines while copying code
3 years ago
Divyansh Singh cc91d555b5
fix(theme): typo in attribute name (#1597)
3 years ago
Marshall Thompson d410d4dd9f
feat(theme): sidebar nav slots (#1582)
3 years ago
Joaquín Sánchez 9d10b1d5a1
feat(theme): use v-html in VPDocFooter (#1580)
3 years ago
Divyansh Singh 124158e3a9
fix(theme): use faux italics only with web fonts (#1581)
3 years ago
jimmyxuexue 84b4abc5fa
feat(theme): add link feature in homepage features (#984) (#1404)
3 years ago
Sascha ac8619f841
feat(theme): add built-in global component `Badge` (#1239)
3 years ago
Q.Ben Zheng f36cd0d626
fix: remove shell code copy trailing newline (#1561)
3 years ago
Joaquín Sánchez db1c343dfb
feat(theme): sort multiple sidebars (#1552)
3 years ago
Divyansh Singh 87d6c085d6
fix: prevent overlay getting hidden behind navbar (#1547)
3 years ago
WT a7abf73e43
fix(theme): use stored preference to be the value of `userPreference` (#1543)
3 years ago
Divyansh Singh 63449caf4c
fix(banner): prevent hidden local nav on scroll
3 years ago
Divyansh Singh 028cc2c76e
fix(banner): broken layout on smaller viewports (#1536)
3 years ago
Enzo Innocenzi 04ab0eb6dc
feat: support focus, colored diffs, error highlights in code blocks (#1534)
3 years ago
ylw5 a29a4a62c6
feat(theme): add --vt-layout-top-height to adjust banner (#1521)
3 years ago
Divyansh Singh c9f04e0459
feat(build): add `useWebFonts` option (#1531)
3 years ago
Divyansh Singh d327811fd5
feat: expose isDark (#1525)
3 years ago
Enzo Innocenzi d404753005
feat(theme): allow defining dark as the default theme (#1498)
3 years ago
Divyansh Singh 57116607b8
fix(types): change ComponentOptions to DefineComponent (#1499)
3 years ago
josef 946c579f2b
feat(theme): support html strings for SidebarGroup headings, SidebarItem text (#1489)
3 years ago
Divyansh Singh 1de0069a53
fix(build): better align server and client side filename sanitization (#1488)
3 years ago
Divyansh Singh ead9b8c6f6
Revert "fix(build): better align server and client side filename sanitization" (#1484)
3 years ago
Divyansh Singh d38bf016af chore: adjust styles
3 years ago
Kevin Zuniga Cuellar 962065a46e
fix(theme): match switch background transition with page transition (#1479)
3 years ago
WT 3daabdc480
fix(theme): prevent body scrolling when sidebar has opened on small screens (#1391)
3 years ago
Urata Daiki 55688a87e3
feat(theme): allow specifying common alt for logo (#1451)
3 years ago
Divyansh Singh 41a519cc77 fix(build): remove leading underscore from chunks
3 years ago
Divyansh Singh 3fd20fedb8 fix(build): better align server and client side filename sanitization
3 years ago
yuhengshen 54cf6ce51f
fix(router): don't intercept download links (#1452)
3 years ago
Divyansh Singh 067e1a9743
fix(theme): disable transitions on theme toggle (#1447)
3 years ago
zz c5f309d0e9
chore(theme): remove useless style (#1440)
3 years ago
talkor 95e4f2acc9
fix(theme): make text prop of VPHero optional (#1445)
3 years ago
Divyansh Singh 2f23eb96ef
chore: update deps (#1410)
3 years ago
Andreas Deininger 1793b87163
docs: fix typos (#1408)
3 years ago
Divyansh Singh 2114d1326a
fix(theme): break long words on overflow (#1405)
3 years ago
Divyansh Singh 9d70ca56f1
revert: #1064
3 years ago
烽宁 6cb79bbe6a
fix(theme): remove extra space before docsearch key (#1396)
3 years ago
CHOYSEN ed37b9a0e0
fix(theme): add cursor for collapsible sidebar title (#1397)
3 years ago
Gurkiran Singh a621c6910c
fix(theme): always add alt attribute to images (#1348)
3 years ago
Divyansh Singh f1cf1e800f
fix(theme): remove trailing `#` from outline (#1344)
3 years ago
meedfine 4482c5019d
fix(theme): hide extra navbar when no content (#1338)
3 years ago
Divyansh Singh 5378a49613
revert(#1264): add page load progress bar (#1311)
3 years ago
Volker E d7eac980e1
fix(theme): use pointer cursor only on enabled buttons (#1300)
3 years ago
Divyansh Singh 6fac5b2964
fix(theme): use pointer-events auto instead of all (#1290)
3 years ago
gyhyfj 9c739fd37d
fix(theme): break long words (#1064)
3 years ago
Divyansh Singh 288aa48b92
feat(theme): support dynamic headers and nesting in outline (#1281)
3 years ago
Loyalsoldier 8d6a20d665
style(theme): refine font-family (#1162)
3 years ago
Divyansh Singh f840dbc58f
fix(theme): don't nest sidebar links (#1279)
3 years ago
Divyansh Singh 496bd34ff4
fix(theme): show progress bar after delay (#1278)
3 years ago
Divyansh Singh ee37eaa271
fix(types): allow non async `transformHtml` and `buildEnd` (#1270)
3 years ago
Divyansh Singh 8f630339ba
feat(theme): allow disabling whole layout (#1268)
3 years ago
wxsm ecf5515bd4
feat(theme): add page load progress bar (#1264)
3 years ago
Divyansh Singh 7e1d1ff8b9 chore: remove ts-ignore
3 years ago
Percy Ma eb9026d83c
perf(a11y): add aria-checked attribute to switch (#644)
3 years ago
Divyansh Singh 9a6e1ea401
feat: add `vp-raw` container (#1104)
3 years ago
灵谦 86413e6739
fix: prevent jumping on clicking docsearch action buttons (#1140)
3 years ago
Divyansh Singh 43c89d66c0 chore: fix typo
3 years ago
CHOYSEN bb11d0f178
fix(theme): keep display copied hint when click multiple times (#1262)
3 years ago
Evan You b5bd73f630 feat: use global delegation for copy code interaction
3 years ago
meteorlxy 71358ebce7
refactor: externalize markdown headers plugin (#1230)
3 years ago
Evan You 5fb794864b fix: avoid circular deps when extending default theme + importing feature components
3 years ago
Anton Reshetov e0932ce5f4
fix(theme): fix typo in carbon ads components (#1192)
3 years ago
Divyansh Singh da2f8d28a6
fix(theme): show footer message/copyright only if present (#1191)
3 years ago
Divyansh Singh 3714ea3463
fix(theme): show outline even without sidebar (#1189)
3 years ago
Divyansh Singh 0048e2bf1e
feat(build): switch to vite 3, support clean urls and esm mode (#856)
3 years ago
Divyansh Singh b36656a925
fix(theme): set pointer events all on VPNavScreen (#1182)
3 years ago
botue f6d6c62117
fix(theme): remove extra padding in code blocks with line numbers
3 years ago
Divyansh Singh 2c89afb7dd
fix(theme): restore styles for code blocks (#1170)
3 years ago
Curt Grimes 44953dcd1e
fix(theme): don't let navbar obstruct clicks to top part of scrollbar (#1168)
3 years ago
Divyansh Singh 4e4a21a0ee
test: fix failing test suite (#1166)
3 years ago
Roman Ondráček 4a6eda4870
fix(theme): fix custom NotFound component rendering (#1163)
3 years ago
Jinjiang e8cb73e065
refactor(build): replace the line highlighting logic with Shiki lineOptions (#1152)
3 years ago
Divyansh Singh 70da5f275b
fix(theme): hide doc footer if empty (#1126)
3 years ago
Divyansh Singh 55971659a5
fix: use `router.go` if search string is not same (#1109)
3 years ago
Charles7c 60c515c125
feat(theme): add `doc-footer-before` slot (#1050) (#1052)
3 years ago
ian f4f1a6ccd6
feat(theme): auto open collapsed sidebar on entering (#1094)
3 years ago
Divyansh Singh 63584c2812
fix: remove duplicate router logic (#1087)
3 years ago
Azat S fb9cee95b9
perf(a11y): change copy code span to button (#1056)
3 years ago
Divyansh Singh f789932ffc
feat(build): improve code blocks and snippets (#875)
3 years ago
YiZhi d1a2c76f33
feat(theme): support multi-level sidebar (#851)
3 years ago
Divyansh Singh 74e4950c1b
feat: allow adding custom social icons as inline svg (#738) (#953)
3 years ago
Divyansh Singh ad9af83278
feat: allow html in footer (#1034)
3 years ago
George Pogosyan 4b38736adf
fix(theme): typo in color name (#1020)
3 years ago
Li Kui 8a46413d6f
fix(theme): navbar menu may exceed the screen (#988) (#989)
3 years ago
Divyansh Singh 082694470a
fix: don't change url hash while scrolling (#991)
3 years ago
Divyansh Singh d65667b8d4
fix(theme): prevent docsearch button key from changing (#986)
3 years ago
Joaquín Sánchez 69ef2998c3
feat(theme): support hiding aside component from frontmatter (#980)
3 years ago
Divyansh Singh e4c60ab3c8
fix: remove explicit noopener from external links (#871)
3 years ago
Divyansh Singh f7e9cfeb3a
fix: de-duplicate head tags while merging (#975) (#976)
3 years ago
云游君 65ec9d740b
chore: remove repeated css property (#974)
3 years ago
fi3ework 98e45af127
fix: can't detect that the page has scrolled to the bottom (#956) (#970)
3 years ago
Divyansh Singh 7a9e4d9ee0
fix: line highlighting in custom code block (#959) (#969)
3 years ago
Kaz d91f3b1b7d
fix(theme): tweak styles of nav title (#962) (#968)
3 years ago
Divyansh Singh 30249dc2c3 fix: regression caused by #887
3 years ago
Divyansh Singh 22006e8d6e
fix: decode href before using as query selector (#951)
3 years ago
Divyansh Singh 1e9a7ac6c4
fix: treat all URI schemes as external (#945) (#946)
3 years ago
Sacha STAFYNIAK 0f0453c675
feat(theme): add navigation slots (#739) (#741)
3 years ago
ML 481a6e9cbd
chore: fix typo (#924)
3 years ago
Divyansh Singh bed68f1341
fix: normalize link in VPButton (#919)
3 years ago
Divyansh Singh 836a24683a
feat(theme): custom prev/next labels and text (#897)
3 years ago
灵谦 fcd7642924
fix(theme): close menu on route change (#887)
3 years ago
rainkolwa 25a835f0f4
fix(theme): make last updated time reactive (#879)
4 years ago
Joaquín Sánchez e33955e769
fix(theme): change sponsor link class name to bypass adblock (#866) (#867)
4 years ago
rainkolwa 00fe8092d9
feat(theme): add option to customize search button text (#713) (#747)
4 years ago
Kia King Ishii 2bd960d5f5 fix(theme): home image style is broken for big view port
4 years ago
Kia King Ishii 7cfe0f05ab
feat(theme): add team page feature (#828)
4 years ago