Commit Graph

1211 Commits (09e48db355f530c7a138437004659b61239f4b75)

Author SHA1 Message Date
fan1312 c0ce7f723e
feat: support for customizing the starting line number in a code block (#2917)
1 year ago
烽宁 a60f079f99
fix(theme): dropdown menu partially hidden by the homepage footer when it is too long (#2904)
1 year ago
Divyansh Singh 8b76167ccf fix: respect attrs on custom containers
1 year ago
Divyansh Singh a18d5447f2 fix: temp workaround for broken navigation from 404 to home
1 year ago
Divyansh Singh d40eb1903b
feat: skip rendering if env.BUNDLE_ONLY is truthy (#2890)
1 year ago
Divyansh Singh 0088434895
fix(theme): prevent layout shift in search button key (#2889)
1 year ago
Divyansh Singh 18adc07117 fix(theme): search button key misplaced on safari
1 year ago
Divyansh Singh 195ebe9464 fix(init): missing mts extension on windows
1 year ago
skirtle 20f9770268
fix(theme): improve contrast of search highlight text (#2887)
1 year ago
Colin McDonnell 83270fe657
feat: detect bun package manager (#2874)
1 year ago
Divyansh Singh 40da45d038 chore: move init terminal output to separate file
1 year ago
skirtle 39784ca55f
fix(theme): link hover color inside a custom block (#2876)
1 year ago
Divyansh Singh 1705c179df chore: vite no longer emits assets on ssr by default
1 year ago
Divyansh Singh 8aa032f60c fix: resolve snippets from original file path - align with include behavior
1 year ago
Divyansh Singh 4f01f1a09c feat: allow overriding mdit-vue/component options
1 year ago
Divyansh Singh 21b4f8caad fix: pseudo styles being removed with postcssIsolateStyles
1 year ago
Divyansh Singh 6be5a7e830
revert: "fix: createContentLoader generates invalid url when sets `base`" (#2865)
1 year ago
Divyansh Singh 47068ff0c5
revert: "perf: extract social icons as plugin to avoid unused icons" (#2861)
1 year ago
skirtle 74fcb60fb4
fix(theme): revert 79 to 179 in yellow-soft (#2858)
1 year ago
Divyansh Singh db17df336e chore!: bump deps (#2852)
1 year ago
Divyansh Singh a5f2eacf22 feat(theme): allow providing custom `toggle-appearance` function (#2844)
1 year ago
Divyansh Singh e477cdfd2f feat(theme): allow setting rel and target on sidebar links
1 year ago
Divyansh Singh 3992202404 docs: add themeConfig.outline, drop themeConfig.outlineTitle
1 year ago
Divyansh Singh 9a062a6dd6
feat(theme): allow overriding last updated time in doc footer from frontmatter (#2848)
1 year ago
Divyansh Singh e8ef1aaabe
feat(theme): allow overriding code copied text from css (#2833)
1 year ago
丶远方 ff86c73175
refactor: defining default values for Props using withDefaults. (#2498)
1 year ago
Divyansh Singh 5836facc61
chore!: drop pathname protocol (#2823)
1 year ago
Divyansh Singh 5ced0cca83 fix(theme): show only one carbon ad at a time
1 year ago
Damien Guard 00dc1e6742
feat: allow customizing markdown renderer used for local search indexing (#2770)
1 year ago
Divyansh Singh e8edd0a05f fix(theme): ssr issues on deno
1 year ago
Kia King Ishii e4f5c51bbe
feat(theme): improve color system (#2797)
1 year ago
Divyansh Singh 9499953386
refactor: drop custom logic in favor of vueuse useDark (#2818)
1 year ago
Divyansh Singh 3c736c1c95 feat: export postcssIsolateStyles for vp-raw
1 year ago
Divyansh Singh 13343c91d9 chore!: change shiki defaults
1 year ago
Kleis Auke Wolthuizen f242140c47
feat(theme): export VPImage (#2814)
1 year ago
Divyansh Singh 41ab96a269
refactor: drop body-scroll-lock in favor of vueuse useScrollLock (#2809)
1 year ago
烽宁 51715336ac
refactor: delete the redundant `provide` code (#2804)
1 year ago
Divyansh Singh 33962e04eb fix(theme): prevent sidebar re-render unless there is actual change
1 year ago
awkweb 6960ec1cf6
feat(theme): export VPButton and VPSponsors (#2767)
1 year ago
btea b388b0a8c1
fix(cli/init): print the correct packageManager (#2787)
1 year ago
btea 4d9d977519
fix(cli/init): terminal message has not enough contrast (#2786)
1 year ago
Divyansh Singh e0be677554
fix: restart server on theme creation/deletion (#2785)
1 year ago
Divyansh Singh 1bda710702
fix(build): respect preserveSymlinks (#2780)
1 year ago
Divyansh Singh 0c8cf0df89
perf: extract social icons as plugin to avoid unused icons (#2768)
1 year ago
Divyansh Singh fc5092fb65 fix(a11y/theme): disable transitions if user prefers reduced motion
1 year ago
Divyansh Singh 436e99a594 fix(theme): docsearch variables not applying properly on ios beta
1 year ago
Divyansh Singh 23d751165f fix(cli): generate mjs file on init if type: module is not present
1 year ago
Lehoczky Zoltán 819eb515d0
docs: add root path to gitignore suggestion (#2488)
1 year ago
沈青川 c9d465587a
fix(theme): language menu undefined text (#2755)
1 year ago
Divyansh Singh 9a4ee07260
fix(theme): fix sidebar collapsing and restore base property (#2753)
1 year ago
Divyansh Singh 2fe8f60681 revert(theme): revert 'allow setting base path in sidebar items'
1 year ago
Kia King Ishii c0d838bda0
feat(theme)!: final re-brand (#2727)
1 year ago
Divyansh Singh 1d6254b615
fix(theme): dont show transparent navbar other than home (#2742)
1 year ago
Divyansh Singh b2f671ab3b
chore(build)!: drop node 16 support (#2744)
1 year ago
Divyansh Singh 9df8adb53e
chore(build)!: drop cjs api (#2737)
1 year ago
Divyansh Singh 1bed154612
feat(build): allow overriding vite config loading (#2750)
1 year ago
Divyansh Singh 0f421d7222 fix(build): nested rewrites not working properly
1 year ago
Divyansh Singh 481a5e3cb5 fix: fix sitemap path resolution
1 year ago
Divyansh Singh 20b509c6e1 feat(client): allow customizing scrollOffset padding
1 year ago
Divyansh Singh e8ebf1b048 fix(theme): outline marker flicks when navigating towards above
1 year ago
Divyansh Singh 81e7405e19 fix(theme): hide outline marker on scroll to top
1 year ago
Divyansh Singh f4a5c43cb0 feat(theme): allow adding custom layouts
1 year ago
Divyansh Singh a8cf88b54a chore: use defineOptions
1 year ago
Divyansh Singh 93823a8566 fix(theme): respect feature icon dimensions set from frontmatter
1 year ago
Divyansh Singh d31051a051 fix(theme): align max-width media queries
1 year ago
Divyansh Singh c6c983ed73
fix(client): handle empty hash in links (#2738)
1 year ago
zuixinwang e54eea3da0
fix(theme): close dropdown menus after an item is clicked (#2380)
1 year ago
Divyansh Singh 063b0e520a fix(theme): override docsearch button bg
1 year ago
Divyansh Singh 3840eaae16
fix(theme): update sidebar active link status on hash change (#2736)
1 year ago
Divyansh Singh 1a6efbae8e fix(theme): scroll code group tab into view on selection
1 year ago
Divyansh Singh 039798a8c1 fix(theme): don't reset scroll position on changing tab in code groups
1 year ago
Divyansh Singh 2a7422bbbf feat(theme): allow overriding logo link
1 year ago
Divyansh Singh 09a4fdc9b8 feat(theme): allow customizing prev/next text from config file
1 year ago
Divyansh Singh 69251b7484 feat(theme): allow passing html in nav links
1 year ago
Divyansh Singh 52884d9d4b
feat(theme): allow setting base path in sidebar items (#2734)
1 year ago
Divyansh Singh b55b529f23
refactor: use stringified `deserializeFunctions` util (#2733)
1 year ago
Divyansh Singh e3f8fc7972 fix(theme): allow using h1 headings in outline
1 year ago
Divyansh Singh ce85726c12 feat(build): add `markdown.preConfig` option
1 year ago
Divyansh Singh f0d308288c
chore: bump deps (#2724)
1 year ago
Bjorn Lu 3f79f4bb6e
refactor: use rollup type from vite (#2723)
1 year ago
Divyansh Singh 4af597582c feat(search): allow enabling detailed view by default
1 year ago
Divyansh Singh 1179484432 feat(client): allow overriding props on Content
1 year ago
Divyansh Singh d7e225473b feat(theme): allow customizing default theme's 404 page
1 year ago
Divyansh Singh 17378c064f fix(build): make outDir from cli work properly
1 year ago
Divyansh Singh a56d608bec
revert: #2689 (#2722)
1 year ago
Divyansh Singh 7f0c18e013
feat: allow html blocks inside code groups (#2719)
1 year ago
烽宁 0f38eb4404
fix: `createContentLoader` generates invalid url when `base` is set (#2714)
1 year ago
Divyansh Singh 7778187f2d
feat: i18n with sitemap (#2708)
1 year ago
烽宁 6fc88a5cce
fix: remove index.html when using createContentLoader (#2693)
1 year ago
Mike Bostock 5d18fd8978
feat: rel for feature links (#2704)
1 year ago
Mike Bostock 60dd0a474b
fix: respect empty rel and target (#2705)
1 year ago
烽宁 77c1b4d3cd
fix(style): incorrect header anchor icon position with multline headers (#2694)
1 year ago
烽宁 2ae90a2343
feat(theme): support custom page class (#2696)
1 year ago
烽宁 13f94a6663
feat(build): custom excerpt for `createContentLoader` (#2698)
1 year ago
Divyansh Singh 68f25f5a9c
fix(build): duplicate description tags with transformHead (#2702)
1 year ago
Divyansh Singh b39b4912af
fix(theme): code group tab divider not showing full-width (#2701)
1 year ago
Divyansh Singh 5563695b15
feat: sitemap generation (#2691)
1 year ago
Divyansh Singh b61f36d853
fix(build): use vue dev build when DEBUG is truthy (#2689)
1 year ago
Divyansh Singh 51f28bfac9 fix(theme): fix feature component always generating anchor tags
1 year ago
烽宁 74d9ba27b5
fix(build): `createContentLoader` generates invalid url when `srcDir` is set (#2578)
1 year ago
Divyansh Singh fb048a6f72
fix(search): add useFocusTrap and mark.js to optimizeDeps (#2682)
1 year ago
烽宁 d015cddb30
chore(vite): support define replacement without removing double quotes (#2677)
1 year ago
Divyansh Singh 0cf6b0208c
chore: tweak subpixel max-width
1 year ago
Divyansh Singh ceedb68d3b
fix(theme): two outlines at 1280px
1 year ago
bqy_fe e79a13eb42
feat(theme): support footer frontmatter config (#2574)
1 year ago
Jérémy Riverain 37d5b273fb
feat(search): allow excluding content from search results (#2602)
1 year ago
烽宁 94e2966bab
feat(build): support overriding meta viewport tag (#2642)
1 year ago
Aelita 8ff431a6bc
fix(theme): code block style is broken inside custom block (#2664)
1 year ago
烽宁 3912951bad
fix(theme): respect `--vp-nav-height` in local nav calculations (#2663)
1 year ago
烽宁 730226c029
style(theme): restore the external link icon color from previous version (#2571)
1 year ago
Mathieu POUSSE cfa870f060
fix(theme): support missing meta description tag (#2639)
1 year ago
Aelita c2e79aa583
feat(theme): make navbar logo's height customizable by css variable (#2644)
1 year ago
Divyansh Singh f3a459708d fix(theme): don't show external link icon on social links
1 year ago
Divyansh Singh b199885b9b fix: invalid css
1 year ago
Divyansh Singh ec6bfbd5a3 revert(#2622): to fix hmr
1 year ago
Divyansh Singh 08c4bacac5
fix(compat): disable stdin-discarder (#2640)
1 year ago
烽宁 ec7643dc13
feat(theme): allow using html text in VPHero (#2635)
1 year ago
Aelita f52a2629a7
fix(theme): fix doc footer's prev and next's size difference (#2600)
1 year ago
Divyansh Singh d0e7374441 fix(theme): invalid html -- article inside span
1 year ago
Divyansh Singh 700fad192e
feat(build): add `metaChunk` option to extract metadata to separate chunk (#2626)
1 year ago
烽宁 64d7c3ba54
feat(build): support custom `assetsDir` (#2497)
1 year ago
Divyansh Singh 2c25855986
fix(build): use vue dev build when DEBUG is truthy (#2622)
1 year ago
Divyansh Singh e02adfe3ea
fix(build): remove `=""` from boolean attributes in head (#2620)
1 year ago
烽宁 9949f00461
fix(build): cannot handle file name containing single quote (#2615)
1 year ago
Divyansh Singh 47bf5bf991
fix(lastUpdated): use author date instead of commit date (#2618)
1 year ago
Aelita 01120a51d6
fix(theme): fix sidebar's caret alignment issue with long text (#2599)
1 year ago
Divyansh Singh 71eb11f72e
fix(theme): fix theme without fonts emitting inter (#2588)
1 year ago
烽宁 9fee5542cb
feat(search): support `minisearch` customization (#2576)
1 year ago
Divyansh Singh e8074e60ec fix(build): resolve nested md inclusions properly
1 year ago
Divyansh Singh f60b32f02f
fix(hmr): allow disabling md cache during dev (#2581)
1 year ago
烽宁 d5ccc52048
refactor: optimize snippet markdown plugin code (#2580)
1 year ago
Divyansh Singh 32d65d40c5
perf: fix race conditions with cache (#2579)
1 year ago
keer-tea 1e1500141b
feat(theme): allow hiding navbar on specific pages via frontmatter (#2565)
1 year ago
Divyansh Singh a3df6171ab refactor: move onBeforePageLoad inside loadPage
1 year ago
bqy_fe 665f3b02f8
feat(client): add onBeforePageLoad hook for router (#2564)
1 year ago
Ciki Momogi fa3780f8ef
fix(theme): unresponsive back button with empty input in search box (#2566)
1 year ago
Mateu Llull 24abc7c6bd
feat(theme): allow customizing last updated date time format options (#2332)
1 year ago
Divyansh Singh e95015f598
fix(client): bypass client router for links explicitly specifying target (#2563)
1 year ago
烽宁 52cfbc3236
feat(theme): option to show icon for external links (#2501)
1 year ago
Divyansh Singh 00d94e9ee5
chore: simplify code
1 year ago
Divyansh Singh 6b98113a42
fix(client): don't throw on using special chars in element ids (#2560)
1 year ago
烽宁 1ef33fe1c4
feat: support selecting line range when importing md file (#2502)
1 year ago
Jeff Tian 0c4210bb5e
feat(build): support nested markdown includes (#2545)
1 year ago
烽宁 c30e758585
fix(client): scroll not working on clicking an anchor in search box (#2527)
1 year ago
Divyansh Singh b2a129f49b
fix(build): add `@vue/devtools-api` to `optimizeDeps.include` (#2543)
1 year ago
烽宁 c4909e4298
feat(theme): expose `useSidebar` (#2496)
1 year ago
Divyansh Singh cd03db803d
revert!: sync defineConfig types with vite (#2529)
1 year ago
Divyansh Singh 51661def8f
fix(theme): prevent glitch when algolia chunk is loaded (#2519)
1 year ago
丶远方 656df5c761
chore: replace Map by WeakMap (#2499)
1 year ago
Divyansh Singh a5475304fa feat(client): expose dataSymbol
1 year ago