Skip to content

Commit

Permalink
add simple code snippet to index page
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Sep 11, 2023
1 parent b058d0d commit c1ece55
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@
```

```{include} ../../README.md
:start-after: "% start-abstract"
:end-before: "% end-abstract"
:start-after: "<!-- start-abstract -->"
:end-before: "<!-- end-abstract -->"
```

```pycon
>>> from bmi_wavewatch3 import WaveWatch3
>>> ww3 = WaveWatch3("2009-11-08")
>>> ww3.data.swh[ww3.step, :, :].plot()
```

```{image} _static/ww3_global_swh-light.png
Expand Down

0 comments on commit c1ece55

Please sign in to comment.