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 03:43:12 UTC

(iotdb-docs) branch main updated: add kapa and ensure accessibility (#957)

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

critas 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 c342c80a add  kapa and ensure accessibility (#957)
c342c80a is described below

commit c342c80ad7f708a3babb2e8622716e3d6259c968
Author: CritasWang <cr...@outlook.com>
AuthorDate: Tue Jan 6 11:43:07 2026 +0800

    add  kapa and ensure accessibility (#957)
    
    * add ask ai by kapa
    
    * Ensure accessibility
    
    * Ensure accessibility
    
    * change style
---
 src/.vuepress/config.ts        | 4 ++++
 src/.vuepress/public/.htaccess | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts
index 0ba66374..212df5f0 100644
--- a/src/.vuepress/config.ts
+++ b/src/.vuepress/config.ts
@@ -93,6 +93,10 @@ _paq.push(['enableLinkTracking']);
         // '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',
diff --git a/src/.vuepress/public/.htaccess b/src/.vuepress/public/.htaccess
index 7aaedcc5..0b186826 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 *.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:;"
+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 *.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