Merge pull request #16 from DLR-Institute-of-Future-Fuels/dev
CI for building docs fixed
This commit is contained in:
commit
372ad7fe5a
|
|
@ -11,11 +11,11 @@ The conversion is done like the following automated by the
|
||||||
[docs/source/render_examples.py](../docs/source/render_examples.py) script:
|
[docs/source/render_examples.py](../docs/source/render_examples.py) script:
|
||||||
``` bash
|
``` bash
|
||||||
# Converting markdown with code sections to Jupyter Notebook and run it:
|
# Converting markdown with code sections to Jupyter Notebook and run it:
|
||||||
notedown examples/soec_methane.md --to notebook --output docs/source/api/soec_methane.ipynb --run
|
notedown examples/sofc_methane.md --to notebook --output docs/source/api/sofc_methane.ipynb --run
|
||||||
|
|
||||||
# Converting the Jupyter Notebook to Markdown and a folder with image
|
# Converting the Jupyter Notebook to Markdown and a folder with image
|
||||||
# files placed in docs/source/api/:
|
# files placed in docs/source/api/:
|
||||||
jupyter nbconvert --to markdown docs/source/api/soec_methane.ipynb --output soec_methane.md
|
jupyter nbconvert --to markdown docs/source/api/sofc_methane.ipynb --output sofc_methane.md
|
||||||
```
|
```
|
||||||
|
|
||||||
A new example Markdown file can be created from a Jupyter Notebook running
|
A new example Markdown file can be created from a Jupyter Notebook running
|
||||||
|
|
|
||||||
|
|
@ -50,10 +50,10 @@ doc_build = [
|
||||||
"myst-parser",
|
"myst-parser",
|
||||||
"pandas",
|
"pandas",
|
||||||
"matplotlib",
|
"matplotlib",
|
||||||
"ipykernel",
|
"ipykernel==6.29",
|
||||||
"jupyter",
|
"jupyter==1.1",
|
||||||
"nbconvert",
|
"nbconvert==7.16",
|
||||||
"notedown"
|
"notedown==1.5"
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue