Commit Graph

528 Commits (ccc37bb80e4147b9ab91b0f5d7dfae9d51533460)

Author SHA1 Message Date
烽宁 64d7c3ba54
feat(build): support custom `assetsDir` (#2497)
1 year ago
Divyansh Singh e02adfe3ea
fix(build): remove `=""` from boolean attributes in head (#2620)
1 year ago
Joaquín Sánchez 789dc16bb1
docs: add Vitest, UnoCSS, VitePWA and Iconify to use cases (#2601)
1 year ago
烽宁 66189c3f43
docs: add `d3` to the use cases (#2589)
1 year ago
烽宁 9fee5542cb
feat(search): support `minisearch` customization (#2576)
2 years ago
烽宁 a99dcf9443
fix(types): export duplicate type `Sidebar` (#2573)
2 years ago
bqy_fe 665f3b02f8
feat(client): add onBeforePageLoad hook for router (#2564)
2 years ago
cayter a6de3ef548
docs: fix github actions permissions (#2568)
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
bqy_fe 03855dd0cf
docs: add ComponentInHeader import (#2562)
2 years ago
烽宁 52cfbc3236
feat(theme): option to show icon for external links (#2501)
2 years ago
烽宁 1ef33fe1c4
feat: support selecting line range when importing md file (#2502)
2 years ago
Vamshi krishna 47c06bda38
docs: update setup command to use pnpm dlx (#2558)
2 years ago
Jeff Tian 0c4210bb5e
feat(build): support nested markdown includes (#2545)
2 years ago
Divyansh Singh b2a129f49b
fix(build): add `@vue/devtools-api` to `optimizeDeps.include` (#2543)
2 years ago
烽宁 c4909e4298
feat(theme): expose `useSidebar` (#2496)
2 years ago
Pavel Horal 5013835f51
docs: fix typo in dynamic routing example (#2515)
2 years ago
Divyansh Singh aac149c69b docs: ignore `search-insights` warning
2 years ago
donggua 29a9647ee9
feat(theme): allow prev/next links to be disabled globally (#2317)
2 years ago
CHOYSEN 90478b36cd
feat(build): support relative path for code snippet (#1894)
2 years ago
Agustin Banchio c995b9f61d
feat(theme): add custom label for social links (#2466)
2 years ago
William Sedlacek a336fb3130
docs: fix typo (#2359)
2 years ago
Jellyfish e14d35c382
docs: fix typo (#2360)
2 years ago
engvuchen 58795d2f93
docs: add warning about using block elements in footer config (#2341)
2 years ago
Christian Georgi b24acc6991
feat: add `filePath` to `PageData` (#2140)
2 years ago
李鹏坤-执手对影成双 3b3bfea94c
docs: add head `<script>` example (#2264)
2 years ago
Joaquín Sánchez a3b38d1882
feat(build): allow using `@` prefix with `@include:` (#2292)
2 years ago
Divyansh Singh e37e5cb45a fix(search): ready event is not fired on mac
2 years ago
Divyansh Singh 732c67b68d docs: update note on using search in dev mode
2 years ago
Divyansh Singh 17558db76b
docs: add message about search in dev mode (#2239)
2 years ago
ChuHoMan fe1f58b700
docs: fix wording in text regarding enabling local search (#2229)
2 years ago
vanchKong 3cc93182bb
docs: fix typo (#2226)
2 years ago
Divyansh Singh 77db39be2e
docs: add note on syntax highlighting with moustaches in fences
2 years ago
Liberty 4c24960433
feat: allow passing props and children/slots to defineClientComponent (#2198)
2 years ago
Divyansh Singh 50697ebfba docs: fix layout shift in search page
2 years ago
Divyansh Singh 713a35cbd0
feat!: organized search config (#2218)
2 years ago
Divyansh Singh 8059ec390a chore: rename offline search to local search
2 years ago
Divyansh Singh 536174912b docs: update heading anchor
2 years ago
Divyansh Singh 0a387dda82 chore: enable algolia on main site
2 years ago
Guillaume Chau 6c92675e33
feat: offline search (#2110)
2 years ago
Adam Gąsowski 6acda7a6b3
docs: fix typo (#2204)
2 years ago
烽宁 399aeea7d0
docs: fix typo (#2184)
2 years ago
John Campion Jr 3714741b40 feat(build): provide `siteConfig` in `transformPageData` context (#2163)
2 years ago
Divyansh Singh 2791bf0887
docs: directly use svg in features section (#2161)
2 years ago
John Campion Jr 9e3cf0fa7d
feat(theme): allow moving aside to left (#2138)
2 years ago
John Campion Jr 53d0099ffa
feat(theme): add `page-top/bottom` and `doc-top/bottom` slots (#2139)
2 years ago
John Campion Jr f4355c7cd3
docs: add info about getting config in loaders (#2147)
2 years ago
Lyric Wai dae4168e18
docs: fix typo (#2141)
2 years ago
Anthony Fu 3235c23313
feat: more flexible `ignoreDeadLinks` (#2135)
2 years ago
Danny Lin 399117088b
docs: add custom anchor example (#2130)
2 years ago
阿良仔 ae3041142e
docs: add `Rollup` to showcase (#2128)
2 years ago
Divyansh Singh 8370abc258
docs: fix install command in gh workflow
2 years ago
Evan You 9b85e435fe docs: add dedicated section on SSR compatibility
2 years ago
Evan You 07a296f6c8 docs: highlight vite, vue & markdown config
2 years ago
Evan You 736f6c643f docs: fix font preload example
2 years ago
Evan You 323fe30c9d docs: add note about importing optional components when using no fonts default theme
2 years ago
Evan You da1691d77e feat(theme): support extending default theme without importing fonts
2 years ago
Evan You 5dd2a233b1 docs: preload home page images
2 years ago
Evan You 7182c4231f feat(theme): page outline for mobile
2 years ago
Evan You 03423f13aa docs: add example for vite / vue options
2 years ago
Evan You 31b548c718 docs: fix location description of the public dir
2 years ago
Evan You 2d22d02917 docs: clarify clean urls
2 years ago
Evan You d2838e3755 feat: createContentLoader
2 years ago
Evan You aa5b0b4cd7 docs: frontmatter updates
2 years ago
Evan You e5cfe96ece docs: tweak mpa mode
2 years ago
Guillaume Chau 192708de67
feat(theme): editLink can accept function (#2058)
2 years ago
Evan You e4abb76454 docs: more details on where to place header config
2 years ago
Evan You 8ab36d05fa fix: properly serialize header in outline
2 years ago
Evan You 8e55c819dc docs: add notes about headers
2 years ago
Divyansh Singh 2d28bd6da0
docs: use relative links
2 years ago
Divyansh Singh 56f5031514 docs: overriding internal components
2 years ago
Evan You aa8b03ceac docs: add analytics
2 years ago
Evan You 868a9ff81e feat: allow disabling markdown.headers
2 years ago
Billy Schonenberg 1ed5322d8b
docs: fix style module example (#2065)
2 years ago
Evan You 185e756b2d docs: avoid carbonads id collision
2 years ago
Evan You 657a7d38df fix(theme): re-support dynamic headers
2 years ago
Divyansh Singh 41987b6a88
feat(theme): add not-found layout slot (#2054)
2 years ago
Evan You 8fa87df1a8 fix redirect
2 years ago
Evan You 3690714a32 update domain + redirect
2 years ago
Alija 322c633fd0
perf(a11y): add aria-label to language button (#2025)
2 years ago
Divyansh Singh bc30c57db0
docs: typo
2 years ago
秃头灯笼鱼 0900c0085a
docs: fix broken link (#2047)
2 years ago
Evan You fe07329bf9 docs: revise frontmatter docs
2 years ago
Evan You 7b58df3af3 docs: cms, mpa, using vue edits
2 years ago
Evan You 294f47c0ce docs: build time data loading
2 years ago
Evan You de84c01b72 docs: revise custom theme and default theme extending
2 years ago
Evan You 74caccda43 feat: expose isNotFound on PageData, deperecate Theme.NotFound
2 years ago
Evan You 631e471e89 docs: mpa
2 years ago
Evan You 00ef777168 docs: adjust intro
2 years ago
Evan You 54d982f2dc docs: more tweaks
2 years ago
Evan You 2af6731524 docs: restructure site config page
2 years ago
Evan You 6c4dea4b63 docs: revise writing section
2 years ago
Evan You b9aed5695a docs: document globals
2 years ago
Evan You 257d67c3f8 docs: dynamic routes
2 years ago
Evan You 66f94fd7a0 feat: expose params at top level in useData()
2 years ago
Evan You e21a06ce81 docs: move default theme content to reference
2 years ago
Evan You 70b199be16 docs: adjust routing guide
2 years ago
Evan You 1457681484 fix: ensure HMR works properly for page outline
2 years ago
Evan You a7e3102e9d docs: cli reference
2 years ago
Evan You 49bcc254dc docs: rewrite getting started + init tips
2 years ago
Evan You 5ebee75a52 docs: restructure
2 years ago
Evan You 7158932e27 docs: update home page
2 years ago
Divyansh Singh 9c8f54c9f4
docs: hide 404 entries from sidebar for now
2 years ago
李鹏坤-执手对影成双 caa9bf62ec
docs: update home layout slots of the docs (#2012)
2 years ago
Xavi Lee 3ec77ab7af
docs: update links (#2006)
2 years ago
Evan You ddb9020545 wip: docs
2 years ago
Evan You 78836522b8 docs: remove yarn references
2 years ago
Juan Martín Seery 5a6d384952
feat(build): add support for custom languages (#1837)
2 years ago
Divyansh Singh e2d4edf45b
feat(theme): support custom target and rel in navbar links (#1993)
2 years ago
Markus b8a5e8e5b2
feat(theme): make prev/next links changeable (#1972)
2 years ago
MingYuan 58f455bdb4
docs: update github pages deploying instructions (#1980)
2 years ago
Evan You 0b3529ce07
docs: new intro (#1975)
2 years ago
gittig11 fd995906f6
fix(compat): remove use of array.at
2 years ago
Evan You 191ac86a85 docs: adjust the use of configs -> config
2 years ago
Alexey Iskhakov bcb8cbf3c8
fix: custom titles of code snippets inside code groups (#1834)
2 years ago
Divyansh Singh ed90724022
revert: "docs: add linkage for `code-groups` in `getting-started`" (#1943)
2 years ago
Orca 97f2b0e129
docs: fix rewrites examples (#1941)
2 years ago
Lixu 2299b217b6
docs: update github page actions setting in deploy.md (#1930)
2 years ago
dominikcz dd0c4c698c
feat(theme): support disabling aside globally (#1925)
2 years ago
Luciano Felix 4a19dde97b
docs: GitHub Actions deploy Workflow (#1644)
2 years ago
aendre ea4556febc
docs: add node alpine alternative to GitLab CI deploy (#1813)
2 years ago
manchan f1fe79b9df
docs: shared selection state in `code-groups` in `getting-started` (#1906)
2 years ago
Rishi Raj Jain e3879be4a1
docs: layer0 is now edgio (#1921)
2 years ago
manchan b35a6279a3
docs: use code group for commands in "Getting Started" (#1904)
2 years ago
manchan 43dddce813
docs: fix carbonAds types (#1879)
2 years ago
manchan 9f063426e2
docs: update theme configs (#1877)
2 years ago
Johnny Chen 2466735c18
docs: fix typo (#1875)
2 years ago
Divyansh Singh dea6cfa9cb
fix(theme): infer collapsible from collapsed (#1865)
2 years ago
Joff Tiquez 8f7d35ff8a
docs: update nesting example (#1868)
2 years ago
Fuqiao Xue 9f2553424e
docs: editorial fixes (#1866)
2 years ago
Divyansh Singh 08e07d643d
chore: bump deps (#1853)
2 years ago
Divyansh Singh 5ae4fbde38
feat: stable `cleanUrls` (#1852)
2 years ago
Divyansh Singh 00abac6116
feat(build): support rewrites (#1798)
2 years ago
Joff Tiquez 99858d7044
docs: update getting-started.md (#1847)
2 years ago
Kia King Ishii c35a1f0fae
feat(theme): enable multi level sidebar nesting (#1360) (#1835)
2 years ago
Divyansh Singh fe52fa3420
feat(build): allow ignoring only localhost dead links (#1821)
2 years ago
shadow-light 75d7d0084b
docs: fix heading level
2 years ago
Divyansh Singh 8de2f4499d
feat: add i18n feature (#1339)
2 years ago
Sylvain Bonnard 4e459f65e2
docs: add base url configuration in the GitLab deploying section (#1787)
2 years ago
qiang 09c2c52d6c
feat: support for teleports to body (#1642)
2 years ago
Divyansh Singh 01ac579187
feat: allow `enhanceApp` to return a `Promise` (#1760)
2 years ago
Divyansh Singh 3b7ff8d66e
feat(build): support interpolation inside code blocks (#1759)
2 years ago
Xavi Lee 2d8c64a51d
docs: fix typo (#1748)
2 years ago
Divyansh Singh 3f692dc587
chore: import from dist in docs (#1747)
2 years ago
Tobias Dalhof ba97814c14
docs: add example for `:title` in `titleTemplate` (#1676)
2 years ago
Mazel 655bca1d70
docs: add type description of hero image (#1691)
2 years ago
ZhenYu Li c4870ba665
docs: add docs about lastUpdated (#1731)
2 years ago
Joaquín Sánchez 9df598f36e
feat(theme): allow adding images as icons in features section (#1738)
2 years ago
Gurkiran Singh e72998b68b
feat(theme): add `home-hero-image` slot (#1528)
2 years ago
Divyansh Singh dcf55b17f4
docs: add missing import
2 years ago
Divyansh Singh 7a737845e5
feat(theme): add mastodon icon (#1736)
2 years ago
Divyansh Singh c048076370
feat(build): fence-level config for line-numbers (#1733)
2 years ago
xinconan f40df31947
feat(build): allow specifying default language for syntax highlighter (#1296)
2 years ago
Sam Estep ae21a3a622
feat(build): provide a `pathname://` protocol to escape SPA (#1719)
2 years ago
Divyansh Singh 135b797cfb
fix(build): fix code groups for line numbers mode (#1700)
2 years ago
Divyansh Singh a684b67ec0
feat: add code-group feature (#728) (#1560)
2 years ago
John Farrar 2343bd17c2
docs: fix typo (#1694)
2 years ago
翠 / green 2997f35dfd
docs: remove `OutboundLink` (#1693)
2 years ago
Shigma f899764bad
feat(build): support `cacheDir` (#1355)
2 years ago
Shigma 8a488deac1
fix(theme): default to vertical align top on badges inside headings (#1584)
2 years ago
mancuoj 6ec54896b5
docs: add information to avoid misunderstanding (#1619)
2 years ago
Divyansh Singh 4ba33dac60
feat(build): add preview as an alias for serve in cli (#1651)
2 years ago
Victor Eke 428eec3750
docs: fix grammar (#1616)
2 years ago
Xavi Lee 58a7594254
docs: remove extra line (#1624)
2 years ago
Divyansh Singh 12ca9dd3c7 docs: remove special characters
2 years ago
Marshall Thompson d410d4dd9f
feat(theme): sidebar nav slots (#1582)
2 years ago
jimmyxuexue 84b4abc5fa
feat(theme): add link feature in homepage features (#984) (#1404)
2 years ago
Sascha ac8619f841
feat(theme): add built-in global component `Badge` (#1239)
2 years ago
Divyansh Singh 701b876bc7
docs: revert f789932
2 years ago
Enzo Innocenzi 04ab0eb6dc
feat: support focus, colored diffs, error highlights in code blocks (#1534)
2 years ago
HeZiYang b4199bc6ac
docs(deploying): add optional cname arg in gh-page script
2 years ago
Divyansh Singh d327811fd5
feat: expose isDark (#1525)
2 years ago
Divyansh Singh 63e695745e
docs: update gh-pages deploy script (#1522)
2 years ago
Divyansh Singh a5054f6938
docs: mention whyframe in vp-raw section (#1519)
2 years ago
Divyansh Singh 283407d072
docs: add vitepress.new (#1517)
2 years ago
Sanjaiyan Parthipan a9a3b4fd7f
chore: add meta theme-color to the docs (#1358)
2 years ago
Igor Randjelovic afeb06f17c
feat: transformPageData hook (#1492)
2 years ago
Enzo Innocenzi d404753005
feat(theme): allow defining dark as the default theme (#1498)
2 years ago
jimmyxuexue 0b616657ee
docs: add html in footer example (#1487)
2 years ago
Xavi Lee e4fad6aaf2
docs: add `srcDir` to app config (#1430)
2 years ago
Subha Chanda 9d0164eae9
docs: fix typo (#1426)
2 years ago
烽宁 9921ee79dc
docs: fix typo (#1425)
2 years ago
meedfine 6d858d8abe
docs: click outline title to carbonAds fail (#1419)
2 years ago
Cody Bontecou ee0bec5d83
docs: logo alt attr documentation (#1415)
2 years ago
Andreas Deininger 1793b87163
docs: fix typos (#1408)
2 years ago
Yvan Zhu b330ebb598
docs: extra word (#1372)
2 years ago
Joaquín Sánchez 6b16dad22f
feat: add `transformHead` hook (#1323)
2 years ago
Joaquín Sánchez 1aa3456125
docs: add `transformHtml` and `buildEnd` hooks (#1317)
2 years ago
Divyansh Singh 5378a49613
revert(#1264): add page load progress bar (#1311)
2 years ago
Anbuselvan Rocky b1511cf7b7
docs: fix typo (#1295)
2 years ago
Divyansh Singh 8f66b42a0b
docs: update extending the default theme (#1288)
2 years ago
Divyansh Singh 288aa48b92
feat(theme): support dynamic headers and nesting in outline (#1281)
2 years ago
Divyansh Singh 8f630339ba
feat(theme): allow disabling whole layout (#1268)
2 years ago
Divyansh Singh c85762da29
chore: fix typo
2 years ago
Divyansh Singh 9a6e1ea401
feat: add `vp-raw` container (#1104)
2 years ago
Yvan Zhu 3579883058
docs: fix typo (#1241)
2 years ago
meteorlxy d700a66e65
feat: support markdown sfc options (#1238)
2 years ago
meedfine 6346c5615d
docs: fix example typo (#1226)
2 years ago
Jenni 18da57c53c
docs: clarify GitHub Pages deployment instructions (#1224)
2 years ago