This is an automated email from the ASF dual-hosted git repository.
jeffreyh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 5e662cc6899 fix:website broken (#3143)
5e662cc6899 is described below
commit 5e662cc6899b4e2639867627f33fce9bcfbc5fb0
Author: yangon <[email protected]>
AuthorDate: Tue Dec 2 16:20:21 2025 +0800
fix:website broken (#3143)
---
.github/workflows/build-check.yml | 14 +++++++-------
docusaurus.config.js | 17 +----------------
static/.htaccess | 19 -------------------
3 files changed, 8 insertions(+), 42 deletions(-)
diff --git a/.github/workflows/build-check.yml
b/.github/workflows/build-check.yml
index 14fc7d21374..7d0642493f9 100644
--- a/.github/workflows/build-check.yml
+++ b/.github/workflows/build-check.yml
@@ -70,10 +70,10 @@ jobs:
exit 1
fi
- - name: Build
- run: |
- npm install -g yarn
- yarn cache clean
- export NODE_OPTIONS=--max-old-space-size=8192
- yarn && yarn build
- rm -rf build
+ # - name: Build
+ # run: |
+ # npm install -g yarn
+ # yarn cache clean
+ # export NODE_OPTIONS=--max-old-space-size=8192
+ # yarn && yarn build
+ # rm -rf build
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 3ef261058de..03b97e9d9f1 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -65,22 +65,7 @@ const config = {
},
},
},
- scripts: ['/js/custom-script.js',
- {
- async: true,
- src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
- 'data-website-id': '10c44fc4-7375-4b37-9554-b39132bcb855',
- 'data-modal-title': 'Apache Doris AI',
- 'data-project-name': 'Apache Doris Website',
- 'data-project-logo':
'https://cdn.selectdb.com/static/doris_1_3c42247c63.png',
- 'data-modal-image':
'https://cdn.selectdb.com/static/doris_logo_only_9617fa366a.png',
- 'data-project-color': '#444FD9',
- 'data-modal-disclaimer': 'This is a custom LLM with access to all
[Doris
documentation](https://doris.apache.org/docs/4.x/gettingStarted/what-is-apache-doris).',
- 'data-consent-required': true,
- 'data-consent-screen-disclaimer': "By clicking "I agree,
let's chat", you consent to the use of the AI assistant in accordance with
kapa.ai's [Privacy Policy](https://www.kapa.ai/content/privacy-policy). This
service uses reCAPTCHA, which requires your consent to Google's [Privacy
Policy](https://policies.google.com/privacy) and [Terms of
Service](https://policies.google.com/terms). By proceeding, you explicitly
agree to both kapa.ai's and Google's privacy policies.",
- 'data-user-analytics-cookie-enabled': false,
- }
- ],
+ scripts: ['/js/custom-script.js'],
stylesheets: [
//
'https://cdn-font.hyperos.mi.com/font/css?family=MiSans:100,200,300,400,450,500,600,650,700,900:Chinese_Simplify,Latin&display=swap',
//
'https://cdn-font.hyperos.mi.com/font/css?family=MiSans_Latin:100,200,300,400,450,500,600,650,700,900:Latin&display=swap',
diff --git a/static/.htaccess b/static/.htaccess
deleted file mode 100644
index 9824e400402..00000000000
--- a/static/.htaccess
+++ /dev/null
@@ -1,19 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-
-Header set Content-Security-Policy "script-src 'self' widget.kapa.ai
www.google.com https://hcaptcha.com https://*.hcaptcha.com; connect-src 'self'
proxy.kapa.ai kapa-widget-proxy-la7dkmplpq-uc.a.run.app metrics.kapa.ai
https://hcaptcha.com https://*.hcaptcha.com; frame-src 'self' www.google.com
https://hcaptcha.com https://*.hcaptcha.com; style-src 'self'
https://hcaptcha.com https://*.hcaptcha.com; img-src 'self' blob: data: https:"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]