Unverified Commit 3e28399b authored by Hong Minhee (洪 民憙)'s avatar Hong Minhee (洪 民憙) Committed by GitHub
Browse files

Merge pull request #255 from moreal/bugfix/docs/vitepress-patch

parents 5c237dfe 0af8e07a
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@
    "postgres": "^3.4.5",
    "stringify-entities": "^4.0.4",
    "typescript": "^5.8.3",
    "vitepress": "^1.5.0",
    "vitepress": "^1.6.3",
    "vitepress-plugin-group-icons": "^1.3.5",
    "vitepress-plugin-llms": "^1.1.0",
    "vitepress-plugin-mermaid": "^2.0.17",
@@ -42,5 +42,10 @@
    "dev": "vitepress dev",
    "build": "vitepress build",
    "preview": "vitepress preview"
  },
  "pnpm": {
    "patchedDependencies": {
      "vitepress@1.6.3": "patches/vitepress@1.6.3.patch"
    }
  }
}
+13 −0
Original line number Diff line number Diff line
diff --git a/dist/node/chunk-Zsoi3j4v.js b/dist/node/chunk-Zsoi3j4v.js
index 8cfe39e30b9e866566716751deb57a58555b7bf8..87d80cff5751d63590810e8bdeab2fcba94c2899 100644
--- a/dist/node/chunk-Zsoi3j4v.js
+++ b/dist/node/chunk-Zsoi3j4v.js
@@ -40586,7 +40586,7 @@ async function localSearchPlugin(siteConfig) {
   };
 }
 const headingRegex = /<h(\d*).*?>(.*?<a.*? href="#.*?".*?>.*?<\/a>)<\/h\1>/gi;
-const headingContentRegex = /(.*?)<a.*? href="#(.*?)".*?>.*?<\/a>/i;
+const headingContentRegex = /(.*)<a.*? href="#(.*?)".*?>.*?<\/a>/i;
 function* splitPageIntoSections(html) {
   const result = html.split(headingRegex);
   result.shift();
+11 −6
Original line number Diff line number Diff line
@@ -4,6 +4,11 @@ settings:
  autoInstallPeers: true
  excludeLinksFromLockfile: false

patchedDependencies:
  vitepress@1.6.3:
    hash: h3qgcktgvvyvgahwawzgugeubu
    path: patches/vitepress@1.6.3.patch

importers:

  .:
@@ -105,8 +110,8 @@ importers:
        specifier: ^5.8.3
        version: 5.8.3
      vitepress:
        specifier: ^1.5.0
        version: 1.6.3(@algolia/client-search@5.25.0)(@types/node@22.15.21)(postcss@8.5.3)(search-insights@2.17.3)(typescript@5.8.3)
        specifier: ^1.6.3
        version: 1.6.3(patch_hash=h3qgcktgvvyvgahwawzgugeubu)(@algolia/client-search@5.25.0)(@types/node@22.15.21)(postcss@8.5.3)(search-insights@2.17.3)(typescript@5.8.3)
      vitepress-plugin-group-icons:
        specifier: ^1.3.5
        version: 1.5.5(markdown-it@14.1.0)(vite@5.4.19(@types/node@22.15.21))
@@ -115,7 +120,7 @@ importers:
        version: 1.3.3
      vitepress-plugin-mermaid:
        specifier: ^2.0.17
        version: 2.0.17(mermaid@11.6.0)(vitepress@1.6.3(@algolia/client-search@5.25.0)(@types/node@22.15.21)(postcss@8.5.3)(search-insights@2.17.3)(typescript@5.8.3))
        version: 2.0.17(mermaid@11.6.0)(vitepress@1.6.3(patch_hash=h3qgcktgvvyvgahwawzgugeubu)(@algolia/client-search@5.25.0)(@types/node@22.15.21)(postcss@8.5.3)(search-insights@2.17.3)(typescript@5.8.3))
      x-forwarded-fetch:
        specifier: ^0.2.0
        version: 0.2.0
@@ -5665,14 +5670,14 @@ snapshots:
      - '@75lb/nature'
      - supports-color

  vitepress-plugin-mermaid@2.0.17(mermaid@11.6.0)(vitepress@1.6.3(@algolia/client-search@5.25.0)(@types/node@22.15.21)(postcss@8.5.3)(search-insights@2.17.3)(typescript@5.8.3)):
  vitepress-plugin-mermaid@2.0.17(mermaid@11.6.0)(vitepress@1.6.3(patch_hash=h3qgcktgvvyvgahwawzgugeubu)(@algolia/client-search@5.25.0)(@types/node@22.15.21)(postcss@8.5.3)(search-insights@2.17.3)(typescript@5.8.3)):
    dependencies:
      mermaid: 11.6.0
      vitepress: 1.6.3(@algolia/client-search@5.25.0)(@types/node@22.15.21)(postcss@8.5.3)(search-insights@2.17.3)(typescript@5.8.3)
      vitepress: 1.6.3(patch_hash=h3qgcktgvvyvgahwawzgugeubu)(@algolia/client-search@5.25.0)(@types/node@22.15.21)(postcss@8.5.3)(search-insights@2.17.3)(typescript@5.8.3)
    optionalDependencies:
      '@mermaid-js/mermaid-mindmap': 9.3.0

  vitepress@1.6.3(@algolia/client-search@5.25.0)(@types/node@22.15.21)(postcss@8.5.3)(search-insights@2.17.3)(typescript@5.8.3):
  vitepress@1.6.3(patch_hash=h3qgcktgvvyvgahwawzgugeubu)(@algolia/client-search@5.25.0)(@types/node@22.15.21)(postcss@8.5.3)(search-insights@2.17.3)(typescript@5.8.3):
    dependencies:
      '@docsearch/css': 3.8.2
      '@docsearch/js': 3.8.2(@algolia/client-search@5.25.0)(search-insights@2.17.3)