Skip to content

Commit

Permalink
add sphinx-design gallery card
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle committed Dec 4, 2023
1 parent afcc309 commit fa8bc18
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/src/_static/images/icons/gallery.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"sphinx.ext.extlinks",
"sphinx.ext.intersphinx",
"sphinx_copybutton",
"sphinx_design",
"sphinx_gallery.gen_gallery",
"pyvista.ext.viewer_directive",
]
Expand Down
11 changes: 10 additions & 1 deletion docs/src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@
</h4>
<br>

We're just bootstrapping ``geovista`` and its documentation, so please be patient 👍
.. card:: Gallery
:text-align: center
:link: gallery
:link-type: ref
:img-top: _static/images/icons/gallery.svg
:width: 25%
:margin: 0 5 auto auto
:class-title: sd-fs-3

We're just starting to populate the documentation, so the content will evolve over time ...

.. toctree::
:maxdepth: 1
Expand Down
4 changes: 3 additions & 1 deletion src/geovista/examples/README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.. _gallery:

Gallery
=======

GeoVista example gallery.
An interactive gallery of the ``geovista.examples``.

0 comments on commit fa8bc18

Please sign in to comment.