Skip to content

Commit

Permalink
[doc](website)Replace CDN files with local files (apache#10212)
Browse files Browse the repository at this point in the history
Replace CDN files with local files
  • Loading branch information
wangyf0555 authored Jun 17, 2022
1 parent f7789f4 commit fea815f
Show file tree
Hide file tree
Showing 10 changed files with 183 additions and 57 deletions.
108 changes: 55 additions & 53 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
37 changes: 36 additions & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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.

----------------------------------------------------------------------------------
6 changes: 3 additions & 3 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 描述
Expand All @@ -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" }],
Expand Down
12 changes: 12 additions & 0 deletions docs/.vuepress/public/css/animate.min.css

Large diffs are not rendered by default.

47 changes: 47 additions & 0 deletions docs/.vuepress/public/font/font.css
Original file line number Diff line number Diff line change
@@ -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";
}

25 changes: 25 additions & 0 deletions docs/.vuepress/public/font/font_3319292_bdqvc63l075.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions docs/.vuepress/public/js/jquery.min.js

Large diffs are not rendered by default.

0 comments on commit fea815f

Please sign in to comment.