Skip to content

Commit

Permalink
add examples cross-references (#1304)
Browse files Browse the repository at this point in the history
* add examples cross-references

* add changelog news fragment
  • Loading branch information
bjlittle authored Jan 30, 2025
1 parent 9774ce0 commit e0009c3
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 3 deletions.
2 changes: 2 additions & 0 deletions changelog/1304.contributor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Added ``sphinx`` cross-references to the :ref:`gv-examples`.
(:user:`bjlittle`)
2 changes: 1 addition & 1 deletion docs/src/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ and `PyPI`_, and can be easily installed:
pip install geovista
Additional package dependencies will be required by some of the
``geovista`` :ref:`Gallery Examples <gv-examples-gallery>`.
``geovista`` :ref:`Gallery Examples <gv-examples>`.

These packages may be installed with:

Expand Down
2 changes: 1 addition & 1 deletion docs/src/next_steps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ similar gallery examples organised by specific features:
.. grid-item-card:: Examples
:class-title: custom-title
:class-body: custom-body
:link: gv-examples-gallery
:link: gv-examples
:link-type: ref
:img-top: _static/images/icons/examples.svg
:class-img-top: dark-light
Expand Down
2 changes: 1 addition & 1 deletion src/geovista/examples/README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _gv-examples-gallery:
.. _gv-examples:

*********************
:fa:`images` Examples
Expand Down
2 changes: 2 additions & 0 deletions src/geovista/examples/curvilinear/README.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.. _gv-examples-curvilinear:

Curvilinear Grid
================
2 changes: 2 additions & 0 deletions src/geovista/examples/extraction/README.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.. _gv-examples-extraction:

Region Extraction
=================
2 changes: 2 additions & 0 deletions src/geovista/examples/point_cloud/README.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.. _gv-examples-point-cloud:

Point Cloud
===========
2 changes: 2 additions & 0 deletions src/geovista/examples/rectilinear/README.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.. _gv-examples-rectilinear:

Rectilinear Grid
================
2 changes: 2 additions & 0 deletions src/geovista/examples/scalar_data/README.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.. _gv-examples-scalar-data:

Scalar Data
===========
2 changes: 2 additions & 0 deletions src/geovista/examples/spatial_index/README.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.. _gv-examples-spatial-data:

Spatial Index
=============
2 changes: 2 additions & 0 deletions src/geovista/examples/unstructured/README.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.. _gv-examples-unstructured:

Unstructured Mesh
=================
2 changes: 2 additions & 0 deletions src/geovista/examples/vector_data/README.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.. _gv-examples-vector-data:

Vector Data
===========
2 changes: 2 additions & 0 deletions src/geovista/examples/warp/README.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.. _gv-examples-warp:

Warp Mesh
=========

0 comments on commit e0009c3

Please sign in to comment.