Skip to content

Commit

Permalink
Unfold codeblocks (#65)
Browse files Browse the repository at this point in the history
* Unfold codeblocks by default

* Add rioxarray dependency to make examples work again

* Update latest API changes
  • Loading branch information
JoerivanEngelen authored Jun 12, 2024
1 parent d8d849d commit e16b946
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/_quarto-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ format:
theme: cosmo
css: _static/styles.css
toc: true
code-fold: true
code-fold: false
4 changes: 1 addition & 3 deletions docs/coupler_metamod_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,7 @@
"\n",
"# Define solver settings, we'll use a preset that is sufficient for this example.\n",
"\n",
"simulation[\"solver\"] = mf6.SolutionPresetSimple(\n",
" modelnames=[\"GWF_1\"], print_option=\"summary\", csv_output=False, no_ptc=True\n",
")"
"simulation[\"solver\"] = mf6.SolutionPresetSimple(modelnames=[\"GWF_1\"])"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial_Hondsrug.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@
"\n",
"template_grid = gwf_model[\"dis\"][\"idomain\"].sel(layer=1)\n",
"\n",
"regrid_context = RegridderWeightsCache(recharge_ss_yearly.isel(time=0), template_grid)\n",
"regrid_context = RegridderWeightsCache()\n",
"recharge_pkg = recharge_pkg_coarse.regrid_like(template_grid, regrid_context)\n",
"\n",
"recharge_pkg"
Expand Down
24 changes: 24 additions & 0 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ docs = { cmd = "export QUARTO_PYTHON=python && quarto preview docs", depends_on
] }

[dependencies]
imod = ">=0.16.0"
imod = ">=0.17.1"
jupyterlab = "*"
pre-commit = "*"
primod = "*"
quarto = "*"
quartodoc = "*"
rioxarray = ">=0.15.5,<0.16"

[target.linux-64.dependencies]
# Install Modflow 6 on linux to render examples on CI.
modflow6 = ">=6.4.4"
modflow6 = ">=6.4.4"

0 comments on commit e16b946

Please sign in to comment.