Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,15 @@
print(" ".join(cmd))
os.system(" ".join(cmd))

# -- convert tutorial scripts and run example notebooks ----------------------
# -- convert and run tutorial and example notebooks ----------------------
if not on_rtd:
nbs_py = Path("Notebooks").glob("*.py")
for py in nbs_py:
for py in Path("Notebooks").glob("*.py"):
if not ("tutorial" in py.name or "example" in py.name):
print(f"skipping {py}")
continue
ipynb = py.with_suffix(".ipynb")
if ipynb.exists():
print(f"{ipynb} already exists, skipping")
print(f"Notebook {ipynb} already exists, skipping")
continue
cmd = ("jupytext", "--to", "ipynb", "--execute", str(py))
print(" ".join(cmd))
Expand Down
1 change: 1 addition & 0 deletions .docs/create_rstfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def create_tutorials_rst():
"mf2005": {"title": "MODFLOW-2005", "files": []},
"lgr": {"title": "MODFLOW-LGR", "files": []},
"nwt": {"title": "MODFLOW-NWT", "files": []},
"mfusg": {"title": "MODFLOW USG", "files": []},
"mt3dms": {"title": "MT3DMS", "files": []},
"pest": {"title": "PEST", "files": []},
"misc": {"title": "Miscellaneous", "files": []},
Expand Down
151 changes: 0 additions & 151 deletions .docs/examples.rst

This file was deleted.

2 changes: 1 addition & 1 deletion .docs/main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FloPy

.. image:: _images/flopylogo.png

**Documentation for version 3.6.0.dev0**
**Documentation for version 3.10.0.dev4**

Documentation is generated with Sphinx from the `FloPy repository <https://github.com/modflowpy/flopy>`_.

Expand Down
102 changes: 0 additions & 102 deletions .docs/tutorials.rst

This file was deleted.

4 changes: 2 additions & 2 deletions autotest/test_example_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

EXCLUDE = [
"mf6_lgr",
"mfusg_transport_tutorial07c_ChainDecay",
"mfusg_transport_tutorial08_Lake",
"mfusg_transport_07c_ChainDecay",
"mfusg_transport_08_Lake",
]
# skip pyvista notebooks on windows/mac in CI due to persistent issues
# first with offscreen rendering, then with finding pyvista even after
Expand Down
Loading