You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by cr...@apache.org on 2026/01/06 06:14:27 UTC
(iotdb-docs) branch disable_kapa created (now 837a9769)
This is an automated email from the ASF dual-hosted git repository.
critas pushed a change to branch disable_kapa
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
at 837a9769 disabled kapa.ai
This branch includes the following new commits:
new 837a9769 disabled kapa.ai
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(iotdb-docs) 01/01: disabled kapa.ai
Posted by cr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
critas pushed a commit to branch disable_kapa
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
commit 837a976945240c20001291e6c643bb12dfb12aa7
Author: CritasWang <cr...@outlook.com>
AuthorDate: Tue Jan 6 14:14:10 2026 +0800
disabled kapa.ai
---
src/.vuepress/config.ts | 82 +++++++++++++++++++++---------------------
src/.vuepress/public/.htaccess | 2 +-
2 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts
index 212df5f0..4184bccb 100644
--- a/src/.vuepress/config.ts
+++ b/src/.vuepress/config.ts
@@ -84,47 +84,47 @@ _paq.push(['enableLinkTracking']);
})();
`,
],
- [
- 'script',
- {
- async: true,
- src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
- 'data-website-id': '2d37bfdd-8d98-40ba-9223-9d4f81bfb327',
- // 'data-language': 'zh',
- 'data-project-name': 'Apache IoTDB',
- 'data-project-color': '#9E2878',
- 'data-button-image-height': '0px',
- 'data-button-image-width': '0px',
- // 'data-button-bg-color': '#FFF',
- // 'data-button-text-color': '#9E2878',
- 'data-project-logo': 'https://iotdb.apache.org/slogo.png',
- 'data-button-position-right': '16px',
- 'data-button-position-bottom': '120px',
- 'data-button-height': '50px',
- 'data-button-width': '50px',
- 'data-button-text': 'Ask',
- 'data-modal-image-width': '150px',
- 'data-modal-title': 'AI Docs',
- // 'data-modal-disclaimer':
- // 'This is a custom LLM with access to all [Kapa documentation](https://docs.kapa.ai).',
- // 'data-modal-example-questions':
- // 'How do I get started?,How to add example questions?',
- 'data-user-analytics-fingerprint-enabled': 'true',
- // 'data-modal-x-offset': '0',
- // 'data-modal-y-offset': '0',
- // 'data-modal-with-overlay': 'false',
- // 'data-modal-inner-flex-direction': 'column',
- // 'data-modal-inner-justify-content': 'end',
- // 'data-modal-inner-max-width': '500px',
- // 'data-modal-inner-position-left': 'auto',
- // 'data-modal-inner-position-right': '0',
- // 'data-modal-inner-position-bottom': '0',
- // 'data-modal-inner-position-top': '0',
- // 'data-modal-size': '100vh',
- // 'data-modal-lock-scroll': 'false',
- // 'data-modal-header-bg-color': '#fff',
- },
- ],
+ // [
+ // 'script',
+ // {
+ // async: true,
+ // src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
+ // 'data-website-id': '2d37bfdd-8d98-40ba-9223-9d4f81bfb327',
+ // // 'data-language': 'zh',
+ // 'data-project-name': 'Apache IoTDB',
+ // 'data-project-color': '#9E2878',
+ // 'data-button-image-height': '0px',
+ // 'data-button-image-width': '0px',
+ // // 'data-button-bg-color': '#FFF',
+ // // 'data-button-text-color': '#9E2878',
+ // 'data-project-logo': 'https://iotdb.apache.org/slogo.png',
+ // 'data-button-position-right': '16px',
+ // 'data-button-position-bottom': '120px',
+ // 'data-button-height': '50px',
+ // 'data-button-width': '50px',
+ // 'data-button-text': 'Ask',
+ // 'data-modal-image-width': '150px',
+ // 'data-modal-title': 'AI Docs',
+ // // 'data-modal-disclaimer':
+ // // 'This is a custom LLM with access to all [Kapa documentation](https://docs.kapa.ai).',
+ // // 'data-modal-example-questions':
+ // // 'How do I get started?,How to add example questions?',
+ // 'data-user-analytics-fingerprint-enabled': 'true',
+ // // 'data-modal-x-offset': '0',
+ // // 'data-modal-y-offset': '0',
+ // // 'data-modal-with-overlay': 'false',
+ // // 'data-modal-inner-flex-direction': 'column',
+ // // 'data-modal-inner-justify-content': 'end',
+ // // 'data-modal-inner-max-width': '500px',
+ // // 'data-modal-inner-position-left': 'auto',
+ // // 'data-modal-inner-position-right': '0',
+ // // 'data-modal-inner-position-bottom': '0',
+ // // 'data-modal-inner-position-top': '0',
+ // // 'data-modal-size': '100vh',
+ // // 'data-modal-lock-scroll': 'false',
+ // // 'data-modal-header-bg-color': '#fff',
+ // },
+ // ],
],
shouldPrefetch: false,
diff --git a/src/.vuepress/public/.htaccess b/src/.vuepress/public/.htaccess
index a2ece6cb..b6c11b98 100644
--- a/src/.vuepress/public/.htaccess
+++ b/src/.vuepress/public/.htaccess
@@ -6,4 +6,4 @@ RewriteRule . /404.html [L]
ErrorDocument 404 /404.html
-Header set Content-Security-Policy "default-src data: blob: 'self' *.apache.org *.githubusercontent.com *.github.com *.algolia.net *.algolianet.com *.kapa.ai www.google.com *.gstatic.com *.apachecon.com *.communityovercode.org 'unsafe-inline' 'unsafe-eval'; frame-src 'self' data: blob:; frame-ancestors 'self'; worker-src 'self' data: blob:; img-src 'self' blob: data: https: *.apache.org www.apachecon.com; style-src 'self' 'unsafe-inline' data:;"
\ No newline at end of file
+Header set Content-Security-Policy "default-src data: blob: 'self' *.apache.org *.githubusercontent.com *.github.com *.algolia.net *.algolianet.com *.kapa.ai www.google.com *.gstatic.com *.apachecon.com *.communityovercode.org 'unsafe-inline' 'unsafe-eval'; frame-src 'self' www.google.com data: blob:; frame-ancestors 'self'; worker-src 'self' data: blob:; img-src 'self' blob: data: https: *.apache.org www.apachecon.com; style-src 'self' 'unsafe-inline' data:;"
\ No newline at end of file