Skip to content

Commit 7488de2

Browse files
committed
chore: add final copyright headers
1 parent c733646 commit 7488de2

4 files changed

Lines changed: 30 additions & 10 deletions

File tree

v1/lib/server/__tests__/__fixtures__/sidebar.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) 2017-present, Facebook, Inc.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
module.exports = {
29
docs: {
310
'First Category': ['doc1', 'doc2'],

v1/lib/server/__tests__/__fixtures__/test.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*/
7+
78
.hljs {
89
margin-left: -15px;
910
margin-right: -15px;

v1/lib/static/css/prism.css

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
/**
2+
* Copyright (c) 2017-present, Facebook, Inc.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
27
* Modified prism.js default theme for JavaScript, CSS and HTML
38
* Based on dabblet (http://dabblet.com)
49
* @author Lea Verou
510
*/
611

7-
code[class*="language-"],
8-
pre[class*="language-"] {
12+
code[class*='language-'],
13+
pre[class*='language-'] {
914
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
1015
text-align: left;
1116
white-space: pre;
@@ -25,16 +30,16 @@ pre[class*="language-"] {
2530
}
2631

2732
/* Code blocks */
28-
pre[class*="language-"] {
33+
pre[class*='language-'] {
2934
padding: 1em;
30-
margin: .5em 0;
35+
margin: 0.5em 0;
3136
overflow: auto;
3237
}
3338

3439
/* Inline code */
35-
:not(pre) > code[class*="language-"] {
36-
padding: .1em;
37-
border-radius: .3em;
40+
:not(pre) > code[class*='language-'] {
41+
padding: 0.1em;
42+
border-radius: 0.3em;
3843
white-space: normal;
3944
}
4045

@@ -50,7 +55,7 @@ pre[class*="language-"] {
5055
}
5156

5257
.namespace {
53-
opacity: .7;
58+
opacity: 0.7;
5459
}
5560

5661
.token.property,
@@ -88,7 +93,7 @@ pre[class*="language-"] {
8893

8994
.token.function,
9095
.token.class-name {
91-
color: #DD4A68;
96+
color: #dd4a68;
9297
}
9398

9499
.token.regex,
@@ -107,4 +112,4 @@ pre[class*="language-"] {
107112

108113
.token.entity {
109114
cursor: help;
110-
}
115+
}

v2/test/__fixtures__/simple-site/siteConfig.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) 2017-present, Facebook, Inc.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
module.exports = {
29
title: 'Hello',
310
tagline: 'Hello World',

0 commit comments

Comments
 (0)