diff --git a/LICENSE b/LICENSE index 8dada3eda..0461dc543 100644 --- a/LICENSE +++ b/LICENSE @@ -199,3 +199,36 @@ 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. + + +======================================================================== +Docusaurus Theme Components (MIT License) +======================================================================== +The following files contain code adapted from Docusaurus (https://github.com/facebook/docusaurus): +Copyright (c) Facebook, Inc. and its affiliates. + + - src/theme/DocSidebar/Desktop/index.js + - src/theme/DocSidebar/Desktop/styles.module.css + - src/theme/DocSidebar/Desktop/Content/index.js + - src/theme/DocSidebar/Desktop/Content/styles.module.css + - src/theme/DocSidebar/Desktop/CollapseButton/index.js + - src/theme/DocSidebar/Desktop/CollapseButton/styles.module.css + - src/theme/NavbarItem/DocsVersionDropdownNavbarItem/index.js + +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/blog/authors.yml b/blog/authors.yml index 4a8ffac28..2721581f3 100644 --- a/blog/authors.yml +++ b/blog/authors.yml @@ -1,3 +1,20 @@ +# 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. + harmoncoffee: name: harmoncoffee title: Patrick Harmon diff --git a/config/doc-vars/cpp.ts b/config/doc-vars/cpp.ts index bd51c79c9..f0aa8d15f 100644 --- a/config/doc-vars/cpp.ts +++ b/config/doc-vars/cpp.ts @@ -1,3 +1,22 @@ +/* + * 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. + */ + const cppVars = { current: { min_java_version: '8', diff --git a/config/doc-vars/dotnet.ts b/config/doc-vars/dotnet.ts index 03aaa1e28..099a9f1d2 100644 --- a/config/doc-vars/dotnet.ts +++ b/config/doc-vars/dotnet.ts @@ -1,3 +1,22 @@ +/* + * 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. + */ + const dotnetVars = { current: { min_java_version: '8', diff --git a/config/doc-vars/geode.ts b/config/doc-vars/geode.ts index 75d01fb63..994d5aac0 100644 --- a/config/doc-vars/geode.ts +++ b/config/doc-vars/geode.ts @@ -1,3 +1,22 @@ +/* + * 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. + */ + const geodeVars = { current: { min_java_version: '8', diff --git a/config/remark/replace-doc-vars.ts b/config/remark/replace-doc-vars.ts index d228e6fe2..7dac01463 100644 --- a/config/remark/replace-doc-vars.ts +++ b/config/remark/replace-doc-vars.ts @@ -1,3 +1,22 @@ +/* + * 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. + */ + import {visit} from 'unist-util-visit'; type ReplacementMap = Record; diff --git a/licenserc.toml b/licenserc.toml index dda7ce00c..1bbf1619f 100644 --- a/licenserc.toml +++ b/licenserc.toml @@ -26,6 +26,9 @@ excludes = [ "**/*.md", "**/*.mdx", + # Third-party theme components (MIT License) + "src/theme/**", + # Meta files "NOTICE", ".nojekyll", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 77c98fff4..7f6362b5f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,34 +4,6 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false -overrides: - '@babel/core@^7.0.0': '>=7.29.6 <8.0.0' - '@babel/plugin-transform-modules-systemjs@^7.0.0': '>=7.29.4 <8.0.0' - baseline-browser-mapping: '>=2.11.0' - body-parser: '>=1.20.6' - brace-expansion: '>=1.1.21' - browserslist: '>=4.28.7' - colord: '>=2.9.4' - fast-uri: '>=3.1.8' - http-proxy-middleware: '>=2.0.10' - image-size: '>=2.0.3' - joi: '>=17.13.7' - js-yaml@^3.0.0: ^3.15.2 - js-yaml@^4.0.0: ^4.3.2 - launch-editor: '>=2.14.1' - nanoid@^3.0.0: ^3.3.18 - postcss-selector-parser: '>=7.1.6' - postcss: '>=8.5.23' - qs: '>=6.16.0' - serialize-javascript: '>=7.0.5' - shell-quote: '>=1.9.0' - svgo: '>=3.3.5' - uuid@^11.0.0: '>=11.1.1' - webpack-dev-server: '>=5.2.6' - websocket-driver: '>=0.7.5' - ws@^7.0.0: '>=7.5.11' - ws@^8.0.0: '>=8.21.0' - importers: .: diff --git a/src/theme/DocSidebar/Desktop/CollapseButton/index.js b/src/theme/DocSidebar/Desktop/CollapseButton/index.js index 2df337b58..713936882 100644 --- a/src/theme/DocSidebar/Desktop/CollapseButton/index.js +++ b/src/theme/DocSidebar/Desktop/CollapseButton/index.js @@ -1,3 +1,10 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import React from 'react'; import clsx from 'clsx'; import {translate} from '@docusaurus/Translate';