-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (58 loc) · 2.46 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<!--
This is the root document for _your_ JupyterLite. Thanks for viewing your source!
___ __ __ _______ __ __ _______ _______ ______ ___ ___ _______ _______
| | | | | | | | | | | _ | | | | | | |
| | | | | _ | |_| |_ _| ___| | || | | | |_ _| ___|
| | |_| | |_| | | | | | |___| |_||_| | | | | | | |___
___| | | ___|_ _| | | | ___| __ | |___| | | | | ___|
| | | | | | | | | |___| | | | | | | | | |___
|_______|_______|___| |___| |___| |_______|___| |_|_______|___| |___| |_______|
Code: https://github.com/jupyterlite/jupyterlite
Demo: https://jupyterlite.rtfd.io/en/latest/try
# FILES
Your JupyterLite is structured like this:
index.html <---- you are here
{:app}/ <---- currently-known: `lab` (semi-required) and `notebook`
index.html
extensions/
{:org}/{:package}/ <---|
{:package}/ <---+- federated extensions
schema/
package.json
# TBD
files/ <----- also need to populate `api/contents/`!
static/ <----- might save duplication
{:app}
-->
<html>
<head>
<!--
# jupyter-config-data
The JSON in `jupyter-lite.json` is the last that will be loaded by most
child `index.html` pages, and every field can be overridden.
See the recognized schema as described in the documentation:
- https://jupyterlite.rtfd.io/en/latest/schema
Notes
- fields that...
- are relative paths values
- will have the parent directory of _this_ file appended, accounting
for "magic" hosts which redirect to `{:path}index.html` to `{:path}`,
with or without a slash
- some fields, such as `federated_extensions` will be _added together_
-->
<script id="jupyter-config-data" type="application/json" data-jupyter-lite-root=".">
{}
</script>
<!--
# jupyter-lite-root
The source of truth for relative path locations. The `.` means _this_
is the root, and will redirect to the `appUrl` defined in
`.jupyter-lite/#jupyter-config-data`.
-->
<script type="module">
await import('./config-utils.js');
</script>
<!-- that's it, there shouldn't be anything below here in head! -->
</head>
</html>