1
0
mirror of https://github.com/gsi-upm/soil synced 2025-08-23 19:52:19 +00:00

Improve tutorial

* Improve text
* Move to docs
* Autogenerate with sphinx
* Fix naming issue `environment.run` (double name)
* Add to tests
This commit is contained in:
J. Fernando Sánchez
2023-04-24 18:46:09 +02:00
parent d13e4eb4b9
commit 55bbc76b2a
37 changed files with 112 additions and 1495 deletions

View File

@@ -7,7 +7,7 @@ ROOT = os.path.abspath(os.path.dirname(__file__))
class TestNotebooks(TestCase):
def test_tutorial(self):
notebook = os.path.join(ROOT, "../examples/tutorial/soil_tutorial.ipynb")
notebook = os.path.join(ROOT, "../docs/tutorial/soil_tutorial.ipynb")
with open(notebook) as f:
nb = nbformat.read(f, as_version=4)
ep = ExecutePreprocessor(timeout=60000, kernel_name='python3')