|
1 | 1 | # Fullscreen access |
2 | 2 |
|
3 | | -Once and JupyterLite example has been activate by a user, and "Open in Tab" button is available that will open the same |
| 3 | +Once a JupyterLite example gets activated by a user, an "Open in Tab" button becomes available, which will open the same |
4 | 4 | JupyterLite instance in a separate tab. |
5 | 5 |
|
6 | | -## custom link to JupyterLite |
| 6 | +## Custom links to JupyterLite apps |
7 | 7 |
|
8 | | -You can access the JupyterLite deployment that `jupyterlite-sphinx` made for you, in fullscreen, following the `./lite/lab` and `./lite/retro` relative urls: |
| 8 | +You can access the JupyterLite apps that `jupyterlite-sphinx` deployed for you, in fullscreen, using the following links: |
9 | 9 |
|
10 | | -```{eval-rst} |
| 10 | +- [JupyterLab](lite/lab/index.html) |
| 11 | +- [Notebook](lite/tree/index.html) |
| 12 | +- [REPL](lite/repl/index.html) |
| 13 | +- [Voici](lite/voici/index.html) |
11 | 14 |
|
12 | | -- `JupyterLab <lite/lab/index.html>`_ |
13 | | -- `Notebook <lite/tree/index.html>`_ |
| 15 | +## Tips for handling URLs |
14 | 16 |
|
15 | | -``` |
| 17 | +If you want to open a specific notebook in fullscreen JupyterLab/Notebook/Voici, you can use the `path` URL parameter, e.g. |
16 | 18 |
|
17 | | -If you want to open a specific notebook in fullscreen JupyterLab/Notebook, you can use the `path` URL parameter, e.g. `./lite/lab/index.html?path=my_noteboook.ipynb`. |
| 19 | +- `./lite/lab/index.html?path=my_notebook.ipynb` for Lab |
| 20 | +- `./lite/notebooks/index.html?path=my_notebook.ipynb` for Notebook |
| 21 | +- `./lite/voici/render/my_notebook.html` for Voici |
| 22 | + |
| 23 | +If you want to add code to the REPL for execution, you can use the `code` URL parameter, e.g. `./lite/repl/index.html?code=print("Hello, world!")`. You may also use `&execute=0` to prevent the code from being executed until you press Enter. |
| 24 | + |
| 25 | +Info on more configuration options is available in the [REPL documentation](https://jupyterlite.readthedocs.io/en/stable/quickstart/embed-repl.html#configuration). |
| 26 | + |
| 27 | +Please see the documentation for individual options for each directive and [global configuration options](configuration.md) for more information. |
0 commit comments