Browse Source

Add a bunch of copyrights.

Ian Rose 6 years ago
parent
commit
d8c17aa369

+ 3 - 0
packages/toc/src/generators/index.ts

@@ -1,3 +1,6 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
 export * from './markdowndocgenerator';
 export * from './markdowndocgenerator';
 export * from './latexgenerator';
 export * from './latexgenerator';
 export * from './notebookgenerator';
 export * from './notebookgenerator';

+ 3 - 0
packages/toc/src/generators/markdowndocgenerator/optionsmanager.ts

@@ -1,3 +1,6 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
 import { TableOfContentsRegistry } from '../../registry';
 import { TableOfContentsRegistry } from '../../registry';
 
 
 import { TableOfContents } from '../../toc';
 import { TableOfContents } from '../../toc';

+ 3 - 0
packages/toc/src/generators/markdowndocgenerator/toolbargenerator.tsx

@@ -1,3 +1,6 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
 import { MarkdownDocGeneratorOptionsManager } from './optionsmanager';
 import { MarkdownDocGeneratorOptionsManager } from './optionsmanager';
 
 
 import * as React from 'react';
 import * as React from 'react';

+ 3 - 0
packages/toc/src/generators/notebookgenerator/codemirror.tsx

@@ -1,3 +1,6 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
 import * as React from 'react';
 import * as React from 'react';
 
 
 import { INotebookHeading } from '../shared';
 import { INotebookHeading } from '../shared';

+ 1 - 0
packages/toc/src/generators/notebookgenerator/index.ts

@@ -1,5 +1,6 @@
 // Copyright (c) Jupyter Development Team.
 // Copyright (c) Jupyter Development Team.
 // Distributed under the terms of the Modified BSD License.
 // Distributed under the terms of the Modified BSD License.
+
 import { ISanitizer } from '@jupyterlab/apputils';
 import { ISanitizer } from '@jupyterlab/apputils';
 
 
 import {
 import {

+ 3 - 0
packages/toc/src/generators/notebookgenerator/optionsmanager.ts

@@ -1,3 +1,6 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
 import { ISanitizer } from '@jupyterlab/apputils';
 import { ISanitizer } from '@jupyterlab/apputils';
 
 
 import { INotebookTracker } from '@jupyterlab/notebook';
 import { INotebookTracker } from '@jupyterlab/notebook';

+ 3 - 0
packages/toc/src/generators/notebookgenerator/tagstool/index.tsx

@@ -1,3 +1,6 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
 import { INotebookTracker } from '@jupyterlab/notebook';
 import { INotebookTracker } from '@jupyterlab/notebook';
 import { Cell } from '@jupyterlab/cells';
 import { Cell } from '@jupyterlab/cells';
 import { TagListComponent } from './tagslist';
 import { TagListComponent } from './tagslist';

+ 3 - 0
packages/toc/src/generators/notebookgenerator/tagstool/tag.tsx

@@ -1,3 +1,6 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
 import * as React from 'react';
 import * as React from 'react';
 
 
 export interface ITagComponentProps {
 export interface ITagComponentProps {

+ 3 - 0
packages/toc/src/generators/notebookgenerator/tagstool/tagslist.tsx

@@ -1,3 +1,6 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
 import { TagComponent } from './tag';
 import { TagComponent } from './tag';
 
 
 import * as React from 'react';
 import * as React from 'react';

+ 3 - 0
packages/toc/src/generators/notebookgenerator/toolbargenerator.tsx

@@ -1,3 +1,6 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
 import { INotebookTracker } from '@jupyterlab/notebook';
 import { INotebookTracker } from '@jupyterlab/notebook';
 
 
 import { NotebookGeneratorOptionsManager } from './optionsmanager';
 import { NotebookGeneratorOptionsManager } from './optionsmanager';

+ 3 - 0
packages/toc/src/generators/shared.ts

@@ -1,3 +1,6 @@
+// Copyright (c) Jupyter Development Team.
+// Distributed under the terms of the Modified BSD License.
+
 import { Cell } from '@jupyterlab/cells';
 import { Cell } from '@jupyterlab/cells';
 import { IHeading } from '../toc';
 import { IHeading } from '../toc';
 
 

+ 1 - 1
packages/toc/tslint.json

@@ -60,7 +60,7 @@
       "check-whitespace"
       "check-whitespace"
     ],
     ],
     "one-variable-per-declaration": [true, "ignore-for-loop"],
     "one-variable-per-declaration": [true, "ignore-for-loop"],
-    "quotemark": [true, "single", "avoid-escape"],
+    "quotemark": [true, "single", "avoid-escape", "jsx-double"],
     "radix": true,
     "radix": true,
     "semicolon": [true, "always", "ignore-bound-class-methods"],
     "semicolon": [true, "always", "ignore-bound-class-methods"],
     "switch-default": true,
     "switch-default": true,