From 843ff400f09a626a22d92d74b3e11985a20e9b0d Mon Sep 17 00:00:00 2001 From: Anders Hafreager Date: Wed, 8 Jul 2026 20:04:09 +0200 Subject: [PATCH] Fix notebook links to auto-load index.ipynb instead of the Launcher The notebook links pointed at the JupyterLite site root, which lands on the Launcher screen. Point them at lab/index.html?path=index.ipynb as already documented in NOTEBOOK_TUTORIALS.md so they open the intro notebook directly. Co-Authored-By: Claude Sonnet 5 --- README.md | 4 ++-- examples/pages/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a45d5ff..28383c1 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ LAMMPS in the browser. WebAssembly build + a small TS-friendly client. **[Interactive docs →](https://editor.lammps.org/docs/)** — every API with live, editable examples  ·  **[Playground →](https://editor.lammps.org/)** - ·  **[Notebooks →](https://editor.lammps.org/notebook/)** — Jupyter tutorials running LAMMPS in your browser + ·  **[Notebooks →](https://editor.lammps.org/notebook/lab/index.html?path=index.ipynb)** — Jupyter tutorials running LAMMPS in your browser ## Install @@ -294,7 +294,7 @@ npm run test:atomify # atomify build + atomify suite ## Notebooks (JupyterLite) -[editor.lammps.org/notebook](https://editor.lammps.org/notebook/) hosts Jupyter +[editor.lammps.org/notebook](https://editor.lammps.org/notebook/lab/index.html?path=index.ipynb) hosts Jupyter notebook tutorials that run LAMMPS **in Python, entirely in the browser** — a [JupyterLite](https://jupyterlite.readthedocs.io/) site with a Pyodide kernel. The notebooks use the `lammps-js` Python package (repo-root `python/`, diff --git a/examples/pages/index.html b/examples/pages/index.html index e968406..0397bf9 100644 --- a/examples/pages/index.html +++ b/examples/pages/index.html @@ -242,7 +242,7 @@

LAMMPS.js

- Try in Jupyter notebook + Try in Jupyter notebook Docs