Skip to content

Commit 491da47

Browse files
Lazy-load the JupyterLite embedded page in documentation (#1007)
* Remove the retrolite directive, since there are already the links and the buttons to click and make an online try. * Reverse the change of removing the retrolite directive and use it with a prompt option enabling the lazy load. * Replace try Retrolite by try ipyleaflet in the prompt option.
1 parent d929208 commit 491da47

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/source/index.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Introduction to ipyleaflet
22
==========================
3+
34
Ipyleaflet is a `Jupyter widget <https://ipywidgets.readthedocs.io>`_ for
45
`Leaflet.js <https://leafletjs.com/>`_ , enabling interactive maps in the
56
Jupyter notebook. Every object in ipyleaflet (including the Map, TileLayers, Layers,
@@ -15,10 +16,13 @@ Try it online
1516
.. image:: https://jupyterlite.rtfd.io/en/latest/_static/badge.svg
1617
:target: ./lite/lab?path=ipyleaflet.ipynb
1718

18-
You can try ipyleaflet below, or open many other live examples in a new browser tab with
19-
`JupyterLite <./lite/lab?path=ipyleaflet.ipynb>`_ or `RetroLite <./lite/retro/tree>`_.
19+
You can try ipyleaflet below, or open many other live examples in a new browser tab with : `JupyterLite <./lite/lab?path=ipyleaflet.ipynb>`_ or `RetroLite <./lite/retro/tree>`_.
2020

2121
.. retrolite:: ipyleaflet.ipynb
22+
:width: 100%
23+
:height: 810px
24+
:prompt: Try ipyleaflet!
25+
2226

2327
Table of Contents
2428
-----------------

0 commit comments

Comments
 (0)