Skip to content

Sphinx gallery

Lars Bilke requested to merge bilke/ogstools:sphinx-gallery into main

This is for discussion.

This MR adds a gallery to the example pages based on sphinx_gallery. See https://ogs.ogs.xyz/-/tools/ogstools/-/jobs/339794/artifacts/public/auto_examples/index.html

The pages themselves are regular Python files but the end result looks like a notebook. What do you think (@FZill @TobiasMeisel) about this? Also the files can be downloaded as .ipynb-files from the web site.

One issue is that the text blocks in the Python cannot be written in Markdown but have to be in restructureText format.

Notebook from !37 (merged) has been converted too.

Edited by Lars Bilke

Merge request reports

Loading