diff --git a/doc/conf.py b/doc/conf.py index 932eac26..7e088e3a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -45,6 +45,7 @@ extensions += [ 'nbsite.gallery', 'nbsite.analytics', + 'sphinx_reredirects', ] myst_enable_extensions = ["colon_fence", "deflist"] @@ -55,6 +56,10 @@ 'goatcounter_holoviz': True, } +redirects = { + 'topics/index': 'https://examples.holoviz.org', +} + nbsite_gallery_conf = { 'github_org': 'holoviz', 'github_project': 'geoviews', diff --git a/doc/index.rst b/doc/index.rst index ad2d37ad..2c884af6 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -95,7 +95,7 @@ or have set up your system to be able to build them. Home User Guide Gallery - Topics + Examples Developer Guide Releases About diff --git a/doc/topics.rst b/doc/topics.rst deleted file mode 100644 index a9e61e1e..00000000 --- a/doc/topics.rst +++ /dev/null @@ -1,64 +0,0 @@ -****** -Topics -****** - -Examples of what can be done with GeoViews. - -To learn how to use Geoviews, see the `User Guide -`_. - -NOTE: This is a list of links to examples on external sites. Most -examples are on https://examples.holoviz.org. - - -* `Bay Trimesh `_ - Visualize water depth into the Chesapeake and Delaware Bays - - .. figure:: _static/images/bay_trimesh.png - :target: https://examples.holoviz.org/bay_trimesh/bay_trimesh.html - :scale: 30 % - :alt: Visualize water depth into the Chesapeake and Delaware Bays - -* `Census `_ - Visualize 2010 Census demographic data - - .. figure:: _static/images/census.png - :target: https://examples.holoviz.org/census/census.html - :scale: 30 % - :alt: Visualize 2010 Census demographic data - -* `Gerrymandering `_ - Combine data of very different types to show gerrymandering - - .. figure:: _static/images/gerrymandering.png - :target: https://examples.holoviz.org/gerrymandering/gerrymandering.html - :scale: 30 % - :alt: Combine data of very different types to show gerrymandering - -* `Glaciers `_ - Glaciers explorer using Datashader - - .. figure:: _static/images/glaciers.png - :target: https://examples.holoviz.org/glaciers/glaciers.html - :scale: 30 % - :alt: Glaciers explorer using Datashader - -* `LandSat `_ - Datashade LandSat8 raster satellite imagery - - .. figure:: _static/images/landsat.png - :target: https://examples.holoviz.org/landsat/landsat.html - :scale: 30 % - :alt: Datashade LandSat8 raster satellite imagery - - -.. toctree:: - :titlesonly: - :hidden: - :maxdepth: 2 - - Bay Trimesh - Census - Gerrymandering - Glaciers - LandSat diff --git a/pixi.toml b/pixi.toml index a8e497ea..ebe9a80f 100644 --- a/pixi.toml +++ b/pixi.toml @@ -130,6 +130,7 @@ graphviz = "*" lxml = "*" nbsite = ">=0.8.4,<0.9.0" selenium = "*" +sphinx-reredirects = "*" [feature.doc.activation.env] MOZ_HEADLESS = "1"