mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
98 lines
79 KiB
JavaScript
98 lines
79 KiB
JavaScript
import{$ as e,B as t,P as ee,_ as n,f as te,g as r,h as i,l as a}from"./runtime-core.esm-bundler-CZvn3YaB.js";import{t as ne}from"./plugin-vue_export-helper-CxTVcLa7.js";var o=JSON.parse(`{"path":"/en/blog/dk58a4t2/","title":"⚠️ 1.0.0-rc.165 Breaking Change Notice: Blog & Notes Features Migrated to \\"Collections\\" | Blog","lang":"en-US","frontmatter":{"title":"⚠️ 1.0.0-rc.165 Breaking Change Notice: Blog & Notes Features Migrated to \\"Collections\\"","sticky":true,"createTime":"2025/10/09 22:18:52","permalink":"/en/blog/dk58a4t2/","tags":["Breaking Change","Important Update"],"description":"Important ‼️ This update is a BREAKING CHANGE! The blog and notes features have been entirely migrated to a new "Collections" architecture. ‼️ Design Motivation: Why I...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"⚠️ 1.0.0-rc.165 Breaking Change Notice: Blog & Notes Features Migrated to \\\\\\"Collections\\\\\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2025-10-09T13:19:07.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://theme-plume.vuejs.press/en/blog/dk58a4t2/"}],["meta",{"property":"og:site_name","content":"Plume Theme"}],["meta",{"property":"og:title","content":"⚠️ 1.0.0-rc.165 Breaking Change Notice: Blog & Notes Features Migrated to \\"Collections\\""}],["meta",{"property":"og:description","content":"Important ‼️ This update is a BREAKING CHANGE! The blog and notes features have been entirely migrated to a new "Collections" architecture. ‼️ Design Motivation: Why I..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2025-10-09T13:19:07.000Z"}],["meta",{"property":"article:tag","content":"Important Update"}],["meta",{"property":"article:tag","content":"Breaking Change"}],["meta",{"property":"article:modified_time","content":"2025-10-09T13:19:07.000Z"}],["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://theme-plume.vuejs.press/blog/dk58a4t2/"}]]},"readingTime":{"minutes":2.39,"words":717},"git":{"createdTime":1759995965000,"updatedTime":1760015947000,"contributors":[{"name":"pengzhanbo","username":"pengzhanbo","email":"volodymyr@foxmail.com","commits":2,"avatar":"https://avatars.githubusercontent.com/pengzhanbo?v=4","url":"https://github.com/pengzhanbo"}],"changelog":[{"hash":"4a8fd3f7fc4e08a001087f4ad7d600803d5cca88","time":1760015947000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: update docs"},{"hash":"385059f214cb07fc9a098859e889432fb81f998b","time":1759995965000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: update en docs (#708)"}]},"autoDesc":true,"filePathRelative":"en/blog/3.Update/165.md","headers":[],"categoryList":[{"id":"a2cead","sort":3,"name":"Update"}],"bulletin":false}`),re={name:`165.md`},ie={class:`language-ts`,"data-highlighter":`shiki`,"data-ext":`ts`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},ae={class:`shiki shiki-themes vitesse-light vitesse-dark has-diff vp-code twoslash lsp`},oe={class:`language-ts`},s={class:`line`},c={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},l={class:`line`},u={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},d={class:`line`},f={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},p={class:`line`},m={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},h={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},g={class:`line diff remove`},_={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},v={class:`line diff remove`},y={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},b={class:`line diff remove`},x={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},S={class:`line diff remove`},C={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},w={class:`line diff remove`},T={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},E={class:`line diff remove`},D={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},O={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},k={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},A={class:`line diff add`},j={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},M={class:`line diff add`},N={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},P={class:`line diff add`},F={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},I={class:`line diff add`},L={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},R={class:`line diff add`},z={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},B={class:`line diff add`},V={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},H={class:`line diff add`},U={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},W={class:`line diff add`},G={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},K={class:`line diff add`},q={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},se={style:{margin:`16px 0`,display:`flex`,gap:`16px`}},ce={style:{flex:`1`}},le={class:`vp-file-tree`},ue={style:{"align-self":`center`}},de={style:{flex:`1`}},fe={class:`vp-file-tree`},pe={class:`language-ts`,"data-highlighter":`shiki`,"data-ext":`ts`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},me={class:`shiki shiki-themes vitesse-light vitesse-dark vp-code twoslash lsp`},he={class:`language-ts`},ge={class:`line`},_e={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},ve={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},ye={class:`line`},be={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},xe={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Se={class:`line`},Ce={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},we={class:`line`},Te={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},Ee={class:`line`},De={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},Oe={class:`line`},ke={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Ae={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},je={class:`line`},Me={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},Ne={class:`line`},Pe={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},Fe={class:`line`},Ie={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},Le={class:`line`},Re={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},ze={class:`line`},J={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Be={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Ve={class:`line`},He={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Ue={class:`line`},We={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}};function Ge(ne,o,re,Ge,Ke,qe){let Y=t(`v-menu`),X=t(`VPCopyButton`),Z=t(`VPIcon`),Q=t(`FileTreeNode`),Je=t(`Icon`),$=t(`VPLink`);return ee(),te(`div`,null,[o[225]||=i(`<div class="hint-container important"><p class="hint-container-title">Important</p><p>‼️ This update is a BREAKING CHANGE! The blog and notes features have been entirely migrated to a new "Collections" architecture. ‼️</p></div><h2 id="design-motivation-why-introduce-collections" tabindex="-1"><a class="header-anchor" href="#design-motivation-why-introduce-collections"><span>Design Motivation: Why Introduce "Collections"?</span></a></h2><p><a href="#migration-guide" class="read-more">Jump to Migration Guide 👇👇👇</a></p><h3 id="background-problem-analysis" tabindex="-1"><a class="header-anchor" href="#background-problem-analysis"><span>Background & Problem Analysis</span></a></h3><p>The theme initially only supported the <strong>blog</strong> feature, treating all Markdown files under the <code>docs</code> source directory as blog posts. As the version iterated, we added the <strong>notes/knowledge base</strong> feature, defaulting the <code>notes</code> directory as the root for notes and excluding its content from the blog list.</p><p>This phased implementation led to an <strong>architectural imbalance</strong>: the blog became a "first-class citizen," while the notes feature appeared marginalized. This caused the following issues for users:</p><ul><li><strong>Path Redundancy</strong>: Note files had to be stored under the <code>notes/</code> directory, adding unnecessary directory levels.</li><li><strong>Complex Links</strong>: When <code>autoFrontmatter</code> was not enabled, URLs were forced to include the <code>/notes/</code> prefix.</li><li><strong>Conceptual Confusion</strong>: Users were often confused about the functional difference between "notes" and "docs."</li><li><strong>Cumbersome Configuration</strong>: Extra adjustments to the <code>notes.dir</code> configuration were needed to achieve a standard documentation site structure.</li></ul><p>These design flaws were legacy issues from historical iterations, and we sincerely apologize for the inconvenience.</p><h3 id="solution-unified-content-abstraction" tabindex="-1"><a class="header-anchor" href="#solution-unified-content-abstraction"><span>Solution: Unified Content Abstraction</span></a></h3><p>After researching mainstream static site generators (like Hugo, VitePress) and full-stack frameworks (like Nuxt), we drew inspiration from the <code>collection</code> concept in <code>@nuxt/content</code>.</p><p>We decided to introduce <strong>Collections</strong> as a unified unit for content organization. Whether it's a blog, notes, documentation, or a knowledge base, they are essentially specific collections of Markdown files, differing only in their presentation.</p><div class="hint-container important"><p class="hint-container-title">Important</p><p>Core Insight: Use the "Collection" abstraction to unify the organization of various content types while preserving their respective display characteristics.</p></div><p>Based on content characteristics, we defined two collection types:</p><ul><li><strong><code>post</code> type</strong>: Suitable for fragmented, loosely related content (e.g., blogs, columns), providing an article list as a navigation entry.</li><li><strong><code>doc</code> type</strong>: Suitable for structured, strongly related content (e.g., documentation, manuals), providing a sidebar for quick navigation.</li></ul><p>This design solves the historical architectural problems and lays the foundation for extending more content types in the future.</p><h2 id="migration-guide" tabindex="-1"><a class="header-anchor" href="#migration-guide"><span>Migration Guide</span></a></h2><h3 id="core-concepts" tabindex="-1"><a class="header-anchor" href="#core-concepts"><span>Core Concepts</span></a></h3><ul><li><strong>Collection</strong>: Specified via <code>collection.dir</code>; all Markdown files under this directory belong to the collection.</li><li><strong>Collection Type</strong>: <ul><li><code>post</code>: Fragmented content, supports article list navigation.</li><li><code>doc</code>: Structured content, supports sidebar navigation.</li></ul></li></ul><h3 id="configuration-migration" tabindex="-1"><a class="header-anchor" href="#configuration-migration"><span>Configuration Migration</span></a></h3><p>Replace the original <code>blog</code> and <code>notes</code> configurations:</p>`,20),a(`div`,ie,[a(`pre`,ae,[a(`code`,oe,[a(`span`,s,[o[2]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[3]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),o[4]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,c,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[0]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: (`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`) => `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`)])],-1)]]),default:e(()=>[o[1]||=a(`span`,null,`defineUserConfig`,-1)]),_:1})]),o[5]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> '</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span>`,5)]),o[93]||=r(`
|
||
`,-1),a(`span`,l,[o[8]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[9]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),o[10]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,u,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[6]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Theme`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`VuePress Theme Plume`),r(`
|
||
`),a(`p`,null,`VuePress 主题 Plume`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`code`,null,`options`),r(` Theme options / 主题配置`)])]),a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@example`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`div`,{class:`language-ts`,"data-ext":`ts`,"data-title":`ts`,"data-highlighter":`shiki`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[a(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`},[a(`code`,null,[a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress-theme-plume`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
|
||
`),a(`span`,{class:`line`}),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` theme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // ...options`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)])])])])])])])],-1)]]),default:e(()=>[o[7]||=a(`span`,null,`plumeTheme`,-1)]),_:1})]),o[11]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> '</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress-theme-plume</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span>`,5)]),o[94]||=r(`
|
||
`,-1),o[95]||=a(`span`,{class:`line`},null,-1),o[96]||=r(`
|
||
`,-1),a(`span`,d,[o[14]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`,-1),o[15]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`,-1),o[16]||=a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),a(`span`,f,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[12]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UserConfig`)])],-1)]]),default:e(()=>[o[13]||=a(`span`,null,`defineUserConfig`,-1)]),_:1})]),o[17]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),o[97]||=r(`
|
||
`,-1),a(`span`,p,[o[22]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,m,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[18]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`theme`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` Theme`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Vuepress theme`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@required`)])])],-1)]]),default:e(()=>[o[19]||=a(`span`,null,`theme`,-1)]),_:1})]),o[23]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),a(`span`,h,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[20]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Theme`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`VuePress Theme Plume`),r(`
|
||
`),a(`p`,null,`VuePress 主题 Plume`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`code`,null,`options`),r(` Theme options / 主题配置`)])]),a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@example`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`div`,{class:`language-ts`,"data-ext":`ts`,"data-title":`ts`,"data-highlighter":`shiki`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[a(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`},[a(`code`,null,[a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress-theme-plume`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
|
||
`),a(`span`,{class:`line`}),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` theme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // ...options`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)])])])])])])])],-1)]]),default:e(()=>[o[21]||=a(`span`,null,`plumeTheme`,-1)]),_:1})]),o[24]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),o[98]||=r(`
|
||
`,-1),o[99]||=a(`span`,{class:`line diff remove`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // Remove old blog and notes configuration`)],-1),o[100]||=r(`
|
||
`,-1),a(`span`,g,[o[27]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,_,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[25]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeFeatureOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`blog`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Blog configuration
|
||
博客配置`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@deprecated`),a(`span`,{class:`twoslash-popup-docs-tag-value`},`Use collections instead / 使用 collections 代替`)])])],-1)]]),default:e(()=>[o[26]||=a(`span`,null,`blog`,-1)]),_:1})]),o[28]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: { `,-1),o[29]||=a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},`/* Blog configuration */`,-1),o[30]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` },`,-1)]),o[101]||=r(`
|
||
`,-1),a(`span`,v,[o[33]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,y,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[31]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeLocale`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`notes`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`笔记配置, 笔记中的文章默认不会出现在首页文章列表`),r(`
|
||
`),a(`p`,null,`注:也可以将notes配置到navbar中`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@deprecated`),a(`span`,{class:`twoslash-popup-docs-tag-value`},`使用 collections 代替`)])])],-1)]]),default:e(()=>[o[32]||=a(`span`,null,`notes`,-1)]),_:1})]),o[34]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: {`,-1)]),o[102]||=r(`
|
||
`,-1),a(`span`,b,[o[37]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,x,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[35]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`link`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`)])],-1)]]),default:e(()=>[o[36]||=a(`span`,null,`link`,-1)]),_:1})]),o[38]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">/</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[103]||=r(`
|
||
`,-1),a(`span`,S,[o[41]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,C,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[39]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`dir`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`)])],-1)]]),default:e(()=>[o[40]||=a(`span`,null,`dir`,-1)]),_:1})]),o[42]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">/notes/</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[104]||=r(`
|
||
`,-1),a(`span`,w,[o[45]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,T,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[43]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`},[a(`code`,null,[a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`notes`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` dir`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`;`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` link`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`;`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` sidebar`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`;`)]),r(`
|
||
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`}[]`)])])])])],-1)]]),default:e(()=>[o[44]||=a(`span`,null,`notes`,-1)]),_:1})]),o[46]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: [`,-1)]),o[105]||=r(`
|
||
`,-1),a(`span`,E,[o[53]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` { `,-1),a(`span`,D,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[47]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`dir`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`)])],-1)]]),default:e(()=>[o[48]||=a(`span`,null,`dir`,-1)]),_:1})]),o[54]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">typescript</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span>`,5),a(`span`,O,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[49]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`link`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`)])],-1)]]),default:e(()=>[o[50]||=a(`span`,null,`link`,-1)]),_:1})]),o[55]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">/typescript/</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span>`,5),a(`span`,k,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[51]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`sidebar`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`)])],-1)]]),default:e(()=>[o[52]||=a(`span`,null,`sidebar`,-1)]),_:1})]),o[56]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">auto</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span>`,5)]),o[106]||=i(`
|
||
<span class="line diff remove"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> ]</span></span>
|
||
<span class="line diff remove"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> },</span></span>
|
||
<span class="line diff add"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // Use collections configuration</span></span>
|
||
`,7),a(`span`,A,[o[59]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,j,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[57]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeLocale`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`collections`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ThemeCollections`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文章集合,当前支持 博客类型 或 文档类型`)])],-1)]]),default:e(()=>[o[58]||=a(`span`,null,`collections`,-1)]),_:1})]),o[60]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: [`,-1)]),o[107]||=r(`
|
||
`,-1),o[108]||=a(`span`,{class:`line diff add`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`)],-1),o[109]||=r(`
|
||
`,-1),a(`span`,M,[o[63]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,N,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[61]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemePostCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`type`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`post`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合类型`),r(`
|
||
`),a(`ul`,null,[r(`
|
||
`),a(`li`,null,[a(`code`,null,`post`),r(`: 文章列表(可用于 博客、专栏等)`)]),r(`
|
||
`),a(`li`,null,[a(`code`,null,`doc`),r(`: 文档(可用于 笔记、知识库等)`)]),r(`
|
||
`)])])],-1)]]),default:e(()=>[o[62]||=a(`span`,null,`type`,-1)]),_:1})]),o[64]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">post</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// Replaces original blog functionality</span>`,6)]),o[110]||=r(`
|
||
`,-1),a(`span`,P,[o[67]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,F,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[65]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`dir`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合目录,相对于源目录`)])],-1)]]),default:e(()=>[o[66]||=a(`span`,null,`dir`,-1)]),_:1})]),o[68]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">blog</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// Points to docs/blog directory</span>`,6)]),o[111]||=r(`
|
||
`,-1),a(`span`,I,[o[71]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,L,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[69]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`title`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合标题`)])],-1)]]),default:e(()=>[o[70]||=a(`span`,null,`title`,-1)]),_:1})]),o[72]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">Blog</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // Collection display name</span>`,5)]),o[112]||=i(`
|
||
<span class="line diff add"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // Original blog configuration continues here</span></span>
|
||
<span class="line diff add"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // ...</span></span>
|
||
<span class="line diff add"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> },</span></span>
|
||
<span class="line diff add"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> {</span></span>
|
||
`,9),a(`span`,R,[o[75]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,z,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[73]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeDocCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`type`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`doc`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合类型`),r(`
|
||
`),a(`ul`,null,[r(`
|
||
`),a(`li`,null,[a(`code`,null,`post`),r(`: 文章列表(可用于 博客、专栏等)`)]),r(`
|
||
`),a(`li`,null,[a(`code`,null,`doc`),r(`: 文档(可用于 笔记、知识库等)`)]),r(`
|
||
`)])])],-1)]]),default:e(()=>[o[74]||=a(`span`,null,`type`,-1)]),_:1})]),o[76]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">doc</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// Replaces original notes functionality</span>`,6)]),o[113]||=r(`
|
||
`,-1),a(`span`,B,[o[79]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,V,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[77]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`dir`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合目录,相对于源目录`)])],-1)]]),default:e(()=>[o[78]||=a(`span`,null,`dir`,-1)]),_:1})]),o[80]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">typescript</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// Points to docs/typescript directory</span>`,6)]),o[114]||=r(`
|
||
`,-1),a(`span`,H,[o[83]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,U,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[81]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`title`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合标题`)])],-1)]]),default:e(()=>[o[82]||=a(`span`,null,`title`,-1)]),_:1})]),o[84]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">TypeScript Notes</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[115]||=r(`
|
||
`,-1),a(`span`,W,[o[87]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,G,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[85]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`linkPrefix`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`当启用 autoFrontmatter 时,文档集合的链接前缀`),r(`
|
||
`),a(`ul`,null,[r(`
|
||
`),a(`li`,null,[a(`code`,null,`post`),r(` 类型,用于文章的自动生成链接前缀`)]),r(`
|
||
`),a(`li`,null,[a(`code`,null,`doc`),r(` 类型,用于文档中文章的自动生成链接前缀`)]),r(`
|
||
`)])]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@default`),a(`span`,{class:`twoslash-popup-docs-tag-value`},"'/${dir}/'")])])],-1)]]),default:e(()=>[o[86]||=a(`span`,null,`linkPrefix`,-1)]),_:1})]),o[88]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">/typescript/</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// Page link prefix, sidebar judgment basis</span>`,6)]),o[116]||=r(`
|
||
`,-1),a(`span`,K,[o[91]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,q,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[89]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeDocCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`sidebar`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` "`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`auto`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ThemeSidebarItem`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)[]`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`侧边栏配置`)])],-1)]]),default:e(()=>[o[90]||=a(`span`,null,`sidebar`,-1)]),_:1})]),o[92]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">auto</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// Auto-generate sidebar</span>`,6)]),o[117]||=i(`
|
||
<span class="line diff add"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> },</span></span>
|
||
<span class="line diff add"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> ]</span></span>
|
||
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> })</span></span>
|
||
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">})</span></span>`,8)])])]),o[226]||=i(`<h3 id="directory-structure-adjustment" tabindex="-1"><a class="header-anchor" href="#directory-structure-adjustment"><span>Directory Structure Adjustment</span></a></h3><p>Migrate files according to the following steps:</p><p><strong>Procedure:</strong></p><ol><li>Move subdirectories under the <code>notes</code> directory directly to the <code>docs</code> root directory.</li><li>Create a <code>blog</code> directory and move original blog posts into it.</li><li>Remove the now-empty <code>notes</code> directory.</li></ol>`,4),a(`div`,se,[a(`div`,ce,[a(`div`,le,[o[118]||=a(`p`,{class:`vp-file-tree-title`},`Pre-migration Structure`,-1),n(X,{text:`eJzT43o0ZcqjKQ1ApJCSn1zMpQAEj6bMgQrl5ZekwsSawCRMcUllQWpxclFmQQmSNKrmpMTizGS93BQMBTAzElPKEvOSU1MQauBac/LTdZMTS1J1DbHaXpBfXKJriE+fEW59Rjj0gSQRUjAtQa6OLr6uQHEAXWd58Q==`,encode:``,"aria-label":`Copy`,"data-copied":`Copied`}),n(Q,{expanded:``,type:`folder`,filename:`docs`,level:0},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:folder-type-docs`})]),default:e(()=>[n(Q,{expanded:``,type:`folder`,diff:`remove`,filename:`notes`,level:1},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[n(Q,{expanded:``,type:`folder`,filename:`typescript`,level:2},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[n(Q,{type:`file`,filename:`basic.md`,level:3},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1}),n(Q,{type:`file`,filename:`advanced.md`,level:3},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1})]),_:1})]),_:1}),n(Q,{expanded:``,type:`folder`,filename:`blog-cate-1`,level:1},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[n(Q,{type:`file`,filename:`post-1.md`,level:2},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1})]),_:1}),n(Q,{expanded:``,type:`folder`,filename:`blog-cate-2`,level:1},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[n(Q,{type:`file`,filename:`post-2.md`,level:2},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1})]),_:1}),n(Q,{type:`file`,filename:`blog-post.md`,level:1},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1}),n(Q,{type:`file`,filename:`README.md`,level:1},{icon:e(()=>[n(Z,{provider:`iconify`,name:`flat-color-icons:info`})]),_:1})]),_:1})])]),a(`div`,ue,[n(Je,{name:`mingcute:arrow-right-fill`})]),a(`div`,de,[a(`div`,fe,[o[119]||=a(`p`,{class:`vp-file-tree-title`},`Post-migration Structure`,-1),n(X,{text:`eJzT43o0ZcqjKQ1ApJCSn1zMpQAEj6bMgQqVVBakFicXZRaUQCWaUKSTEoszk/VyU1AkYcYlppQl5iWnpiDk4dpy8tOxmweU0E1OLEnVNUSRRzW4IL+4RNcQ3VpMM4wImWGEy+lgM0BKEApgUkGuji6+rkBxAE5kgcw=`,encode:``,"aria-label":`Copy`,"data-copied":`Copied`}),n(Q,{expanded:``,type:`folder`,filename:`docs`,level:0},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:folder-type-docs`})]),default:e(()=>[n(Q,{expanded:``,type:`folder`,filename:`typescript`,level:1},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[n(Q,{type:`file`,filename:`basic.md`,level:2},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1}),n(Q,{type:`file`,filename:`advanced.md`,level:2},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1})]),_:1}),n(Q,{expanded:``,type:`folder`,diff:`add`,filename:`blog`,level:1},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[n(Q,{expanded:``,type:`folder`,filename:`blog-cate-1`,level:2},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[n(Q,{type:`file`,filename:`post-1.md`,level:3},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1})]),_:1}),n(Q,{expanded:``,type:`folder`,filename:`blog-cate-2`,level:2},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[n(Q,{type:`file`,filename:`post-2.md`,level:3},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1})]),_:1}),n(Q,{type:`file`,filename:`blog-post.md`,level:2},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`})]),_:1})]),_:1}),n(Q,{type:`file`,filename:`README.md`,level:1},{icon:e(()=>[n(Z,{provider:`iconify`,name:`flat-color-icons:info`})]),_:1})]),_:1})])])]),o[227]||=a(`h3`,{id:`helper-functions`,tabindex:`-1`},[a(`a`,{class:`header-anchor`,href:`#helper-functions`},[a(`span`,null,`Helper Functions`)])],-1),o[228]||=a(`ul`,null,[a(`li`,null,[a(`code`,null,`defineCollection`),r(`: Helper function for defining a single collection configuration.`)]),a(`li`,null,[a(`code`,null,`defineCollections`),r(`: Helper function for defining multiple collection configurations.`)])],-1),a(`div`,pe,[a(`pre`,me,[a(`code`,he,[a(`span`,ge,[o[124]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[125]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),o[126]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,_e,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[120]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`collection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeCollectionItem`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` ThemeCollectionItem`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Theme collection item configuration helper function`),r(`
|
||
`),a(`p`,null,`主题 collection item 配置帮助函数`)])],-1)]]),default:e(()=>[o[121]||=a(`span`,null,`defineCollection`,-1)]),_:1})]),o[127]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`,-1),o[128]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,ve,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[122]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineCollections`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`collections`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeCollections`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` ThemeCollections`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Theme collections configuration helper function`),r(`
|
||
`),a(`p`,null,`主题 collections 配置帮助函数`)])],-1)]]),default:e(()=>[o[123]||=a(`span`,null,`defineCollections`,-1)]),_:1})]),o[129]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> '</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress-theme-plume</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span>`,5)]),o[198]||=r(`
|
||
`,-1),o[199]||=a(`span`,{class:`line`},null,-1),o[200]||=r(`
|
||
`,-1),a(`span`,ye,[o[134]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`,-1),o[135]||=a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` const `,-1),a(`span`,be,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[130]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`blog`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeCollectionItem`)])],-1)]]),default:e(()=>[o[131]||=a(`span`,null,`blog`,-1)]),_:1})]),o[136]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1),o[137]||=a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),a(`span`,xe,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[132]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`collection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeCollectionItem`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` ThemeCollectionItem`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Theme collection item configuration helper function`),r(`
|
||
`),a(`p`,null,`主题 collection item 配置帮助函数`)])],-1)]]),default:e(()=>[o[133]||=a(`span`,null,`defineCollection`,-1)]),_:1})]),o[138]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),o[201]||=r(`
|
||
`,-1),a(`span`,Se,[o[141]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,Ce,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[139]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemePostCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`type`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`post`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合类型`),r(`
|
||
`),a(`ul`,null,[r(`
|
||
`),a(`li`,null,[a(`code`,null,`post`),r(`: 文章列表(可用于 博客、专栏等)`)]),r(`
|
||
`),a(`li`,null,[a(`code`,null,`doc`),r(`: 文档(可用于 笔记、知识库等)`)]),r(`
|
||
`)])])],-1)]]),default:e(()=>[o[140]||=a(`span`,null,`type`,-1)]),_:1})]),o[142]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">post</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[202]||=r(`
|
||
`,-1),a(`span`,we,[o[145]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,Te,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[143]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`dir`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合目录,相对于源目录`)])],-1)]]),default:e(()=>[o[144]||=a(`span`,null,`dir`,-1)]),_:1})]),o[146]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">blog</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[203]||=r(`
|
||
`,-1),a(`span`,Ee,[o[149]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,De,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[147]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`title`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合标题`)])],-1)]]),default:e(()=>[o[148]||=a(`span`,null,`title`,-1)]),_:1})]),o[150]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),o[151]||=a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`,-1),o[152]||=a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`Blog`,-1),o[153]||=a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`,-1)]),o[204]||=r(`
|
||
`,-1),o[205]||=a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)],-1),o[206]||=r(`
|
||
`,-1),o[207]||=a(`span`,{class:`line`},null,-1),o[208]||=r(`
|
||
`,-1),a(`span`,Oe,[o[158]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`,-1),o[159]||=a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` const `,-1),a(`span`,ke,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[154]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`typescript`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeCollectionItem`)])],-1)]]),default:e(()=>[o[155]||=a(`span`,null,`typescript`,-1)]),_:1})]),o[160]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1),o[161]||=a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),a(`span`,Ae,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[156]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`collection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeCollectionItem`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` ThemeCollectionItem`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Theme collection item configuration helper function`),r(`
|
||
`),a(`p`,null,`主题 collection item 配置帮助函数`)])],-1)]]),default:e(()=>[o[157]||=a(`span`,null,`defineCollection`,-1)]),_:1})]),o[162]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),o[209]||=r(`
|
||
`,-1),a(`span`,je,[o[165]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,Me,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[163]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeDocCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`type`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`doc`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合类型`),r(`
|
||
`),a(`ul`,null,[r(`
|
||
`),a(`li`,null,[a(`code`,null,`post`),r(`: 文章列表(可用于 博客、专栏等)`)]),r(`
|
||
`),a(`li`,null,[a(`code`,null,`doc`),r(`: 文档(可用于 笔记、知识库等)`)]),r(`
|
||
`)])])],-1)]]),default:e(()=>[o[164]||=a(`span`,null,`type`,-1)]),_:1})]),o[166]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">doc</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[210]||=r(`
|
||
`,-1),a(`span`,Ne,[o[169]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,Pe,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[167]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`dir`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合目录,相对于源目录`)])],-1)]]),default:e(()=>[o[168]||=a(`span`,null,`dir`,-1)]),_:1})]),o[170]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">typescript</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[211]||=r(`
|
||
`,-1),a(`span`,Fe,[o[173]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,Ie,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[171]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeBaseCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`title`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`: `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`文档集合标题`)])],-1)]]),default:e(()=>[o[172]||=a(`span`,null,`title`,-1)]),_:1})]),o[174]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">TypeScript Notes</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">'</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[212]||=r(`
|
||
`,-1),a(`span`,Le,[o[177]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,Re,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[175]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeDocCollection`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`sidebar`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` "`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`auto`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`"`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` (`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`string`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ThemeSidebarItem`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`)[]`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`侧边栏配置`)])],-1)]]),default:e(()=>[o[176]||=a(`span`,null,`sidebar`,-1)]),_:1})]),o[178]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),o[179]||=a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`,-1),o[180]||=a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`auto`,-1),o[181]||=a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`,-1)]),o[213]||=r(`
|
||
`,-1),o[214]||=a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)],-1),o[215]||=r(`
|
||
`,-1),o[216]||=a(`span`,{class:`line`},null,-1),o[217]||=r(`
|
||
`,-1),a(`span`,ze,[o[186]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`,-1),o[187]||=a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` const `,-1),a(`span`,J,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[182]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`collections`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeCollections`)])],-1)]]),default:e(()=>[o[183]||=a(`span`,null,`collections`,-1)]),_:1})]),o[188]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` =`,-1),o[189]||=a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),a(`span`,Be,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[184]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineCollections`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`collections`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeCollections`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` ThemeCollections`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Theme collections configuration helper function`),r(`
|
||
`),a(`p`,null,`主题 collections 配置帮助函数`)])],-1)]]),default:e(()=>[o[185]||=a(`span`,null,`defineCollections`,-1)]),_:1})]),o[190]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`([`,-1)]),o[218]||=r(`
|
||
`,-1),a(`span`,Ve,[o[193]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,He,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[191]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`blog`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeCollectionItem`)])],-1)]]),default:e(()=>[o[192]||=a(`span`,null,`blog`,-1)]),_:1})]),o[194]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`,-1)]),o[219]||=r(`
|
||
`,-1),a(`span`,Ue,[o[197]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,We,[n(Y,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[195]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`typescript`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeCollectionItem`)])],-1)]]),default:e(()=>[o[196]||=a(`span`,null,`typescript`,-1)]),_:1})])]),o[220]||=r(`
|
||
`,-1),o[221]||=a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`])`)],-1)])])]),o[229]||=a(`h2`,{id:`detailed-documentation`,tabindex:`-1`},[a(`a`,{class:`header-anchor`,href:`#detailed-documentation`},[a(`span`,null,`Detailed Documentation`)])],-1),a(`p`,null,[n($,{href:`../../guide/quick-start/collection.md`,class:`read-more`},{default:e(()=>[...o[222]||=[r(`Collections Documentation`,-1)]]),_:1})]),a(`p`,null,[n($,{href:`../../guide/quick-start/collection-post.md`,class:`read-more`},{default:e(()=>[...o[223]||=[r(`Post Collection`,-1)]]),_:1})]),a(`p`,null,[n($,{href:`../../guide/quick-start/collection-doc.md`,class:`read-more`},{default:e(()=>[...o[224]||=[r(`Doc Collection`,-1)]]),_:1})])])}var Ke=ne(re,[[`render`,Ge]]);export{o as _pageData,Ke as default}; |