chore: add missing facebook copyright header

This commit is contained in:
endiliey 2019-11-27 16:50:20 +07:00
parent ceea69df2f
commit bd5bdb91f7
24 changed files with 127 additions and 1 deletions

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* your custom css */ /* your custom css */
@media only screen and (min-device-width: 360px) and (max-device-width: 736px) { @media only screen and (min-device-width: 360px) and (max-device-width: 736px) {

View file

@ -12,7 +12,7 @@ import vfile from 'to-vfile';
import plugin from '../index'; import plugin from '../index';
const processFixture = async (name, options) => { const processFixture = async (name, options) => {
const path = join(__dirname, 'fixtures', `${name}.mdx`); const path = join(__dirname, 'fixtures', `${name}.md`);
const file = await vfile.read(path); const file = await vfile.read(path);
const result = await remark() const result = await remark()
.use(mdx) .use(mdx)

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import path from 'path'; import path from 'path';
import {generateBlogFeed} from '../blogUtils'; import {generateBlogFeed} from '../blogUtils';
import {LoadContext} from '@docusaurus/types'; import {LoadContext} from '@docusaurus/types';

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export interface BlogContent { export interface BlogContent {
blogPosts: BlogPost[]; blogPosts: BlogPost[];
blogListPaginated: BlogPaginated[]; blogListPaginated: BlogPaginated[];

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = { module.exports = {
docs: [ docs: [
{ {

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
.codeBlockWrapper { .codeBlockWrapper {
position: relative; position: relative;
} }

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
.mdxCodeBlock { .mdxCodeBlock {
background-color: transparent; background-color: transparent;
border-radius: var(--ifm-global-radius); border-radius: var(--ifm-global-radius);

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {Loader, Configuration} from 'webpack'; import {Loader, Configuration} from 'webpack';
import {Command} from 'commander'; import {Command} from 'commander';
import {ParsedUrlQueryInput} from 'querystring'; import {ParsedUrlQueryInput} from 'querystring';

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = function() { module.exports = function() {
return { return {
name: 'plugin-empty', name: 'plugin-empty',

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = function() { module.exports = function() {
return { return {
name: 'plugin-foo-bar', name: 'plugin-foo-bar',

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = function() { module.exports = function() {
return { return {
plugin: 'plugin-hello-world', plugin: 'plugin-hello-world',

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = function preset(context, opts = {}) { module.exports = function preset(context, opts = {}) {
return { return {
plugins: [ plugins: [

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = function preset(context, opts = {}) { module.exports = function preset(context, opts = {}) {
return { return {
plugins: [ plugins: [

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = function preset(context, opts = {}) { module.exports = function preset(context, opts = {}) {
return { return {
themes: [['@docusaurus/theme-classic', opts.test]], themes: [['@docusaurus/theme-classic', opts.test]],

View file

@ -1 +1,8 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export default () => null; export default () => null;

View file

@ -1 +1,8 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export default () => null; export default () => null;

View file

@ -1 +1,8 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export default () => null; export default () => null;

View file

@ -1 +1,8 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export default () => null; export default () => null;

View file

@ -1,3 +1,10 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
.browserWindow { .browserWindow {
border: 3px solid var(--ifm-color-emphasis-200); border: 3px solid var(--ifm-color-emphasis-200);
border-top-left-radius: var(--ifm-global-radius); border-top-left-radius: var(--ifm-global-radius);