Skip to content

Commit

Permalink
chore: add final copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun committed Oct 27, 2018
1 parent c733646 commit 7488de2
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 10 deletions.
7 changes: 7 additions & 0 deletions v1/lib/server/__tests__/__fixtures__/sidebar.js
Original file line number Diff line number Diff line change
@@ -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 = {
docs: {
'First Category': ['doc1', 'doc2'],
Expand Down
1 change: 1 addition & 0 deletions v1/lib/server/__tests__/__fixtures__/test.css
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/

.hljs {
margin-left: -15px;
margin-right: -15px;
Expand Down
25 changes: 15 additions & 10 deletions v1/lib/static/css/prism.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
/**
* 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.
*
* Modified prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/

code[class*="language-"],
pre[class*="language-"] {
code[class*='language-'],
pre[class*='language-'] {
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
Expand All @@ -25,16 +30,16 @@ pre[class*="language-"] {
}

/* Code blocks */
pre[class*="language-"] {
pre[class*='language-'] {
padding: 1em;
margin: .5em 0;
margin: 0.5em 0;
overflow: auto;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
:not(pre) > code[class*='language-'] {
padding: 0.1em;
border-radius: 0.3em;
white-space: normal;
}

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

.namespace {
opacity: .7;
opacity: 0.7;
}

.token.property,
Expand Down Expand Up @@ -88,7 +93,7 @@ pre[class*="language-"] {

.token.function,
.token.class-name {
color: #DD4A68;
color: #dd4a68;
}

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

.token.entity {
cursor: help;
}
}
7 changes: 7 additions & 0 deletions v2/test/__fixtures__/simple-site/siteConfig.js
Original file line number Diff line number Diff line change
@@ -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 = {
title: 'Hello',
tagline: 'Hello World',
Expand Down

0 comments on commit 7488de2

Please sign in to comment.