Commit Graph

612 Commits (a62ea6a832a33b756642b24ad5d38c248e08b554)

Author SHA1 Message Date
Divyansh Singh 9e04b43567 fix(search): remove extra /index from routes
3 years ago
ChuHoMan 7dfe9d2d43
refactor: directly use site.base instead of userConfig.base (#2223)
3 years ago
Divyansh Singh 25a1fe90bd fix(search): avoid double base
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
Guillaume Chau 6c92675e33
feat: offline search (#2110)
3 years ago
Divyansh Singh a681fd11e3
fix(build): remove extra line at end of code blocks (#2191)
3 years ago
John Campion Jr 3714741b40 feat(build): provide `siteConfig` in `transformPageData` context (#2163)
3 years ago
Christian Georgi 4c23003189
fix(build): make `lastUpdated` work with git submodules (#2149)
3 years ago
Anthony Fu 3235c23313
feat: more flexible `ignoreDeadLinks` (#2135)
3 years ago
Christian Georgi 3553f015a9
fix: make md includes work with rewrites (#1898)
3 years ago
徐聪 a78d3a83b9
chore: fix typo (#2125)
3 years ago
Divyansh Singh 7678a89358
revert: 456099a
3 years ago
Alois Klink ac953ce8bd
fix(build): skip warning for `txt` language (#2109)
3 years ago
Divyansh Singh 456099a527
test: restore tests for init command
3 years ago
Evan You 86e2a6f972 feat: support multiple selectors for scrollOffset
3 years ago
Evan You 24735dbcde perf(theme): preload font
3 years ago
Evan You 32dfaf5adc fix(types): allow void return in transformHead hook
3 years ago
Evan You 2bf8df4bae BREAKING CHANGE: markdown.headers is now disabled by default
3 years ago
Evan You 468c049ccd feat: expose page and assets on build hooks TransformContext
3 years ago
Alija Sabic 3355fcc1df Provide accessible markdown-it-anchor configuration using ZeroWidthSpace (HTML Entity) and custom renderAttrs
3 years ago
Alija Sabic 9a315d8855 Revert "Provide accessible markdown-it-anchor configuration"
3 years ago
Alija Sabic 86259682c8 Provide accessible markdown-it-anchor configuration
3 years ago
Evan You 3b6a6d1abd feat(theme): a11y improvements
3 years ago
Evan You 2f26693a1d fix: do not include head tags in inlined site data
3 years ago
Evan You 470ce3d3f3 fix: gracefully handle config update with syntax error
3 years ago
Evan You d64a76eb36 perf: kickoff main chunk fetch earlier in browsers without modulepreload support
3 years ago
Evan You 22ace7b075 perf: inline site data on page
3 years ago
Evan You bed202dbcc fix: fix chunking logic that causes breakage
3 years ago
Evan You d2838e3755 feat: createContentLoader
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
Evan You 9bd940f22c fix: remove @vue/devtools from force include
3 years ago
Evan You 9708510cbd fix: fix line higlighting for empty lines
3 years ago
Evan You 6ce88da3ba fix: fix rewrites with non ascii chars
3 years ago
Evan You e05a3f2b5a fix: fix same page hash links with encoded chars
3 years ago
Evan You 868a9ff81e feat: allow disabling markdown.headers
3 years ago
Evan You 63f33d2895 fix: respect user vue alias
3 years ago
Evan You f6cb4c0d44 perf: improve default theme chunking
3 years ago
Divyansh Singh 8b5181446d chore: bump deps
3 years ago
CHOYSEN bed31d0c21
refactor: only compile rewrite rules once (#2018)
3 years ago
Evan You 76097048f3 feat: export loadEnv from vite
3 years ago
Evan You 4673bb1879 feat(data-loader): defineLoader() type helper
3 years ago
Evan You e29b6a051e feat(data-loader): pass watched files into load()
3 years ago
Evan You 580a8e1a55 fix: extract all headers by default
3 years ago
Evan You 0c0b6cc5a3 fix: avoid deprecation warning when using --force
3 years ago
Evan You 22047f3363 fix: respect command line minify and outDir options
3 years ago
Evan You 49bcc254dc docs: rewrite getting started + init tips
3 years ago
Evan You 38bbdaddb7
feat: vitepress init command (#2020)
3 years ago
Evan You 8e8fcd9caa fix: normalize all paths in config
3 years ago
Evan You 8c9833ceba test: fix dynamic routes test for build
3 years ago
Evan You c5f37188a1 warn missing paths export
3 years ago
Evan You ef6ae56c95 feat: cache dynamic path loaders
3 years ago
Evan You b075ee5be6 fix: dyamic routes w/ srcDir + relative imports
3 years ago
Evan You 24fa862c39 feat: dynamic routes
3 years ago
Evan You 5913ebc34f fix: hmr on deps change of data loaders
3 years ago
Evan You bccce98c62 fix: update route configs on file add / delete
3 years ago
Evan You 34b149ba25 wip: rewrites for dynamic routes
3 years ago
Evan You 24507105b1 fix: disable fuzzy link recognition by default
3 years ago
Evan You 80fb3b0e98 wip: prod build for dynamic routes
3 years ago
Evan You d6952f37b7 wip: hmr for dynamic routes on add/delete
3 years ago
Evan You 08df389db8 wip: basic hmr for dynamic routes
3 years ago
Evan You 9c4c2117a6 wip: dynamic routes
3 years ago
Juan Martín Seery 5a6d384952
feat(build): add support for custom languages (#1837)
3 years ago
gittig11 fd995906f6
fix(compat): remove use of array.at
3 years ago
Divyansh Singh c4d8d7225c
fix(build): show error stack in logs (#1960)
3 years ago
Divyansh Singh 5c9b75e325
fix(types): augment vite user config (#1946)
3 years ago
Alexey Iskhakov bcb8cbf3c8
fix: custom titles of code snippets inside code groups (#1834)
3 years ago
CHOYSEN a00bb62143
feat(build): use vite logger (#1899)
3 years ago
Juan Martín Seery dcf29419f2
fix(build): prepend base to all internal non-relative links (#1908)
3 years ago
Q.Ben Zheng f9743816a5
feat(shiki): support `ansi` code highlight (#1878)
3 years ago
Divyansh Singh a05956f38a fix(build): hmr with rewrites when base is set
3 years ago
Divyansh Singh 08e07d643d
chore: bump deps (#1853)
3 years ago
Divyansh Singh 5ae4fbde38
feat: stable `cleanUrls` (#1852)
3 years ago
Divyansh Singh 00abac6116
feat(build): support rewrites (#1798)
3 years ago
Divyansh Singh 05430e45c9
feat(build): expose vitepress site config to vite plugins (#1822)
3 years ago
Divyansh Singh fe52fa3420
feat(build): allow ignoring only localhost dead links (#1821)
3 years ago
Divyansh Singh 8de2f4499d
feat: add i18n feature (#1339)
3 years ago
qiang 09c2c52d6c
feat: support for teleports to body (#1642)
3 years ago
Divyansh Singh 99ad162fb7 fix(build): don't warn on blank lang in fences
3 years ago
Clark Cui 1ae0596939
feat(build): don't hard fail on unknown languages in fences (#1750)
3 years ago
Divyansh Singh 3b7ff8d66e
feat(build): support interpolation inside code blocks (#1759)
3 years ago
Matteo Bilotta 4ac8c0482f
types: strong separation between `import` and `import type` (#1756)
3 years ago
0x009922 7de7fff417
fix(build): dedent of a single-line region (#1687)
3 years ago
Divyansh Singh ce9467e389
fix(build): handle `-` in title of code blocks with line highlighting (#1743)
3 years ago
Divyansh Singh c048076370
feat(build): fence-level config for line-numbers (#1733)
3 years ago
Sanjaiyan Parthipan bf1315ace6
perf: preload css to improve loading speed
3 years ago
xinconan f40df31947
feat(build): allow specifying default language for syntax highlighter (#1296)
3 years ago
Sam Estep ae21a3a622
feat(build): provide a `pathname://` protocol to escape SPA (#1719)
3 years ago
Divyansh Singh 135b797cfb
fix(build): fix code groups for line numbers mode (#1700)
3 years ago
Divyansh Singh a684b67ec0
feat: add code-group feature (#728) (#1560)
3 years ago
Shigma f899764bad
feat(build): support `cacheDir` (#1355)
3 years ago
Sam Chen 4c5a892d77
perf(a11y): add aria-hidden to line numbers wrapper (#1675)
3 years ago
Stephen Zhou 0565c38fc1
fix(build): allow importing files having numbers in extension (#1618)
3 years ago
Divyansh Singh 4ba33dac60
feat(build): add preview as an alias for serve in cli (#1651)
3 years ago
Divyansh Singh dc596621cf
fix(build): allow serving files in dev from workspace root (#1647)
3 years ago
Divyansh Singh 8601e1596b
fix(build): explicitly specify asset and entry file names (#1607)
3 years ago
Divyansh Singh ae3ba243b1
tests: refactor (#1587)
3 years ago
Azat S 7955760972
types: improve coverage (#1585)
3 years ago
Divyansh Singh 01719fa58e
revert(#1530): explicitly exit process after build to prevent hangup (#1572)
3 years ago
Divyansh Singh 4b0b1ef35f
fix(build): use addClass from shiki-processor (#1557)
3 years ago
Divyansh Singh 8cd1f7c4aa
fix(build): use default slugify from mdit-vue (#1554)
3 years ago
Divyansh Singh 178895f067
fix: properly apply dark/light classes in code blocks (#1546)
3 years ago
Enzo Innocenzi 04ab0eb6dc
feat: support focus, colored diffs, error highlights in code blocks (#1534)
3 years ago
Divyansh Singh c9f04e0459
feat(build): add `useWebFonts` option (#1531)
3 years ago
YongGit 09fcc46079
fix(build): explicitly exit process after build to prevent hangup (#1530)
3 years ago
Igor Randjelovic afeb06f17c
feat: transformPageData hook (#1492)
3 years ago
Enzo Innocenzi d404753005
feat(theme): allow defining dark as the default theme (#1498)
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 3fd20fedb8 fix(build): better align server and client side filename sanitization
3 years ago
Divyansh Singh 18f0fb4e39
revert: "fix(build): remove leading underscore from chunks" (#1471)
3 years ago
Joaquín Sánchez f79bb78bf7
fix(a11y): add title to copy code button (#1437)
3 years ago
Divyansh Singh 2f23eb96ef
chore: update deps (#1410)
3 years ago
Divyansh Singh 66cd1640d1
fix(build): remove leading underscore from chunks (#1394)
3 years ago
Divyansh Singh fa6fa56af9
fix(compat): use default export of dns module (#1388)
3 years ago
Divyansh Singh ce8d139a8e
feat(build): allow using `transformIndexHtml` (#1380)
3 years ago
sun0day 9c04a10c4d
fix(build): line numbers mode when language specifier has symbol (#1353)
3 years ago
Divyansh Singh 0672a696a4
fix(build): properly resolve node_modules (#1337)
3 years ago
Joaquín Sánchez 6b16dad22f
feat: add `transformHead` hook (#1323)
3 years ago
Sanjaiyan Parthipan 8e4ff4de90
perf: render pages asynchronously (#1320)
3 years ago
Joaquín Sánchez 1aa3456125
docs: add `transformHtml` and `buildEnd` hooks (#1317)
3 years ago
Divyansh Singh ee37eaa271
fix(types): allow non async `transformHtml` and `buildEnd` (#1270)
3 years ago
Divyansh Singh 9a6e1ea401
feat: add `vp-raw` container (#1104)
3 years ago
Divyansh Singh 12591a9487
feat: bundle type definitions of dev-deps (#1257)
3 years ago
meteorlxy 45743cb2e3
refactor: remove non-standard markdown-it extensions (#1240)
3 years ago
meteorlxy d700a66e65
feat: support markdown sfc options (#1238)
3 years ago
meteorlxy 19c0f43daa
refactor: use markdown title plugin and remove parseHeader utils (#1235)
3 years ago
meteorlxy 71358ebce7
refactor: externalize markdown headers plugin (#1230)
3 years ago
meteorlxy bfb0220989
feat(build): support markdown frontmatter options (#1218)
3 years ago
Divyansh Singh 0e14211b60
fix: use junctions in Windows (#1217)
3 years ago
meteorlxy 0664006e92
refactor: migrate markdown toc plugin (#1093) (#1207)
3 years ago
Evan You 8b6aef7844 chore: remove console log
3 years ago
meteorlxy 8a2d4f39e4
refactor: externalize markdown component plugin (#843)
3 years ago
Evan You 04c4d0f01b fix: fix client build entry
3 years ago
Evan You 64462dc985 chore: remove log [ci skip]
3 years ago
Evan You 19ec22cb40 fix: fix static data file support in vite 3
3 years ago
Divyansh Singh 0048e2bf1e
feat(build): switch to vite 3, support clean urls and esm mode (#856)
3 years ago
Evan You 35b7361ca2 fix: support urls with query during dev
3 years ago
Divyansh Singh 120736fec1
chore: make recreateServer optional (#1165)
3 years ago
Jinjiang e8cb73e065
refactor(build): replace the line highlighting logic with Shiki lineOptions (#1152)
3 years ago
Divyansh Singh 93fe8207e7
fix(build): recreate server on config change (#1132)
3 years ago
Divyansh Singh 708c36183a
fix(build): update language regex for line number class (#1108)
3 years ago
CHOYSEN 8e6665bd8d
feat(build): handle change of config file dependencies (#1009)
3 years ago
Divyansh Singh f9d2799be8
refactor: use available DT packages instead of manually defining modules (#1096)
3 years ago
Azat S fb9cee95b9
perf(a11y): change copy code span to button (#1056)
3 years ago
xinconan 867f305886
feat(build): support code highlight in uppercase (#1082)
3 years ago
Divyansh Singh f789932ffc
feat(build): improve code blocks and snippets (#875)
3 years ago
Divyansh Singh 72950337bc
fix: don't add base to external urls while preloading (#1045)
3 years ago
Divyansh Singh 2b4b800618
feat: provide `transformHtml` hook (#1022)
3 years ago
Luka Skugor f6d5697ed7
fix(build): strip custom anchor with capital letters in outline (#1005)
3 years ago
Azat S d5ed66c6d2
feat: allow using custom syntax highlighting themes (#992)
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
Divyansh Singh 0257ea88dc
fix: layout inconsistencies and remove sidebar from 404 page (#964)
3 years ago
Joaquín Sánchez e0b730aa8e
feat: provide build end hook (#709)
3 years ago
fi3ework 1daeaa16a0
fix(build): cache key should consider file path (#948)
3 years ago
Divyansh Singh bb41a9fed7
fix: decode image src so that rollup can process it (#933)
3 years ago
Eulier González 95a74e58a4
docs: add including markdown content to guide (#938)
3 years ago
meteorlxy e7960f4b6b
refactor: reuse original markdown-it renderer rule (#932)
3 years ago
CHOYSEN 4b9b385aff
refactor: simplify config loading (#918)
3 years ago
meteorlxy 9d9db6227d
fix(build): handle vite constants replacement (#419) (#888)
3 years ago
JounQin 29d44e7a22
fix(build): show workaround on encountering dead links (#822) (#868)
4 years ago
Divyansh Singh 19b0758a04
feat(build): allow ignoring dead links (#586) (#793)
4 years ago
Enzo Notario ddf876d8e9
feat(build): allow using custom highlighter (#754) (#857)
4 years ago
Divyansh Singh 378f9b4695 chore: format
4 years ago
JounQin 295263807d
feat(build): allow setting base from command line
4 years ago
Shinigami 75ca9e4302
fix(theme): copy button has wrong tag closing syntax (#816)
4 years ago
CHOYSEN 35772ca8d0
refactor(types): use built-in utility type `Awaited` (#801)
4 years ago
meteorlxy 48fae52d17
refactor: improve site data parsing (#780)
4 years ago
meteorlxy 753f35bf7c
refactor: improve page data parsing (#778)
4 years ago
Divyansh Singh c5c3c64851
fix: title in containers not working with markdown content (#765) (#768)
4 years ago
Divyansh Singh 23276bae05
feat: emit 404.html on build (#729) (#740)
4 years ago
artiely 521601d20b
chore: typo (#783)
4 years ago
CHOYSEN 8bf4182453
refactor: add `PageDataPayload` type (#742)
4 years ago
Divyansh Singh 0ac7ac1a6e
chore: remove unnecessary head tags (#725)
4 years ago
Divyansh Singh 59df10590b
fix: allow lang='ts' on scripts in markdown (#693) (#701)
4 years ago
Divyansh Singh 78a2e84e7b
fix: add default value for base in `createMarkdownRenderer` (#555) (#556)
4 years ago
Brad Veryard 3a07048533
fix: missing alt attribute on images even if provided (#679) (#685)
4 years ago
Anthony Fu 41247fcfa0
feat: support dark/light color themes (#682)
4 years ago
Divyansh Singh 4fd2fad1fa
fix: explicitly set component name (#657) (#681)
4 years ago
Divyansh Singh ae7c255aea
fix: toc cause error when used with heading (#605) (#674)
4 years ago
Divyansh Singh d93b477c76
fix: convert paths in dynamic imports to file urls (#671) (#673)
4 years ago
Kia King Ishii b853910c32 style: format
4 years ago
Divyansh Singh d0fdda6904
fix: more than 4 indented html tags cause error (#638) (#665)
4 years ago
Divyansh Singh b79c66d79c
feat: allow disabling `markdown-it-attrs` (#662) (#664)
4 years ago
Anthony Fu a0f81c9f9d
feat: migrate to ESM (#645) (#659)
4 years ago
Divyansh Singh 7d89b61b92
fix: switch to `markdown-it-toc-done-right` (#388) (#660)
4 years ago
Divyansh Singh 6028cacb81
feat: add copy code element (#473) (#658)
4 years ago
Ryo_gk 1fcf4a4462
feat: use shiki instead of prismjs for syntax highlight (#627) (#654)
4 years ago
Kia King Ishii 36a67bd67d feat: add carbon ads feature (#647)
4 years ago
Kia King Ishii e51d2a8c49 feat: add custom container stylings
4 years ago
Kia King Ishii 67e77f7871 feat: add option to customize title template
4 years ago
Kia Ishii 9250460b3f feat: make appearance configurable
4 years ago
Dominic Elm 1656f0365a
fix(plugin): set content-type header for serving index.html (#616)
4 years ago
Divyansh Singh 33a59cd029
docs: update links (#523)
4 years ago
Fabian Winkler 779b78902f
fix: avoid minimizing non-javascript inline scripts (#517)
4 years ago
Divyansh Singh 9270477fa5
fix: normalize relative img src (#514)
4 years ago
Divyansh Singh 34d1542f46
fix: don't add .html to urls of non-html files (#515)
4 years ago
Divyansh Singh 804954cf4d
fix: append base to links (#502)
4 years ago
Evan You 1ef69e212f feat: improve default chunk strategy + page hash stability
4 years ago
Evan You 23249483d6 feat: automatically update hash map + retry on failed page fetch
4 years ago
Evan You d32d8d4419 feat: use git-based lastUpdated data
4 years ago
Evan You 17aaaf0180 refactor tsconfig setup + migrate to vitest
4 years ago
Evan You 7f9295261f remove unused alias
4 years ago
Evan You b66785d68a feat: scrollOffset option
4 years ago
Divyansh Singh 88d57a93ef
fix: allow overriding title if home is true (#493)
4 years ago
Evan You dfbc932fac fix: set __data in md.render
4 years ago
Evan You 9b3243b757 fix: prioritize vue installed in user project root
4 years ago
Evan You 8288168b4f adjust type exports
4 years ago
Evan You 6f3a96f06d perf: do not include head config in client bundle for production
4 years ago
Evan You 6120da25a8 feat: properly remove custom anchor in headers
4 years ago
Evan You 294b1d2817 refactor: make MarkdowRenderer type compatible with MarkdownIt
4 years ago
Evan You a4b7758a00 chore: tweak temp dir name
4 years ago
Evan You 4cec660401 feat: expose __path and __relativePath on md instance for md plugins
4 years ago
Evan You 7387649ff7 feat: catch localhost links as dead links
4 years ago
Gordon Smith 08a0b12992
fix(serve): respect base config in serve mode (#470)
4 years ago
Jeff Yang a8f147f153
feat: add details custom container (#455)
4 years ago
Bryan Müller 5b04bb9eb5
feat: user configurable `outDir` (#448)
4 years ago
Jeff Yang fb6a4ad3e0
fix: remove `.` for mjs in `supportedConfigExtensions` (#447)
4 years ago
Jonas bd35451ed4
fix: set tempDir outside package root (#439)
4 years ago
fuchunhui ae029ae9e1
fix: Chinese file link build failed (#425)
4 years ago
ULIVZ ba41bb9055
feat: improve typescript support for config file (#465)
4 years ago
Evan You e61db62a1c feat: minify head inline scripts
4 years ago
Evan You e721d60585 feat: shouldPreload hook
4 years ago
Evan You f5308d746f feat: support array of patterns in data loaders
4 years ago
Evan You 6ca3c97ab9 fix duplicated preload directive
4 years ago
Evan You 26fe81c886 feat: support static data loaders
4 years ago
Evan You d54c7d8c56 feat: expose createMarkdownRenderer
4 years ago
Evan You dfa7c0525f fix: handle potential string quote mismatch in generated code
4 years ago
Evan You bc486aae56 fix: static string strip regex for mulitiline static strings
4 years ago
Evan You abb1b578cd fix: improve createStaticVNode match for rollup codegen compat
4 years ago
Evan You a051e66f1a fix: lazy require @vitejs/plugin-vue to respect NODE_ENV
4 years ago
Evan You 4114674c69 fix(hmr): avoid relying on revertd vite hmr behavior
4 years ago
Evan You 773472d867 chore: remove unnecessary log
4 years ago
Evan You d3b1521ebe feat: support ts/esm config file + defineConfig() helper
4 years ago
Evan You 4c042b61e7 fix: fix code line hightlighting
4 years ago
宋铄运 (Alan Song) 4b76617621
fix: support vite plugins provided via `config.vite` (#394)
4 years ago
Evan You df69b76427 fix: print urls again
4 years ago
Evan You ba85fd4d51 chore: cleanup deps
4 years ago
CHOYSEN 58663bbd02
fix: make config hmr work in window (#364)
4 years ago
Anthony Fu 49ddb1f120
workflow: switch to pnpm (#401)
4 years ago
Evan You 3940625121 fix: encode urls that conflict w/ vite built-in replacements
4 years ago
Evan You b3a4c52191 refactor: fix bad requires
4 years ago
Evan You 475dee5154 build: pre-bundle, reduce deps
4 years ago
Evan You 9030486409 feat: upgrade vue, simplify deps
4 years ago
Evan You b59f54abd0 chore: remove debug hash log
4 years ago
QiChang Li 610e9b7111
feat: use `markdown-it-attrs` for markdown-it plugins (#393)
4 years ago
Evan You 929bcf50ee fix: ensure stable pages entry order across builds
4 years ago
Evan You e0b69973f8 feat: support `<script client>` in mpa mode
4 years ago
Evan You b94b163a3a feat: map mode + remove deprecated options
4 years ago
Evan You 6085501acb chore: remove customData option
4 years ago
Evan You f749b272d4 feat: support config.extends
4 years ago
Evan You 2e9264f032 fix: improve fs allow
4 years ago
Evan You e01b5a350c chore: typo
4 years ago
Sam Pullman 80ff36066e
fix: include emoji text in nav link to match toc (#284)
4 years ago
Eduardo San Martin Morote 26b5aa931f
feat: upgrade markdown-it-anchor (#350)
4 years ago
Eduardo San Martin Morote 9b9fdc710a fix: allow vite server access to theme and local files
4 years ago
Eduardo San Martin Morote bc78adb468
fix(i18n): fix locales reading, add site.langs (#353)
4 years ago
Eduardo San Martin Morote 858c0e77a0
build: rename carbon and buysell chunks (#370)
4 years ago
Evan You 7b3a9e59b4 feat: support partial include directive
4 years ago
Evan You e74c5f06d1 feat: support function config
4 years ago
Evan You 4925fb5c29 feat: info custom container
4 years ago
Eduardo San Martin Morote 4a34b93090 refactor: reuse regexp
4 years ago
Eduardo San Martin Morote 7b501293da chore: up deps
4 years ago
FangYing aa9f9094b5
chore: remove log (#331)
4 years ago
Evan You 3cec536c1f fix: automatically escape vite user defined variables in markdown
5 years ago
Evan You e6bb5a4806 perf: only update necessary head tags in prod
5 years ago
Evan You 348f19a537 fix: watch config file when using srcDir
5 years ago
Evan You eefba398b0 fix: force optimize vue to avoid duplication when linked
5 years ago
Evan You fbcb07eaab chore: remove unused arg
5 years ago
Evan You f5d0e1881c chore: deprecation warnings
5 years ago
Evan You aaf4910d93 feat: support srcDir config option
5 years ago
Evan You 3737b1055d feat: support passing vite config in vitepress config file via `vite` option
5 years ago
Evan You 5733fc625e perf: avoid double resolve user config on startup
5 years ago
Evan You 55de7ab43c refactor: adjust shared utility/types build setup
5 years ago
Han(ハン) 71a5e1c2a2
feat: exclude option (#281)
5 years ago
Anthony Fu 9f1b2b1ae2 chore: update deps
5 years ago
Máximo Mussini e651f977d6
feat: Render titles for social sharing and improve home page sharing (#263)
5 years ago
云游君 3aa185fa9f
fix: detect public folder for dead link (#290)
5 years ago
Domantas fa469fd275
fix: build fails without css chunks (#209) (#239)
5 years ago
Babu Annamalai d1a62e1c66
feat: import code snippet with region (#237) (#238)
5 years ago
meteorlxy cee0b400d9
refactor: remove extra condition (#261)
5 years ago
Eduardo San Martin Morote 9bc5c5c631 style: format code with prettier
5 years ago
Evan You 74f5adafcd feat: detect dead links
5 years ago
Evan You c0aa5a8fae deps: bump vite + update alias usage
5 years ago
hcg1023 2aa8ab26e2
fix: `@` alias for import code snippet being always `undefined` (#204)
5 years ago
Kia King Ishii 72e116c2db style: adjust import order a bit
5 years ago
Christopher Shank 5b34c6a94a
feat: add vue options config (expose @vitejs/plugin-vue) (#215)
5 years ago
Kia King Ishii b82d8f2ece
fix: utf-8 character not working on safari in dev mode (#228)
5 years ago
NAN 8a0db65a8a
fix: render document with standards mode in dev (#207)
5 years ago
Matias Capeletto 338e8453d8
fix: frontmatter description duplication (#194) (#170)
5 years ago
Kia King Ishii 0b5b306f85
fix: `base` option not working on dev mode (#223)
5 years ago
Domantas 1026a20488
dx: replace . with / at the end of served url (#210)
5 years ago
Evan You 8e0b8d184a chore: exclude docsearch from optimization
5 years ago
Evan You 8cfdd1912d fix: update base option usage
5 years ago
Łukasz Romanowicz 51906043d3
fix: support symbolic links in building docs dist (#184) (#185)
5 years ago
Evan You b4bdaf648d refactor: vite ssr compat
5 years ago
Evan You b9fc0cb78d perf: generate preload directives for dynamicImport chunks too
5 years ago
Evan You a79e1e1916 refactor: move default theme to 'vitepress/theme'
5 years ago