Skip to content

Commit 2a98d24

Browse files
committed
Add custom view-only notebook factory
1 parent 96f5686 commit 2a98d24

File tree

5 files changed

+200
-391
lines changed

5 files changed

+200
-391
lines changed

src/index.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { Commands } from './commands';
1616
import { competitions } from './pages/competitions';
1717
import { notebookPlugin } from './pages/notebook';
1818
import { generateDefaultNotebookName } from './notebook-name';
19+
import { readonlyNotebookFactoryPlugin } from './readonly-notebook';
1920

2021
/**
2122
* Generate a shareable URL for the currently active notebook.
@@ -236,4 +237,11 @@ const plugin: JupyterFrontEndPlugin<void> = {
236237
}
237238
};
238239

239-
export default [plugin, notebookPlugin, files, competitions, customSidebar];
240+
export default [
241+
readonlyNotebookFactoryPlugin,
242+
plugin,
243+
notebookPlugin,
244+
files,
245+
competitions,
246+
customSidebar
247+
];

0 commit comments

Comments
 (0)