mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-12 08:37:25 +02:00
chore(v1): add Facebook copyright headers (#1068)
This commit is contained in:
parent
c9e29c86a5
commit
13b23edd12
10 changed files with 66 additions and 2 deletions
|
@ -1,5 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
##
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
DOCS_VERSION_COMMAND="run version"
|
DOCS_VERSION_COMMAND="run version"
|
||||||
|
|
||||||
echo "Select an option for release:"
|
echo "Select an option for release:"
|
||||||
|
|
|
@ -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 = {
|
||||||
env: {
|
env: {
|
||||||
test: {
|
test: {
|
||||||
|
|
|
@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
const babelConfig = require('./babel.config');
|
const babelConfig = require('./babel.config');
|
||||||
|
|
||||||
module.exports = require('babel-jest').createTransformer(babelConfig);
|
module.exports = require('babel-jest').createTransformer(babelConfig);
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
* This source code is licensed under the MIT license found in the
|
* This source code is licensed under the MIT license found in the
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require('@babel/polyfill');
|
require('@babel/polyfill');
|
||||||
const filepath = require('filepath');
|
const filepath = require('filepath');
|
||||||
const fm = require('front-matter');
|
const fm = require('front-matter');
|
||||||
|
|
|
@ -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 = {
|
||||||
'en-doc1': {
|
'en-doc1': {
|
||||||
id: 'en-doc1',
|
id: 'en-doc1',
|
||||||
|
|
|
@ -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 = {
|
||||||
'en-doc1': {
|
'en-doc1': {
|
||||||
id: 'en-doc1',
|
id: 'en-doc1',
|
||||||
|
|
|
@ -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: {
|
||||||
'First Category': ['doc1', 'doc2'],
|
'First Category': ['doc1', 'doc2'],
|
||||||
|
|
|
@ -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 = [
|
||||||
// Please add your logo in alphabetical order of caption.
|
// Please add your logo in alphabetical order of caption.
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
/* "Copy" code block button */
|
/* "Copy" code block button */
|
||||||
pre {
|
pre {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -13,7 +20,7 @@ pre .btnIcon {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
transition: all .25s ease-out;
|
transition: all 0.25s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .btnIcon:hover {
|
pre .btnIcon:hover {
|
||||||
|
@ -27,7 +34,7 @@ pre .btnIcon:hover {
|
||||||
|
|
||||||
.btnIcon svg {
|
.btnIcon svg {
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
margin-right: .4em;
|
margin-right: 0.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btnIcon__label {
|
.btnIcon__label {
|
||||||
|
|
|
@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
// Turn off ESLint for this file because it's sent down to users as-is.
|
// Turn off ESLint for this file because it's sent down to users as-is.
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
window.addEventListener('load', function() {
|
window.addEventListener('load', function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue