chore(v2): add Facebook copyright headers (#1067)

This commit is contained in:
Yangshun Tay 2018-10-25 17:03:19 -07:00 committed by GitHub
parent fd780f19a2
commit c9e29c86a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
112 changed files with 808 additions and 43 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.
*/
const path = require('path');
const globby = require('globby');
const createOrder = require('./order');

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.
*/
const fs = require('fs-extra');
const path = require('path');
const {getSubFolder, idx, parse} = require('../utils');

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.
*/
// build the docs meta such as next, previous, category and sidebar
module.exports = function createOrder(allSidebars = {}) {

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.
*/
const fs = require('fs-extra');
const path = require('path');
const {idx} = require('../utils');