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

jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new fea815f290 [doc](website)Replace CDN files with local files (#10212)
fea815f290 is described below

commit fea815f2909b78842a3228b46ccfd368712310d7
Author: wangyongfeng <943155...@qq.com>
AuthorDate: Fri Jun 17 20:58:56 2022 +0800

    [doc](website)Replace CDN files with local files (#10212)
    
    Replace CDN files with local files
---
 .licenserc.yaml                                    | 108 +++++++++++----------
 LICENSE.txt                                        |  37 ++++++-
 docs/.vuepress/config.js                           |   6 +-
 docs/.vuepress/public/css/animate.min.css          |  12 +++
 docs/.vuepress/public/font/font.css                |  47 +++++++++
 .../public/font/font_3319292_bdqvc63l075.svg       |  25 +++++
 .../public/font/font_3319292_bdqvc63l075.ttf       | Bin 0 -> 2028 bytes
 .../public/font/font_3319292_bdqvc63l075.woff      | Bin 0 -> 1392 bytes
 .../public/font/font_3319292_bdqvc63l075.woff2     | Bin 0 -> 964 bytes
 docs/.vuepress/public/js/jquery.min.js             |   5 +
 10 files changed, 183 insertions(+), 57 deletions(-)

diff --git a/.licenserc.yaml b/.licenserc.yaml
index d9f95d1fc0..c620cbd7f9 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -4,58 +4,60 @@ header:
     copyright-owner: Apache Software Foundation
 
   paths-ignore:
-    - 'dist'
-    - 'licenses'
-    - '**/*.md'
-    - 'LICENSE'
-    - 'NOTICE'
-    - 'DISCLAIMER'
-    - '.clang-format'
-    - '.clang-format-ignore'
-    - '.clang-tidy'
-    - '.gitattributes'
-    - '.gitignore'
-    - '.gitmodules'
-    - '.licenserc.yaml'
-    - '.rat-excludes'
-    - 'be/src/common/status.cpp'
-    - 'be/src/common/status.h'
-    - 'be/src/env/env.h'
-    - 'be/src/env/env_posix.cpp'
-    - '**/glibc-compatibility/**'
-    - '**/gutil/**'
-    - '**/test_data/**'
-    - '**/jmockit/**'
-    - '**/*.json'
-    - '**/*.dat'
-    - '**/*.svg'
-    - '**/*.md5'
-    - '**/*.patch'
-    - '**/*.log'
-    - '**/*.sql'
-    - '**/*.lock'
-    - 'tsan_suppressions'
-    - 'docs/.markdownlintignore'
-    - 'fe/fe-core/src/test/resources/data/net_snmp_normal'
-    - 'fe/fe-core/src/main/antlr4/org/apache/doris/nereids/JavaLexer.g4'
-    - 'fe/fe-core/src/main/antlr4/org/apache/doris/nereids/JavaParser.g4'
-    - 'be/src/common/signal_handler.h'
-    - 'be/src/olap/lru_cache.cpp'
-    - 'be/src/olap/lru_cache.h'
-    - 'be/src/olap/skiplist.h'
-    - 'be/src/runtime/string_search.hpp'
-    - 'be/src/util/coding.cpp'
-    - 'be/src/util/coding.h'
-    - 'be/src/util/condition_variable.cpp'
-    - 'be/src/util/condition_variable.h'
-    - 'be/src/util/murmur_hash3.cpp'
-    - 'be/src/util/murmur_hash3.h'
-    - 'be/src/util/mustache/mustache.cc'
-    - 'be/src/util/mustache/mustache.h'
-    - 'be/src/util/sse2neo.h'
-    - 'be/src/util/sse2neon.h'
-    - 'be/src/util/utf8_check.cpp'
-    - 'build-support/run_clang_format.py'
-    - 'regression-test/data'
+    - "dist"
+    - "licenses"
+    - "**/*.md"
+    - "LICENSE"
+    - "NOTICE"
+    - "DISCLAIMER"
+    - ".clang-format"
+    - ".clang-format-ignore"
+    - ".clang-tidy"
+    - ".gitattributes"
+    - ".gitignore"
+    - ".gitmodules"
+    - ".licenserc.yaml"
+    - ".rat-excludes"
+    - "be/src/common/status.cpp"
+    - "be/src/common/status.h"
+    - "be/src/env/env.h"
+    - "be/src/env/env_posix.cpp"
+    - "**/glibc-compatibility/**"
+    - "**/gutil/**"
+    - "**/test_data/**"
+    - "**/jmockit/**"
+    - "**/*.json"
+    - "**/*.dat"
+    - "**/*.svg"
+    - "**/*.md5"
+    - "**/*.patch"
+    - "**/*.log"
+    - "**/*.sql"
+    - "**/*.lock"
+    - "tsan_suppressions"
+    - "docs/.markdownlintignore"
+    - "fe/fe-core/src/test/resources/data/net_snmp_normal"
+    - "fe/fe-core/src/main/antlr4/org/apache/doris/nereids/JavaLexer.g4"
+    - "fe/fe-core/src/main/antlr4/org/apache/doris/nereids/JavaParser.g4"
+    - "be/src/common/signal_handler.h"
+    - "be/src/olap/lru_cache.cpp"
+    - "be/src/olap/lru_cache.h"
+    - "be/src/olap/skiplist.h"
+    - "be/src/runtime/string_search.hpp"
+    - "be/src/util/coding.cpp"
+    - "be/src/util/coding.h"
+    - "be/src/util/condition_variable.cpp"
+    - "be/src/util/condition_variable.h"
+    - "be/src/util/murmur_hash3.cpp"
+    - "be/src/util/murmur_hash3.h"
+    - "be/src/util/mustache/mustache.cc"
+    - "be/src/util/mustache/mustache.h"
+    - "be/src/util/sse2neo.h"
+    - "be/src/util/sse2neon.h"
+    - "be/src/util/utf8_check.cpp"
+    - "build-support/run_clang_format.py"
+    - "regression-test/data"
+    - "docs/.vuepress/public/css/animate.min.css"
+    - "docs/.vuepress/public/js/jquery.min.js"
 
   comment: on-failure
diff --git a/LICENSE.txt b/LICENSE.txt
index 8ca9617539..23d037d2ae 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -674,4 +674,39 @@ 
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/JavaParser.g4: BSD licence
  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ 
----------------------------------------------------------------------------------
+
+ docs/.vuepress/public/js/jquery.min.js: 
+
+ jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license
+
+----------------------------------------------------------------------------------
+
+ docs/.vuepress/public/css/animate.min.css: MIT license
+
+Animate.css - http://daneden.me/animate
+Licensed under the MIT license
+
+Copyright (c) 2013 Daniel Eden
+
+Permission is hereby granted, free of charge, to any person obtaining 
+a copy of this software and associated documentation files (the "Software"), 
+to deal in the Software without restriction, including without limitation 
+the rights to use, copy, modify, merge, publish, distribute, sublicense, 
+and/or sell copies of the Software, and to permit persons to whom the Software 
+is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included 
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
MERCHANTABILITY, 
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+----------------------------------------------------------------------------------
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 97477209c8..4e8c56bdb4 100755
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -66,14 +66,14 @@ module.exports = {
       "link",
       {
         rel: "stylesheet",
-        href: "//at.alicdn.com/t/font_3319292_bdqvc63l075.css",
+        href: "/font/font.css",
       },
     ],
     [
       "link",
       {
         rel: "stylesheet",
-        href: "https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css";,
+        href: "/css/animate.min.css",
       },
     ],
     // meta 描述
@@ -89,7 +89,7 @@ module.exports = {
       "script",
       {
         type: "text/javascript",
-        src: "https://cdn.jsdelivr.net/npm/jquery@2.1.4/dist/jquery.min.js";,
+        src: "/js/jquery.min.js",
       },
     ],
     ["script", { type: "text/javascript", src: "/js/xRoll.js" }],
diff --git a/docs/.vuepress/public/css/animate.min.css 
b/docs/.vuepress/public/css/animate.min.css
new file mode 100644
index 0000000000..8ae4afdb46
--- /dev/null
+++ b/docs/.vuepress/public/css/animate.min.css
@@ -0,0 +1,12 @@
+@charset "UTF-8";/*!
+Animate.css - http://daneden.me/animate
+Licensed under the MIT license
+
+Copyright (c) 2013 Daniel Eden
+
+Permission is hereby granted, free of charge, to any person obtaining a copy 
of this software and associated documentation files (the "Software"), to deal 
in the Software without restriction, including without limitation the rights to 
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the Software, and to permit persons to whom the Software is furnished to do 
so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all 
copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
SOFTWARE.
+*/.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes
 
bounce{0%,100%,20%,50%,80%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-1
 [...]
\ No newline at end of file
diff --git a/docs/.vuepress/public/font/font.css 
b/docs/.vuepress/public/font/font.css
new file mode 100644
index 0000000000..213dd138de
--- /dev/null
+++ b/docs/.vuepress/public/font/font.css
@@ -0,0 +1,47 @@
+/*
+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.
+*/
+
+@font-face {
+  font-family: "doris"; /* Project id 3319292 */
+  src: url('font_3319292_bdqvc63l075.woff2?t=1649753790557') format('woff2'),
+       url('font_3319292_bdqvc63l075.woff?t=1649753790557') format('woff'),
+       url('font_3319292_bdqvc63l075.ttf?t=1649753790557') format('truetype'),
+       url('font_3319292_bdqvc63l075.svg?t=1649753790557#doris') format('svg');
+}
+
+.doris {
+  font-family: "doris" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+.doris-jiantou_xiangyouliangci:before {
+  content: "\eb09";
+}
+
+.doris-github-fill:before {
+  content: "\e885";
+}
+
+.doris-xiala:before {
+  content: "\e62a";
+}
+
diff --git a/docs/.vuepress/public/font/font_3319292_bdqvc63l075.svg 
b/docs/.vuepress/public/font/font_3319292_bdqvc63l075.svg
new file mode 100644
index 0000000000..72f78fe10a
--- /dev/null
+++ b/docs/.vuepress/public/font/font_3319292_bdqvc63l075.svg
@@ -0,0 +1,25 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"; >
+<svg xmlns="http://www.w3.org/2000/svg";>
+  <metadata>Created by iconfont</metadata>
+  <defs>
+  <font id="doris" horiz-adv-x="1024">
+    <font-face
+      font-family="doris"
+      font-weight="400"
+      font-stretch="normal"
+      units-per-em="1024"
+      ascent="896"
+      descent="-128"
+    />
+      <missing-glyph />
+      
+      <glyph glyph-name="jiantou_xiangyouliangci" unicode="&#60169;" d="M550.4 
405.333333L230.4 725.333333 170.666667 665.6l260.266666-260.266667L170.666667 
145.066667 230.4 85.333333l320 320z m298.666667 0L533.333333 725.333333 
469.333333 665.6l260.266667-260.266667-260.266667-260.266666 
59.733334-59.733334 320 320z"  horiz-adv-x="1024" />
+      
+      <glyph glyph-name="github-fill" unicode="&#59525;" d="M511.6 819.7C264.3 
819.8 64 619.6 64 372.5 64 177.1 189.3 11 363.8-50c23.5-5.9 19.9 10.8 19.9 
22.2v77.5c-135.7-15.9-141.2 73.9-150.3 88.9C215 170 171.5 178 184.5 193c30.9 
15.9 62.4-4 98.9-57.9 26.4-39.1 77.9-32.5 104-26 5.7 23.5 17.9 44.5 34.7 
60.8-140.6 25.2-199.2 111-199.2 213 0 49.5 16.3 95 48.3 131.7-20.4 60.5 1.9 
112.3 4.9 120 58.1 5.2 118.5-41.6 123.2-45.3 33 8.9 70.7 13.6 112.9 13.6 42.4 0 
80.2-4.9 113.5-13.9 11.3 8.6 67. [...]
+      
+      <glyph glyph-name="xiala" unicode="&#58922;" d="M142.805333 
630.826667A58.666667 58.666667 0 1 1 59.861333 
547.84l410.666667-410.666667a58.666667 58.666667 0 0 1 82.944 0l410.666667 
410.666667a58.666667 58.666667 0 1 1-82.944 82.986667L512 261.632 142.805333 
630.826667z"  horiz-adv-x="1024" />
+      
+    </font>
+  </defs>
+</svg>
diff --git a/docs/.vuepress/public/font/font_3319292_bdqvc63l075.ttf 
b/docs/.vuepress/public/font/font_3319292_bdqvc63l075.ttf
new file mode 100644
index 0000000000..35523447f2
Binary files /dev/null and 
b/docs/.vuepress/public/font/font_3319292_bdqvc63l075.ttf differ
diff --git a/docs/.vuepress/public/font/font_3319292_bdqvc63l075.woff 
b/docs/.vuepress/public/font/font_3319292_bdqvc63l075.woff
new file mode 100644
index 0000000000..0d27689299
Binary files /dev/null and 
b/docs/.vuepress/public/font/font_3319292_bdqvc63l075.woff differ
diff --git a/docs/.vuepress/public/font/font_3319292_bdqvc63l075.woff2 
b/docs/.vuepress/public/font/font_3319292_bdqvc63l075.woff2
new file mode 100644
index 0000000000..cd14fd58e8
Binary files /dev/null and 
b/docs/.vuepress/public/font/font_3319292_bdqvc63l075.woff2 differ
diff --git a/docs/.vuepress/public/js/jquery.min.js 
b/docs/.vuepress/public/js/jquery.min.js
new file mode 100644
index 0000000000..fad9ab1237
--- /dev/null
+++ b/docs/.vuepress/public/js/jquery.min.js
@@ -0,0 +1,5 @@
+/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | 
jquery.org/license */
+!function(a,b){"object"==typeof module&&"object"==typeof 
module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw
 new Error("jQuery requires a window with a document");return 
b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var 
c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.4",n=function(a,b){return
 new 
n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=
 [...]
+return 
M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return
 
L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var
 c,d,e,f=this[0],g=f&&f.attributes;if(void 
0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return
 e}return"object"==typeof a?this.each(functio [...]
+void 0===c?d&&"get"in 
d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 
0:e):null!==c?d&&"set"in d&&void 
0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void 
n.removeAttr(a,b))},removeAttr:function(a,b){var 
c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&n.nodeName(a,"input")){var
 c=a.value;return a.setAttribute("type",b),c [...]
+//# sourceMappingURL=jquery.min.map
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to