This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git


The following commit(s) were added to refs/heads/main by this push:
     new 3e7e471  change theme version for scroller (#219)
3e7e471 is described below

commit 3e7e471a8b18cc197379408aaa0e3f4a7c0cea7c
Author: CritasWang <[email protected]>
AuthorDate: Thu Apr 11 14:32:35 2024 +0800

    change theme version for scroller (#219)
---
 .github/workflows/site-build.yaml | 22 +++++++++------
 package-lock.json                 | 58 +++++++++++++++++++++------------------
 package.json                      |  2 +-
 src/.vuepress/config.ts           |  1 +
 src/.vuepress/styles/index.scss   |  4 +++
 5 files changed, 51 insertions(+), 36 deletions(-)

diff --git a/.github/workflows/site-build.yaml 
b/.github/workflows/site-build.yaml
index a25d047..5593298 100644
--- a/.github/workflows/site-build.yaml
+++ b/.github/workflows/site-build.yaml
@@ -20,14 +20,16 @@ jobs:
     if: github.event_name == 'pull_request'
 
     steps:
-      - uses: actions/checkout@v3
-      - name: Use Node.js 18.x
-        uses: actions/setup-node@v3
+      - uses: actions/checkout@v4
+      - name: Use Node.js 20
+        uses: actions/setup-node@v4
         with:
-          node-version: 18.x
+          node-version: 20
       - name: Install dependencies
         run: npm ci
       - name: Test build website
+        env:
+          NODE_OPTIONS: --max_old_space_size=8192 
         run: npm run build
 
   deploy:
@@ -35,14 +37,18 @@ jobs:
     if: github.event_name == 'workflow_dispatch' && github.ref_name == 'main' 
|| github.event_name == 'push'
 
     steps:
-      - uses: actions/checkout@v3
-      - name: Use Node.js 18.x
-        uses: actions/setup-node@v3
+      - uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
+      - name: Use Node.js 20
+        uses: actions/setup-node@v4
         with:
-          node-version: 18.x
+          node-version: 20
       - name: Install dependencies
         run: npm ci
       - name: Build website
+        env:
+          NODE_OPTIONS: --max_old_space_size=8192 
         run: npm run build
       - name: Deploy website
         env:
diff --git a/package-lock.json b/package-lock.json
index 2b8f40f..0194ca8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -25,7 +25,7 @@
         "gh-pages": "^6.1.0",
         "vue": "^3.4.21",
         "vuepress": "2.0.0-rc.9",
-        "vuepress-theme-hope": "2.0.0-rc.35"
+        "vuepress-theme-hope": "2.0.0-rc.34"
       }
     },
     "node_modules/@aashutoshrathi/word-wrap": {
@@ -7598,9 +7598,9 @@
       }
     },
     "node_modules/vuepress-plugin-components": {
-      "version": "2.0.0-rc.35",
-      "resolved": 
"https://registry.npmmirror.com/vuepress-plugin-components/-/vuepress-plugin-components-2.0.0-rc.35.tgz";,
-      "integrity": 
"sha512-wC8Xsxp6BBj5l8rMU0H5EAC1sqWKwP8VQgPpR1YYBaFj/5nAnhwW5wWQ2HNqurSKtZ6Fmm4Yn6Y49I5SDx1r1Q==",
+      "version": "2.0.0-rc.34",
+      "resolved": 
"https://registry.npmmirror.com/vuepress-plugin-components/-/vuepress-plugin-components-2.0.0-rc.34.tgz";,
+      "integrity": 
"sha512-BeRgKwyfHls50QhH5MYrKzZDBPp3QaKd6BOIre9bn2+kIVTd4jztbW1k3H3+jnEY1iOW+ThyUAnZbd5SHWaXVA==",
       "dev": true,
       "dependencies": {
         "@stackblitz/sdk": "^1.9.0",
@@ -7610,8 +7610,8 @@
         "create-codepen": "1.0.1",
         "qrcode": "^1.5.3",
         "vue": "^3.4.21",
-        "vuepress-plugin-sass-palette": "2.0.0-rc.35",
-        "vuepress-shared": "2.0.0-rc.35"
+        "vuepress-plugin-sass-palette": "2.0.0-rc.34",
+        "vuepress-shared": "2.0.0-rc.34"
       },
       "engines": {
         "node": ">=18.16.0",
@@ -7624,8 +7624,9 @@
         "dashjs": "4.7.4",
         "hls.js": "^1.4.12",
         "mpegts.js": "^1.7.3",
+        "plyr": "^3.7.8",
         "sass-loader": "^14.0.0",
-        "vidstack": "^1.11.11",
+        "vidstack": "^1.9.0",
         "vuepress": "2.0.0-rc.9"
       },
       "peerDependenciesMeta": {
@@ -7641,6 +7642,9 @@
         "mpegts.js": {
           "optional": true
         },
+        "plyr": {
+          "optional": true
+        },
         "sass-loader": {
           "optional": true
         },
@@ -7650,15 +7654,15 @@
       }
     },
     "node_modules/vuepress-plugin-sass-palette": {
-      "version": "2.0.0-rc.35",
-      "resolved": 
"https://registry.npmmirror.com/vuepress-plugin-sass-palette/-/vuepress-plugin-sass-palette-2.0.0-rc.35.tgz";,
-      "integrity": 
"sha512-JT9Is94NDunb2u7VxWIGShWkLdbOodPDPDtqj5uQvtqb7vXVxCxeAH4TqrTFQ4qQjFk/mpV8cTXDWf7OiwFSAA==",
+      "version": "2.0.0-rc.34",
+      "resolved": 
"https://registry.npmmirror.com/vuepress-plugin-sass-palette/-/vuepress-plugin-sass-palette-2.0.0-rc.34.tgz";,
+      "integrity": 
"sha512-Uwhc7RO0/94VbtfKoDZQ8GlZe871beQH7KaAc1EYO65lgh9lz0XKLTHVD296KQDjc6nkjYo8QKE0s1yJA2g8rg==",
       "dev": true,
       "dependencies": {
         "@vuepress/helper": "2.0.0-rc.24",
         "chokidar": "^3.6.0",
         "sass": "^1.74.1",
-        "vuepress-shared": "2.0.0-rc.35"
+        "vuepress-shared": "2.0.0-rc.34"
       },
       "engines": {
         "node": ">=18.16.0",
@@ -7677,9 +7681,9 @@
       }
     },
     "node_modules/vuepress-shared": {
-      "version": "2.0.0-rc.35",
-      "resolved": 
"https://registry.npmmirror.com/vuepress-shared/-/vuepress-shared-2.0.0-rc.35.tgz";,
-      "integrity": 
"sha512-Vis3QEPWDNUcns0tuSj9hrd3oRh4IFT8SwZuKuN+HIcStJmZnyYg20mH5IY0fCr0McgZSHLBW/UkMg+u8fEalw==",
+      "version": "2.0.0-rc.34",
+      "resolved": 
"https://registry.npmmirror.com/vuepress-shared/-/vuepress-shared-2.0.0-rc.34.tgz";,
+      "integrity": 
"sha512-UVQAsPjlpiu0sLf2EjlWaPQ7H8HWYjJsKfrc0ZMlyBj+exVznwcRYdCAD10wxzU4QT9qtz93mCftxTiQiDCzkQ==",
       "dev": true,
       "dependencies": {
         "@vuepress/helper": "2.0.0-rc.24",
@@ -7703,9 +7707,9 @@
       }
     },
     "node_modules/vuepress-theme-hope": {
-      "version": "2.0.0-rc.35",
-      "resolved": 
"https://registry.npmmirror.com/vuepress-theme-hope/-/vuepress-theme-hope-2.0.0-rc.35.tgz";,
-      "integrity": 
"sha512-gUsIpPqP2Z7IMNttz/0VvrTrGfHkybtNb+FL5wqeEGY3roWAVqpJJnJgar38n7WWoMXY5SrbiOyIxyiQF9UmSQ==",
+      "version": "2.0.0-rc.34",
+      "resolved": 
"https://registry.npmmirror.com/vuepress-theme-hope/-/vuepress-theme-hope-2.0.0-rc.34.tgz";,
+      "integrity": 
"sha512-ZSsYH4ErU18b86N8XA2DmKJdp6J8Sptpng5SX/HKlkQYkZ2qt0RJfZvoeRxSw7e+2zwIq4Gv5kifCw3CZz0MNQ==",
       "dev": true,
       "dependencies": {
         "@vuepress/helper": "2.0.0-rc.24",
@@ -7734,10 +7738,10 @@
         "chokidar": "^3.6.0",
         "gray-matter": "^4.0.3",
         "vue": "^3.4.21",
-        "vuepress-plugin-components": "2.0.0-rc.35",
-        "vuepress-plugin-md-enhance": "2.0.0-rc.35",
-        "vuepress-plugin-sass-palette": "2.0.0-rc.35",
-        "vuepress-shared": "2.0.0-rc.35"
+        "vuepress-plugin-components": "2.0.0-rc.34",
+        "vuepress-plugin-md-enhance": "2.0.0-rc.34",
+        "vuepress-plugin-sass-palette": "2.0.0-rc.34",
+        "vuepress-shared": "2.0.0-rc.34"
       },
       "engines": {
         "node": ">=18.16.0",
@@ -7754,7 +7758,7 @@
         "nodejs-jieba": "^0.1.2",
         "sass-loader": "^14.0.0",
         "vuepress": "2.0.0-rc.9",
-        "vuepress-plugin-search-pro": "2.0.0-rc.35"
+        "vuepress-plugin-search-pro": "2.0.0-rc.34"
       },
       "peerDependenciesMeta": {
         "@vuepress/plugin-docsearch": {
@@ -7802,9 +7806,9 @@
       "peer": true
     },
     
"node_modules/vuepress-theme-hope/node_modules/vuepress-plugin-md-enhance": {
-      "version": "2.0.0-rc.35",
-      "resolved": 
"https://registry.npmmirror.com/vuepress-plugin-md-enhance/-/vuepress-plugin-md-enhance-2.0.0-rc.35.tgz";,
-      "integrity": 
"sha512-tg49w/XVyRilAwvMJs7zLt1aSO23r6uyZitw0jyZBFGR57jEp2aoI68MFVDmRPlbKGe9X0l0ZbWX460eKpNtOw==",
+      "version": "2.0.0-rc.34",
+      "resolved": 
"https://registry.npmmirror.com/vuepress-plugin-md-enhance/-/vuepress-plugin-md-enhance-2.0.0-rc.34.tgz";,
+      "integrity": 
"sha512-0p2dO+Bn3/qsza9m/rWVIzHUdHj/m2S6NW4OeDdrXVszdfwVu3wAxTXu4ttXn471BY12/XIZES1AxWifpDIMjg==",
       "dev": true,
       "dependencies": {
         "@mdit/plugin-alert": "^0.8.0",
@@ -7834,8 +7838,8 @@
         "balloon-css": "^1.2.0",
         "js-yaml": "^4.1.0",
         "vue": "^3.4.21",
-        "vuepress-plugin-sass-palette": "2.0.0-rc.35",
-        "vuepress-shared": "2.0.0-rc.35"
+        "vuepress-plugin-sass-palette": "2.0.0-rc.34",
+        "vuepress-shared": "2.0.0-rc.34"
       },
       "engines": {
         "node": ">=18.16.0",
diff --git a/package.json b/package.json
index ab0aa9a..9dfac45 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,7 @@
     "gh-pages": "^6.1.0",
     "vue": "^3.4.21",
     "vuepress": "2.0.0-rc.9",
-    "vuepress-theme-hope": "2.0.0-rc.35"
+    "vuepress-theme-hope": "2.0.0-rc.34"
   },
   "licenses": [
     {
diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts
index a54c526..fc29f25 100644
--- a/src/.vuepress/config.ts
+++ b/src/.vuepress/config.ts
@@ -82,6 +82,7 @@ _paq.push(['enableLinkTracking']);
       appId: 'JLT9R2YGAE',
       apiKey: 'f1f30c0df04d74534e066d07786bce05',
       indexName: 'iotdb-apache',
+      maxResultsPerGroup: 10,
       locales: {
         '/zh/': {
           placeholder: '搜索文档',
diff --git a/src/.vuepress/styles/index.scss b/src/.vuepress/styles/index.scss
index e9ffd3b..b2558ad 100644
--- a/src/.vuepress/styles/index.scss
+++ b/src/.vuepress/styles/index.scss
@@ -63,6 +63,10 @@ h1, h2, h3, h4, h5, h6 {
 .fade-slide-y-leave-active {
   transition: none !important;
 }
+// .fade-slide-y-enter-from,
+// .fade-slide-y-leave-to {
+//   transform: none !important;
+// }
 .page-pageview-info {
   display: none !important;
 }
\ No newline at end of file

Reply via email to