Commit Graph

555 Commits (77beb4476e69724f4f2cc277be673628dcff3115)

Author SHA1 Message Date
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 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 f4a5c43cb0 feat(theme): allow adding custom layouts
1 year ago
Divyansh Singh f8126fe39f chore: simplify config
1 year ago
Divyansh Singh 52884d9d4b
feat(theme): allow setting base path in sidebar items (#2734)
1 year ago
Divyansh Singh 7141b82ccc docs: add head examples
1 year ago
Divyansh Singh 900906583b docs: fix link
1 year ago
Divyansh Singh 17378c064f fix(build): make outDir from cli work properly
1 year ago
Divyansh Singh 7778187f2d
feat: i18n with sitemap (#2708)
1 year ago
Mike Bostock 5d18fd8978
feat: rel for feature links (#2704)
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 5563695b15
feat: sitemap generation (#2691)
1 year ago
烽宁 74d9ba27b5
fix(build): `createContentLoader` generates invalid url when `srcDir` is set (#2578)
1 year ago
camera-2018 40c60ecae5
docs: sidebar and navbar frontmatter config (#2667)
1 year ago
Divyansh Singh b180a9e809
docs: update pnpm install command to match new behavior
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
Divyansh Singh 30b323d6e7 docs: rewrite github/gitlab deploying guide (closes #2205)
1 year ago
Divyansh Singh 29b8f76b23 chore: format
1 year ago
Divyansh Singh cfe7e9f525 docs: add info about need to commit for lastUpdated to work (closes #2090)
1 year ago
Divyansh Singh 5a340bf1e5 docs: add algolia crawler config (closes #2592)
1 year ago
Divyansh Singh 5cdb9c8fa3 docs: cleanup use cases section
1 year ago
Divyansh Singh d0e7374441 fix(theme): invalid html -- article inside span
1 year ago
烽宁 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)
1 year ago
烽宁 a99dcf9443
fix(types): export duplicate type `Sidebar` (#2573)
1 year ago
bqy_fe 665f3b02f8
feat(client): add onBeforePageLoad hook for router (#2564)
1 year ago
cayter a6de3ef548
docs: fix github actions permissions (#2568)
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
bqy_fe 03855dd0cf
docs: add ComponentInHeader import (#2562)
1 year ago
烽宁 52cfbc3236
feat(theme): option to show icon for external links (#2501)
1 year ago
烽宁 1ef33fe1c4
feat: support selecting line range when importing md file (#2502)
1 year ago
Vamshi krishna 47c06bda38
docs: update setup command to use pnpm dlx (#2558)
1 year ago
Jeff Tian 0c4210bb5e
feat(build): support nested markdown includes (#2545)
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
Pavel Horal 5013835f51
docs: fix typo in dynamic routing example (#2515)
1 year ago
Divyansh Singh aac149c69b docs: ignore `search-insights` warning
1 year ago
donggua 29a9647ee9
feat(theme): allow prev/next links to be disabled globally (#2317)
1 year ago
CHOYSEN 90478b36cd
feat(build): support relative path for code snippet (#1894)
1 year ago
Agustin Banchio c995b9f61d
feat(theme): add custom label for social links (#2466)
1 year 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