From c1ece550d752d5cc6a3c38148ed720648afa9c6f Mon Sep 17 00:00:00 2001 From: mcflugen Date: Mon, 11 Sep 2023 15:56:36 -0600 Subject: [PATCH] add simple code snippet to index page --- docs/source/index.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/source/index.md b/docs/source/index.md index beda138..4b13108 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -15,8 +15,14 @@ ``` ```{include} ../../README.md -:start-after: "% start-abstract" -:end-before: "% end-abstract" +:start-after: "" +:end-before: "" +``` + +```pycon +>>> from bmi_wavewatch3 import WaveWatch3 +>>> ww3 = WaveWatch3("2009-11-08") +>>> ww3.data.swh[ww3.step, :, :].plot() ``` ```{image} _static/ww3_global_swh-light.png