Skip to content

Commit

Permalink
Add missing copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Oct 15, 2024
1 parent 5643799 commit 84a053e
Show file tree
Hide file tree
Showing 13 changed files with 80 additions and 116 deletions.
3 changes: 3 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Contributing

Learn more about [how to contribute](https://facebook.github.io/react-strict-dom/contribute/).
7 changes: 7 additions & 0 deletions apps/website/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')]
};
13 changes: 7 additions & 6 deletions apps/website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// @ts-check
// `@type` JSDoc annotations allow editor autocompletion and type checking
// (when paired with `@ts-check`).
// There are various equivalent ways to declare your Docusaurus config.
// See: https://docusaurus.io/docs/api/docusaurus-config
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { themes as prismThemes } from 'prism-react-renderer';

Expand Down Expand Up @@ -58,7 +59,7 @@ const config = {
},
footer: {
// Please do not remove the privacy and terms, it's a legal requirement.
copyright: `Copyright © ${new Date().getFullYear()} Meta Platforms Inc. <a target="_blank" href="https://opensource.fb.com/">Meta Open Source</a>. <a target="_blank" href="https://opensource.fb.com/legal/privacy/">Privacy</a> & <a target="_blank" href="https://opensource.fb.com/legal/terms/">Terms</a>.`
copyright: `Copyright © ${new Date().getFullYear()} Meta Platforms, Inc. <a target="_blank" href="https://opensource.fb.com/">Meta Open Source</a>. <a target="_blank" href="https://opensource.fb.com/legal/privacy/">Privacy</a> & <a target="_blank" href="https://opensource.fb.com/legal/terms/">Terms</a>.`
},
// Replace with your project's social card
image: './img/logo.svg',
Expand Down
14 changes: 4 additions & 10 deletions apps/website/sidebars.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

// @ts-check

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
Expand Down
7 changes: 7 additions & 0 deletions apps/website/src/components/IconAdopt.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

export function IconAdopt() {
return (
<svg
Expand Down
7 changes: 7 additions & 0 deletions apps/website/src/components/IconDocs.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

export function IconDocs() {
return (
<svg
Expand Down
7 changes: 7 additions & 0 deletions apps/website/src/components/IconFramework.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

export function IconFramework() {
return (
<svg
Expand Down
7 changes: 7 additions & 0 deletions apps/website/src/components/IconMarkup.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

export function IconMarkup() {
return (
<svg
Expand Down
27 changes: 0 additions & 27 deletions apps/website/src/components/IconStyle.js

This file was deleted.

7 changes: 7 additions & 0 deletions apps/website/src/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
Expand Down
7 changes: 7 additions & 0 deletions apps/website/src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import clsx from 'clsx';
import styles from './index.module.css';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
Expand Down
7 changes: 7 additions & 0 deletions apps/website/src/pages/index.module.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* CSS files with the .module.css suffix will be treated as CSS modules
* and scoped locally.
*/
Expand Down
Loading

0 comments on commit 84a053e

Please sign in to comment.