vuepress-theme-plume/assets/165-CBdh2Ylc.js

98 lines
79 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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":"/blog/dk58a4t2/","title":"⚠️ 1.0.0-rc.165 破坏性更新说明:博客与笔记功能迁移至“集合” | 博客","lang":"zh-CN","frontmatter":{"title":"⚠️ 1.0.0-rc.165 破坏性更新说明:博客与笔记功能迁移至“集合”","sticky":true,"createTime":"2025/09/28 22:18:52","permalink":"/blog/dk58a4t2/","tags":["破坏性更新","重要更新"],"description":"‼️ 本次更新为破坏性更新!博客与笔记功能已整体迁移至全新的“集合”架构。‼️ 设计动机:为什么引入“集合”? 跳转至迁移指南 👇👇👇 背景与问题分析 主题最初仅支持博客功能,将 docs 源目录下的所有 Markdown 文件识别为博客文章。随着版本迭代,我们新增了笔记/知识库功能,默认将 notes 目录作为笔记根目录,并将其内容从博客列表中...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"⚠️ 1.0.0-rc.165 破坏性更新说明:博客与笔记功能迁移至“集合”\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2025-10-09T13:19:07.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://theme-plume.vuejs.press/blog/dk58a4t2/"}],["meta",{"property":"og:site_name","content":"Plume 主题"}],["meta",{"property":"og:title","content":"⚠️ 1.0.0-rc.165 破坏性更新说明:博客与笔记功能迁移至“集合”"}],["meta",{"property":"og:description","content":"‼️ 本次更新为破坏性更新!博客与笔记功能已整体迁移至全新的“集合”架构。‼️ 设计动机:为什么引入“集合”? 跳转至迁移指南 👇👇👇 背景与问题分析 主题最初仅支持博客功能,将 docs 源目录下的所有 Markdown 文件识别为博客文章。随着版本迭代,我们新增了笔记/知识库功能,默认将 notes 目录作为笔记根目录,并将其内容从博客列表中..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2025-10-09T13:19:07.000Z"}],["meta",{"property":"article:tag","content":"重要更新"}],["meta",{"property":"article:tag","content":"破坏性更新"}],["meta",{"property":"article:modified_time","content":"2025-10-09T13:19:07.000Z"}],["link",{"rel":"alternate","hreflang":"en-us","href":"https://theme-plume.vuejs.press/en/blog/dk58a4t2/"}]]},"readingTime":{"minutes":3.53,"words":1060},"git":{"createdTime":1759849989000,"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":"4d2361a7046214fe0f4e4af01831107fd00e38ad","time":1759849989000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme)!: add collections support (#704)"}]},"autoDesc":true,"filePathRelative":"blog/3.更新说明/165.md","headers":[],"categoryList":[{"id":"7a3973","sort":3,"name":"更新说明"}],"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">‼️ 本次更新为破坏性更新!博客与笔记功能已整体迁移至全新的“集合”架构。‼️</p></div><h2 id="设计动机-为什么引入-集合" tabindex="-1"><a class="header-anchor" href="#设计动机-为什么引入-集合"><span>设计动机:为什么引入“集合”?</span></a></h2><p><a href="#%E8%BF%81%E7%A7%BB%E6%8C%87%E5%8D%97" class="read-more">跳转至迁移指南 👇👇👇</a></p><h3 id="背景与问题分析" tabindex="-1"><a class="header-anchor" href="#背景与问题分析"><span>背景与问题分析</span></a></h3><p>主题最初仅支持<strong>博客</strong>功能,将 <code>docs</code> 源目录下的所有 Markdown 文件识别为博客文章。随着版本迭代,我们新增了<strong>笔记/知识库</strong>功能,默认将 <code>notes</code> 目录作为笔记根目录,并将其内容从博客列表中排除。</p><p>这种分阶段实现导致了<strong>架构上的不平衡</strong>:博客成为“一等公民”,而笔记功能则显得边缘化。这给用户带来了以下困扰:</p><ul><li><strong>路径冗余</strong>:笔记文件必须存放在 <code>notes/</code> 目录下,增加了不必要的目录层级</li><li><strong>链接复杂</strong>:未开启 <code>autoFrontmatter</code> 时URL 会强制包含 <code>/notes/</code> 前缀</li><li><strong>概念混淆</strong>:用户常困惑于“笔记”与“文档”的功能区别</li><li><strong>配置繁琐</strong>:需要额外调整 <code>notes.dir</code> 配置才能实现标准文档站结构</li></ul><p>这些设计缺陷源于历史迭代的遗留问题,我们对此深表歉意。</p><h3 id="解决方案-统一的内容抽象" tabindex="-1"><a class="header-anchor" href="#解决方案-统一的内容抽象"><span>解决方案:统一的内容抽象</span></a></h3><p>经过对主流静态站点生成器(如 Hugo、VitePress和全栈框架如 Nuxt的调研我们从 <code>@nuxt/content</code> 的 <code>collection</code> 概念中获得灵感。</p><p>我们决定引入<strong>集合</strong>作为统一的内容组织单元。无论是博客、笔记、文档还是知识库,本质上都是 Markdown 文件的特定集合,只是在呈现方式上有所差异。</p><div class="hint-container important"><p class="hint-container-title">核心洞察:通过“集合”抽象,统一各类内容的组织形式,同时保留各自的展示特性。</p></div><p>基于内容特征,我们定义了两种集合类型:</p><ul><li><strong><code>post</code> 类型</strong>:适用于碎片化、关联性弱的内容(如博客、专栏),提供文章列表作为导航入口</li><li><strong><code>doc</code> 类型</strong>:适用于结构化、关联性强的内容(如文档、手册),提供侧边栏进行快速导航</li></ul><p>这一设计既解决了历史架构问题,又为未来扩展更多内容类型奠定了基础。</p><h2 id="迁移指南" tabindex="-1"><a class="header-anchor" href="#迁移指南"><span>迁移指南</span></a></h2><h3 id="核心概念" tabindex="-1"><a class="header-anchor" href="#核心概念"><span>核心概念</span></a></h3><ul><li><strong>集合</strong>:通过 <code>collection.dir</code> 指定目录,该目录下所有 Markdown 文件均归属该集合</li><li><strong>集合类型</strong> <ul><li><code>post</code>:碎片化内容,支持文章列表导航</li><li><code>doc</code>:结构化内容,支持侧边栏导航</li></ul></li></ul><h3 id="配置迁移" tabindex="-1"><a class="header-anchor" href="#配置迁移"><span>配置迁移</span></a></h3><p>替换原有的 <code>blog</code> 和 <code>notes</code> 配置:</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;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress-theme-plume</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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`}},` // 移除旧的 blog 和 notes 配置`)],-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`}},`/* 博客配置 */`,-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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">/</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">/notes/</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">typescript</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">/typescript/</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">auto</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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;"> // 使用 collections 配置</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">post</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// 替代原博客功能</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">blog</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// 指向 docs/blog 目录</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">博客</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // 集合显示名称</span>`,5)]),o[112]||=i(`
<span class="line diff add"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // 原博客配置继续保留</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">doc</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// 替代原笔记功能</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">typescript</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// 指向 docs/typescript 目录</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">TypeScript笔记</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">/typescript/</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// 页面链接前缀、侧边栏判断依据</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">auto</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;">// 自动生成侧边栏</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="目录结构调整" tabindex="-1"><a class="header-anchor" href="#目录结构调整"><span>目录结构调整</span></a></h3><p>按照以下步骤迁移文件:</p><p><strong>操作步骤:</strong></p><ol><li>将 <code>notes</code> 目录下的子目录直接移至 <code>docs</code> 根目录</li><li>创建 <code>blog</code> 目录,将原博客文章移入其中</li><li>移除空的 <code>notes</code> 目录</li></ol>`,4),a(`div`,se,[a(`div`,ce,[a(`div`,le,[o[118]||=a(`p`,{class:`vp-file-tree-title`},`迁移前结构`,-1),n(X,{text:`eJzT43o0ZcqjKQ1ApJCSn1zMpQAEj6bMgQrl5ZekwsSawCRMcUllQWpxclFmQQmSNKrmpMTizGS93BQMBTAzElPKEvOSU1MQauBac/LTdZMTS1J1DbHaXpBfXKJriE+fEW59Rjj0gSQRUjAtQa6OLr6uQHEAXWd58Q==`,encode:``,"aria-label":`复制`,"data-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`},`迁移后结构`,-1),n(X,{text:`eJzT43o0ZcqjKQ1ApJCSn1zMpQAEj6bMgQqVVBakFicXZRaUQCWaUKSTEoszk/VyU1AkYcYlppQl5iWnpiDk4dpy8tOxmweU0E1OLEnVNUSRRzW4IL+4RNcQ3VpMM4wImWGEy+lgM0BKEApgUkGuji6+rkBxAE5kgcw=`,encode:``,"aria-label":`复制`,"data-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:`帮助函数`,tabindex:`-1`},[a(`a`,{class:`header-anchor`,href:`#帮助函数`},[a(`span`,null,`帮助函数`)])],-1),o[228]||=a(`ul`,null,[a(`li`,null,[a(`code`,null,`defineCollection`),r(`:用于定义单个 collection 配置的帮助函数`)]),a(`li`,null,[a(`code`,null,`defineCollections`),r(`:用于定义多个 collection 配置的帮助函数`)])],-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;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress-theme-plume</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">post</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">blog</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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`}},`博客`,-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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">doc</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">typescript</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">TypeScript笔记</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</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:`详细文档`,tabindex:`-1`},[a(`a`,{class:`header-anchor`,href:`#详细文档`},[a(`span`,null,`详细文档`)])],-1),a(`p`,null,[n($,{href:`../../guide/quick-start/collection.md`,class:`read-more`},{default:e(()=>[...o[222]||=[r(`集合文档`,-1)]]),_:1})]),a(`p`,null,[n($,{href:`../../guide/quick-start/collection-post.md`,class:`read-more`},{default:e(()=>[...o[223]||=[r(`post 集合`,-1)]]),_:1})]),a(`p`,null,[n($,{href:`../../guide/quick-start/collection-doc.md`,class:`read-more`},{default:e(()=>[...o[224]||=[r(`doc 集合`,-1)]]),_:1})])])}var Ke=ne(re,[[`render`,Ge]]);export{o as _pageData,Ke as default};