Skip to content

Commit e118f74

Browse files
committed
Tweak jupyterlite wording in docs
1 parent c2a5457 commit e118f74

File tree

2 files changed

+58
-56
lines changed

2 files changed

+58
-56
lines changed

docs/source/conf.py

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -8,59 +8,59 @@
88

99
jupyterlite_config = "jupyterlite_config.json"
1010
jupyterlite_contents = [
11-
"../examples/europe_110.geo.json",
12-
"../examples/bars.json",
13-
"../examples/demo.json",
14-
"../examples/US_Unemployment_Oct2012.csv",
15-
"../examples/US_Unemployment_Oct2012_with_NANS.csv",
16-
"../examples/us-states.json",
17-
"../examples/AntPath.ipynb",
18-
"../examples/AwesomeIcons.ipynb",
19-
"../examples/BaseMap.ipynb",
20-
# "../examples/CanvasRenderer.ipynb", # no python wheel for shapely
21-
"../examples/Choropleth.ipynb",
22-
"../examples/Choropleth_with_NANS.ipynb",
23-
# "../examples/CountriesGeoJSON.ipynb", # cannot access ./europe_110.geo.json
24-
"../examples/CustomProjections.ipynb",
25-
"../examples/CustomTMS.ipynb",
26-
# "../examples/CustomTileServer.ipynb", # Some problem with flask: 'DummyMod' object has no attribute 'startswith'
27-
"../examples/DrawControl.ipynb",
28-
"../examples/DropdownControl.ipynb",
29-
"../examples/Fullscreen.ipynb",
30-
# "../examples/GPX.ipynb", # error installing geopandas (missing wheel for pyproj)
31-
# "../examples/GeoData.ipynb", # error installing geopandas (missing wheel for pyproj)
32-
# "../examples/GeoData_on_hover.ipynb", # error installing geopandas (missing wheel for pyproj)
33-
"../examples/GeoJSON.ipynb",
34-
# "../examples/GeoJson_EU_on_hover.ipynb", # cannot load file europe_110.geo.json
35-
"../examples/Heatmap.ipynb",
36-
# "../examples/Image_slider.ipynb", # error installing rasterio
37-
# "../examples/KML.ipynb", # error installing geopandas
38-
"../examples/LayerGroup.ipynb",
39-
"../examples/LegendControl.ipynb",
40-
"../examples/MagnifyingGlass.ipynb",
41-
"../examples/MapContainer.ipynb",
42-
"../examples/MapCursorStyle.ipynb",
43-
"../examples/MapPanes.ipynb", # This works even though it also needs the europe_110.geo.json, so check example above again!
44-
# "../examples/MarkerCluster-GeoJson.ipynb", # error installing geopandas
45-
# "../examples/MarkerCluster.ipynb", #error install geopandas
46-
# "../examples/Max_zoom.ipynb", # test again - not sure if localtileserver package has problems
47-
"../examples/MeasureControl.ipynb",
48-
# "../examples/Numpy.ipynb", # error installing reasterio
49-
"../examples/Primitives.ipynb",
50-
"../examples/Radiation.ipynb",
51-
"../examples/ScaleControl.ipynb",
52-
# "../examples/SearchControl.ipynb", # error installing shapely. Looks like reading a file works if it is readonly (opened with "r")
53-
"../examples/Select-GeoJson.ipynb",
54-
"../examples/SplitMap.ipynb",
55-
"../examples/TileLayer-loading.ipynb",
56-
"../examples/Transform.ipynb",
57-
"../examples/VectorTiles.ipynb",
58-
# "../examples/Velocity.ipynb", # seems like issues with downloading wind-global.nc dataset? Takes a long time
59-
# "../examples/Video.ipynb", # error installing rasterio
60-
# "../examples/WKTLayer.ipynb", #error importing shapely
61-
"../examples/WMSLayer.ipynb",
62-
# "../examples/WealthOfNations.ipynb", # did not install bqplot widget as a federated extension?
63-
"../examples/WidgetControl.ipynb",
11+
"../../examples/europe_110.geo.json",
12+
"../../examples/bars.json",
13+
"../../examples/demo.json",
14+
"../../examples/US_Unemployment_Oct2012.csv",
15+
"../../examples/US_Unemployment_Oct2012_with_NANS.csv",
16+
"../../examples/us-states.json",
17+
"../../examples/AntPath.ipynb",
18+
"../../examples/AwesomeIcons.ipynb",
19+
"../../examples/BaseMap.ipynb",
20+
# "../../examples/CanvasRenderer.ipynb", # no python wheel for shapely
21+
"../../examples/Choropleth.ipynb",
22+
"../../examples/Choropleth_with_NANS.ipynb",
23+
# "../../examples/CountriesGeoJSON.ipynb", # cannot access ./europe_110.geo.json
24+
"../../examples/CustomProjections.ipynb",
25+
"../../examples/CustomTMS.ipynb",
26+
# "../../examples/CustomTileServer.ipynb", # Some problem with flask: 'DummyMod' object has no attribute 'startswith'
27+
"../../examples/DrawControl.ipynb",
28+
"../../examples/DropdownControl.ipynb",
29+
"../../examples/Fullscreen.ipynb",
30+
# "../../examples/GPX.ipynb", # error installing geopandas (missing wheel for pyproj)
31+
# "../../examples/GeoData.ipynb", # error installing geopandas (missing wheel for pyproj)
32+
# "../../examples/GeoData_on_hover.ipynb", # error installing geopandas (missing wheel for pyproj)
33+
"../../examples/GeoJSON.ipynb",
34+
# "../../examples/GeoJson_EU_on_hover.ipynb", # cannot load file europe_110.geo.json
35+
"../../examples/Heatmap.ipynb",
36+
# "../../examples/Image_slider.ipynb", # error installing rasterio
37+
# "../../examples/KML.ipynb", # error installing geopandas
38+
"../../examples/LayerGroup.ipynb",
39+
"../../examples/LegendControl.ipynb",
40+
"../../examples/MagnifyingGlass.ipynb",
41+
"../../examples/MapContainer.ipynb",
42+
"../../examples/MapCursorStyle.ipynb",
43+
"../../examples/MapPanes.ipynb", # This works even though it also needs the europe_110.geo.json, so check example above again!
44+
# "../../examples/MarkerCluster-GeoJson.ipynb", # error installing geopandas
45+
# "../../examples/MarkerCluster.ipynb", #error install geopandas
46+
# "../../examples/Max_zoom.ipynb", # test again - not sure if localtileserver package has problems
47+
"../../examples/MeasureControl.ipynb",
48+
# "../../examples/Numpy.ipynb", # error installing reasterio
49+
"../../examples/Primitives.ipynb",
50+
"../../examples/Radiation.ipynb",
51+
"../../examples/ScaleControl.ipynb",
52+
# "../../examples/SearchControl.ipynb", # error installing shapely. Looks like reading a file works if it is readonly (opened with "r")
53+
"../../examples/Select-GeoJson.ipynb",
54+
"../../examples/SplitMap.ipynb",
55+
"../../examples/TileLayer-loading.ipynb",
56+
"../../examples/Transform.ipynb",
57+
"../../examples/VectorTiles.ipynb",
58+
# "../../examples/Velocity.ipynb", # seems like issues with downloading wind-global.nc dataset? Takes a long time
59+
# "../../examples/Video.ipynb", # error installing rasterio
60+
# "../../examples/WKTLayer.ipynb", #error importing shapely
61+
"../../examples/WMSLayer.ipynb",
62+
# "../../examples/WealthOfNations.ipynb", # did not install bqplot widget as a federated extension?
63+
"../../examples/WidgetControl.ipynb",
6464
]
6565
def setup(app):
6666
app.add_css_file("main_stylesheet.css")

docs/source/index.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ Python or from the browser.
1212
Try it online
1313
-------------
1414

15-
You can try ipyleaflet below, or open the example in a new browser tab with
16-
`RetroLite <./lite/retro/notebooks?path=ipyleaflet.ipynb>`_ or
17-
`JupyterLite <./lite/lab?path=ipyleaflet.ipynb>`_.
15+
.. image:: https://jupyterlite.rtfd.io/en/latest/_static/badge.svg
16+
:target: ./lite/lab?path=ipyleaflet.ipynb
17+
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>`_.
1820

1921
.. retrolite:: ipyleaflet.ipynb
2022

0 commit comments

Comments
 (0)