Skip to content

Commit c342c80

Browse files
authored
add kapa and ensure accessibility (#957)
* add ask ai by kapa * Ensure accessibility * Ensure accessibility * change style
1 parent 8cfa937 commit c342c80

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/.vuepress/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ _paq.push(['enableLinkTracking']);
9393
// 'data-language': 'zh',
9494
'data-project-name': 'Apache IoTDB',
9595
'data-project-color': '#9E2878',
96+
'data-button-image-height': '0px',
97+
'data-button-image-width': '0px',
98+
// 'data-button-bg-color': '#FFF',
99+
// 'data-button-text-color': '#9E2878',
96100
'data-project-logo': 'https://iotdb.apache.org/slogo.png',
97101
'data-button-position-right': '16px',
98102
'data-button-position-bottom': '120px',

src/.vuepress/public/.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ RewriteRule . /404.html [L]
66

77
ErrorDocument 404 /404.html
88

9-
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:;"
9+
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:;"

0 commit comments

Comments
 (0)