Skip to content

Commit

Permalink
lite
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Sep 3, 2023
1 parent 971d47f commit 0677c21
Show file tree
Hide file tree
Showing 910 changed files with 14,937 additions and 34 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ __pycache__/
build/
dist/
ex/
!_static/build
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## `0.1.0`

> TBD
14 changes: 14 additions & 0 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@
</li>


<li class="nav-item">
<a class="nav-link nav-internal" href="../changelog.html">
Changelog
</a>
</li>


<li class="nav-item">
<a class="nav-link nav-internal" href="../roadmap.html">
Roadmap
Expand Down Expand Up @@ -289,6 +296,13 @@
</li>


<li class="nav-item">
<a class="nav-link nav-internal" href="../changelog.html">
Changelog
</a>
</li>


<li class="nav-item">
<a class="nav-link nav-internal" href="../roadmap.html">
Roadmap
Expand Down
14 changes: 14 additions & 0 deletions _modules/repub/actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@
</li>


<li class="nav-item">
<a class="nav-link nav-internal" href="../../changelog.html">
Changelog
</a>
</li>


<li class="nav-item">
<a class="nav-link nav-internal" href="../../roadmap.html">
Roadmap
Expand Down Expand Up @@ -289,6 +296,13 @@
</li>


<li class="nav-item">
<a class="nav-link nav-internal" href="../../changelog.html">
Changelog
</a>
</li>


<li class="nav-item">
<a class="nav-link nav-internal" href="../../roadmap.html">
Roadmap
Expand Down
2 changes: 2 additions & 0 deletions _sources/changelog.md.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```{include} ../CHANGELOG.md
```
1 change: 1 addition & 0 deletions _sources/index.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
files
api
contributing
changelog
roadmap
```
883 changes: 883 additions & 0 deletions _static/SHA256SUMS

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions _static/api/contents/all.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"content": [
{
"content": null,
"created": "2020-02-02T00:00:00",
"format": null,
"last_modified": "2020-02-02T00:00:00",
"mimetype": null,
"name": "LICENSE",
"path": "./LICENSE",
"size": 1494,
"type": "file",
"writable": true
},
{
"content": null,
"created": "2020-02-02T00:00:00",
"format": null,
"last_modified": "2020-02-02T00:00:00",
"mimetype": "text/markdown",
"name": "ROADMAP.md",
"path": "./ROADMAP.md",
"size": 283,
"type": "file",
"writable": true
},
{
"content": null,
"created": "2020-02-02T00:00:00",
"format": null,
"last_modified": "2020-02-02T00:00:00",
"mimetype": "text/markdown",
"name": "CHANGELOG.md",
"path": "./CHANGELOG.md",
"size": 31,
"type": "file",
"writable": true
},
{
"content": null,
"created": "2020-02-02T00:00:00",
"format": null,
"last_modified": "2020-02-02T00:00:00",
"mimetype": "text/markdown",
"name": "README.md",
"path": "./README.md",
"size": 894,
"type": "file",
"writable": true
},
{
"content": null,
"created": "2020-02-02T00:00:00",
"format": null,
"last_modified": "2020-02-02T00:00:00",
"mimetype": "text/markdown",
"name": "CONTRIBUTING.md",
"path": "./CONTRIBUTING.md",
"size": 409,
"type": "file",
"writable": true
}
],
"created": "2020-02-02T00:00:00",
"format": "json",
"last_modified": "2020-02-02T00:00:00",
"mimetype": null,
"name": ".",
"path": ".",
"size": null,
"type": "directory",
"writable": true
}
9 changes: 9 additions & 0 deletions _static/api/translations/all.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"data": {
"en": {
"displayName": "English",
"nativeName": "English"
}
},
"message": ""
}
4 changes: 4 additions & 0 deletions _static/api/translations/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"data": {},
"message": ""
}
93 changes: 93 additions & 0 deletions _static/bootstrap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

// We copy some of the pageconfig parsing logic in @jupyterlab/coreutils
// below, since this must run before any other files are loaded (including
// @jupyterlab/coreutils).

/**
* Get global configuration data for the Jupyter application.
*
* @param name - The name of the configuration option.
*
* @returns The config value or an empty string if not found.
*
* #### Notes
* All values are treated as strings. For browser based applications, it is
* assumed that the page HTML includes a script tag with the id
* `jupyter-config-data` containing the configuration as valid JSON.
*/

let _CONFIG_DATA = null;
function getOption(name) {
if (_CONFIG_DATA === null) {
let configData = {};
// Use script tag if available.
if (typeof document !== 'undefined' && document) {
const el = document.getElementById('jupyter-config-data');

if (el) {
configData = JSON.parse(el.textContent || '{}');
}
}
_CONFIG_DATA = configData;
}

return _CONFIG_DATA[name] || '';
}

// eslint-disable-next-line no-undef
__webpack_public_path__ = getOption('fullStaticUrl') + '/';

function loadScript(url) {
return new Promise((resolve, reject) => {
const newScript = document.createElement('script');
newScript.onerror = reject;
newScript.onload = resolve;
newScript.async = true;
document.head.appendChild(newScript);
newScript.src = url;
});
}

async function loadComponent(url, scope) {
await loadScript(url);

// From https://webpack.js.org/concepts/module-federation/#dynamic-remote-containers
await __webpack_init_sharing__('default');
const container = window._JUPYTERLAB[scope];
// Initialize the container, it may provide shared modules and may need ours
await container.init(__webpack_share_scopes__.default);
}

void (async function bootstrap() {
// This is all the data needed to load and activate plugins. This should be
// gathered by the server and put onto the initial page template.
const extension_data = getOption('federated_extensions');

// We first load all federated components so that the shared module
// deduplication can run and figure out which shared modules from all
// components should be actually used. We have to do this before importing
// and using the module that actually uses these components so that all
// dependencies are initialized.
let labExtensionUrl = getOption('fullLabextensionsUrl');
const extensions = await Promise.allSettled(
extension_data.map(async data => {
await loadComponent(`${labExtensionUrl}/${data.name}/${data.load}`, data.name);
})
);

extensions.forEach(p => {
if (p.status === 'rejected') {
// There was an error loading the component
console.error(p.reason);
}
});

// Now that all federated containers are initialized with the main
// container, we can import the main function.
let main = (await import('./index.js')).main;
void main();
})();
2 changes: 2 additions & 0 deletions _static/build/1037.51967a2.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions _static/build/1037.51967a2.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions _static/build/1079.cdbaf67.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions _static/build/1079.cdbaf67.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 0677c21

Please sign in to comment.