|
1 | 1 | # -*- coding: utf-8 -*- |
2 | 2 |
|
3 | 3 | extensions = [ |
4 | | - 'jupyter_sphinx', 'jupyterlite_sphinx', 'sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.napoleon','sphinx.ext.todo', 'sphinx.ext.viewcode' |
| 4 | + "jupyter_sphinx", |
| 5 | + "jupyterlite_sphinx", |
| 6 | + "sphinx.ext.autodoc", |
| 7 | + "sphinx.ext.coverage", |
| 8 | + "sphinx.ext.napoleon", |
| 9 | + "sphinx.ext.todo", |
| 10 | + "sphinx.ext.viewcode", |
5 | 11 | ] |
6 | 12 |
|
7 | | -templates_path = ['_templates'] |
| 13 | +templates_path = ["_templates"] |
8 | 14 |
|
9 | 15 | jupyterlite_dir = "." |
10 | 16 | jupyterlite_contents = [ |
|
17 | 23 | "../../examples/AntPath.ipynb", |
18 | 24 | "../../examples/AwesomeIcons.ipynb", |
19 | 25 | "../../examples/BaseMap.ipynb", |
20 | | -# "../../examples/CanvasRenderer.ipynb", # no python wheel for shapely |
| 26 | + # "../../examples/CanvasRenderer.ipynb", # no python wheel for shapely |
21 | 27 | "../../examples/Choropleth.ipynb", |
22 | 28 | "../../examples/Choropleth_with_NANS.ipynb", |
23 | | -# "../../examples/CountriesGeoJSON.ipynb", # cannot access ./europe_110.geo.json |
| 29 | + # "../../examples/CountriesGeoJSON.ipynb", # cannot access ./europe_110.geo.json |
24 | 30 | "../../examples/CustomProjections.ipynb", |
25 | 31 | "../../examples/CustomTMS.ipynb", |
26 | | -# "../../examples/CustomTileServer.ipynb", # Some problem with flask: 'DummyMod' object has no attribute 'startswith' |
| 32 | + # "../../examples/CustomTileServer.ipynb", # Some problem with flask: 'DummyMod' object has no attribute 'startswith' |
27 | 33 | "../../examples/DrawControl.ipynb", |
28 | 34 | "../../examples/DropdownControl.ipynb", |
29 | 35 | "../../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) |
| 36 | + # "../../examples/GPX.ipynb", # error installing geopandas (missing wheel for pyproj) |
| 37 | + # "../../examples/GeoData.ipynb", # error installing geopandas (missing wheel for pyproj) |
| 38 | + # "../../examples/GeoData_on_hover.ipynb", # error installing geopandas (missing wheel for pyproj) |
33 | 39 | "../../examples/GeoJSON.ipynb", |
34 | | -# "../../examples/GeoJson_EU_on_hover.ipynb", # cannot load file europe_110.geo.json |
| 40 | + # "../../examples/GeoJson_EU_on_hover.ipynb", # cannot load file europe_110.geo.json |
35 | 41 | "../../examples/Heatmap.ipynb", |
36 | | -# "../../examples/Image_slider.ipynb", # error installing rasterio |
37 | | -# "../../examples/KML.ipynb", # error installing geopandas |
| 42 | + # "../../examples/Image_slider.ipynb", # error installing rasterio |
| 43 | + # "../../examples/KML.ipynb", # error installing geopandas |
38 | 44 | "../../examples/LayerGroup.ipynb", |
39 | 45 | "../../examples/LegendControl.ipynb", |
40 | 46 | "../../examples/MagnifyingGlass.ipynb", |
41 | 47 | "../../examples/MapContainer.ipynb", |
42 | 48 | "../../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 |
| 49 | + "../../examples/MapPanes.ipynb", # This works even though it also needs the europe_110.geo.json, so check example above again! |
| 50 | + # "../../examples/MarkerCluster-GeoJson.ipynb", # error installing geopandas |
| 51 | + # "../../examples/MarkerCluster.ipynb", #error install geopandas |
| 52 | + # "../../examples/Max_zoom.ipynb", # test again - not sure if localtileserver package has problems |
47 | 53 | "../../examples/MeasureControl.ipynb", |
48 | | -# "../../examples/Numpy.ipynb", # error installing reasterio |
| 54 | + # "../../examples/Numpy.ipynb", # error installing reasterio |
49 | 55 | "../../examples/Primitives.ipynb", |
50 | 56 | "../../examples/Radiation.ipynb", |
51 | 57 | "../../examples/ScaleControl.ipynb", |
52 | | -# "../../examples/SearchControl.ipynb", # error installing shapely. Looks like reading a file works if it is readonly (opened with "r") |
| 58 | + # "../../examples/SearchControl.ipynb", # error installing shapely. Looks like reading a file works if it is readonly (opened with "r") |
53 | 59 | "../../examples/Select-GeoJson.ipynb", |
54 | 60 | "../../examples/SplitMap.ipynb", |
55 | 61 | "../../examples/TileLayer-loading.ipynb", |
56 | 62 | "../../examples/Transform.ipynb", |
57 | 63 | "../../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 |
| 64 | + # "../../examples/Velocity.ipynb", # seems like issues with downloading wind-global.nc dataset? Takes a long time |
| 65 | + # "../../examples/Video.ipynb", # error installing rasterio |
| 66 | + # "../../examples/WKTLayer.ipynb", #error importing shapely |
61 | 67 | "../../examples/WMSLayer.ipynb", |
62 | | -# "../../examples/WealthOfNations.ipynb", # did not install bqplot widget as a federated extension? |
| 68 | + # "../../examples/WealthOfNations.ipynb", # did not install bqplot widget as a federated extension? |
63 | 69 | "../../examples/WidgetControl.ipynb", |
64 | 70 | ] |
65 | 71 |
|
66 | 72 | # Output file base name for HTML help builder. |
67 | 73 | html_theme = "pydata_sphinx_theme" |
68 | | -#html_theme_path = [pydata_sphinx_theme.get_html_theme_path()] |
69 | | -htmlhelp_basename = 'ipyleafletdoc' |
70 | | -html_static_path = ['_static'] |
| 74 | +# html_theme_path = [pydata_sphinx_theme.get_html_theme_path()] |
| 75 | +htmlhelp_basename = "ipyleafletdoc" |
| 76 | +html_static_path = ["_static"] |
71 | 77 |
|
72 | 78 |
|
73 | 79 | def setup(app): |
74 | 80 | app.add_css_file("main_stylesheet.css") |
75 | 81 |
|
76 | | -master_doc = 'index' |
77 | | -source_suffix = '.rst' |
| 82 | + |
| 83 | +master_doc = "index" |
| 84 | +source_suffix = ".rst" |
78 | 85 |
|
79 | 86 | # General information about the project. |
80 | | -project = 'ipyleaflet' |
81 | | -copyright = '(c) Jupyter Development Team' |
82 | | -author = 'Jupyter Development Team' |
| 87 | +project = "ipyleaflet" |
| 88 | +copyright = "(c) Jupyter Development Team" |
| 89 | +author = "Jupyter Development Team" |
83 | 90 |
|
84 | 91 | exclude_patterns = [] |
85 | | -highlight_language = 'python' |
86 | | -pygments_style = 'sphinx' |
87 | | - |
| 92 | +highlight_language = "python" |
| 93 | +pygments_style = "sphinx" |
0 commit comments