diff --git a/lib/__tests__/build-files.tests.js b/lib/__tests__/build-files.tests.js index 55155ef716..fe92052e7b 100644 --- a/lib/__tests__/build-files.tests.js +++ b/lib/__tests__/build-files.tests.js @@ -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 cssnano = require('cssnano'); const filepath = require('filepath'); const fm = require('front-matter'); diff --git a/lib/core/MarkdownBlock.js b/lib/core/MarkdownBlock.js index 1568f9ff47..a370593d5a 100644 --- a/lib/core/MarkdownBlock.js +++ b/lib/core/MarkdownBlock.js @@ -5,13 +5,12 @@ * LICENSE file in the root directory of this source tree. */ -/** - * The MarkdownBlock component is used to parse markdown and render to HTML. - */ - const React = require('react'); const Remarkable = require('./Remarkable'); +/** + * The MarkdownBlock component is used to parse markdown and render to HTML. + */ class MarkdownBlock extends React.Component { render() { return ; diff --git a/lib/core/Remarkable.js b/lib/core/Remarkable.js index c25cdcfdcb..edb4400af8 100644 --- a/lib/core/Remarkable.js +++ b/lib/core/Remarkable.js @@ -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. + */ + 'use strict'; const React = require('react'); diff --git a/lib/core/__tests__/anchors.tests.js b/lib/core/__tests__/anchors.tests.js index c9530f265b..4af6032bcd 100644 --- a/lib/core/__tests__/anchors.tests.js +++ b/lib/core/__tests__/anchors.tests.js @@ -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 anchors = require('../anchors'); const md = { diff --git a/lib/core/__tests__/getTOC.tests.js b/lib/core/__tests__/getTOC.tests.js index da0e62a005..0826df9378 100644 --- a/lib/core/__tests__/getTOC.tests.js +++ b/lib/core/__tests__/getTOC.tests.js @@ -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 readFileSync = require('fs').readFileSync; const getTOC = require('../getTOC'); diff --git a/lib/core/__tests__/toSlug.tests.js b/lib/core/__tests__/toSlug.tests.js index 9d472c547c..74397e4395 100644 --- a/lib/core/__tests__/toSlug.tests.js +++ b/lib/core/__tests__/toSlug.tests.js @@ -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 toSlug = require('../toSlug'); [ diff --git a/lib/core/anchors.js b/lib/core/anchors.js index 969b5b7634..1b5a41db0a 100644 --- a/lib/core/anchors.js +++ b/lib/core/anchors.js @@ -4,6 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ + const toSlug = require('./toSlug.js'); /** diff --git a/lib/core/renderMarkdown.js b/lib/core/renderMarkdown.js index b219bc2b2d..f8327540c0 100644 --- a/lib/core/renderMarkdown.js +++ b/lib/core/renderMarkdown.js @@ -7,6 +7,7 @@ const hljs = require('highlight.js'); const Markdown = require('remarkable'); + const anchors = require('./anchors.js'); const CWD = process.cwd(); diff --git a/lib/static/css/main.css b/lib/static/css/main.css index 0c8ff7cd4e..7086e76481 100644 --- a/lib/static/css/main.css +++ b/lib/static/css/main.css @@ -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. + */ + /* Reset */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, diff --git a/website/static/css/custom.css b/website/static/css/custom.css index fd3fedc79f..3356af39ee 100644 --- a/website/static/css/custom.css +++ b/website/static/css/custom.css @@ -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. + */ + .testimonials img { border-radius: 50%; }