Skip to content

Commit b538d93

Browse files
committed
Document configuration
1 parent 4e273a0 commit b538d93

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docs/source/index.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,21 @@ To get started with pythreejs, install with pip::
1919

2020
pip install pythreejs
2121

22-
.. TODO: Config calls
22+
If you are using a notebook version older than 5.3, or if your kernel is in another environment
23+
than the notebook server, you will also need to register the front-end extensions.
24+
25+
For the notebook front-end::
26+
27+
jupyter nbextension install [--sys-prefix | --user | --system] --py pythreejs
28+
jupyter nbextension enable [--sys-prefix | --user | --system] --py pythreejs
29+
30+
For jupyterlab::
31+
32+
jupyter labextension install jupyter-threejs
33+
34+
.. note::
35+
If you are installing an older version of pythreejs, you might have to add a version
36+
specifier for the labextension to match the Python package, e.g. `[email protected]`.
2337

2438

2539
Contents

0 commit comments

Comments
 (0)