Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated jupyter notebook cell ids (required for jupyter notebook format 4.5+) #808

Merged
merged 3 commits into from
Oct 13, 2022
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
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def _copy_tut_files():
"python": ("https://docs.python.org/3/", None),
"numpy": ("https://numpy.org/doc/stable", None),
"pandas": ("https://pandas.pydata.org/pandas-docs/stable", None),
"xarray": ("https://xarray.pydata.org/en/stable", None),
"xarray": ("https://docs.xarray.dev/en/stable/objects.inv", None),
"scipy": (f"https://docs.scipy.org/doc/scipy-{_scipy_version}/", None),
"matplotlib": ("https://matplotlib.org/stable", None),
# "dask": ("https://docs.dask.org/en/latest", None),
Expand Down
1 change: 0 additions & 1 deletion doc/rtd_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ dependencies:
# documentation
- sphinx>=4.1.1
- jinja2=3.0
- nbformat<5.5.0 # pending https://github.com/BAMWelDX/weldx/actions/runs/3125636543/jobs/5070212013
- nbsphinx
- sphinx-copybutton
- pydata-sphinx-theme
Expand Down
13 changes: 13 additions & 0 deletions tutorials/01_01_introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "4182dcd6",
"metadata": {},
"source": [
"# Introduction / Opening WelDX Files\n",
Expand Down Expand Up @@ -43,6 +44,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ae81c166",
"metadata": {
"collapsed": false,
"jupyter": {
Expand All @@ -63,6 +65,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "36c514ee",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -71,6 +74,7 @@
},
{
"cell_type": "markdown",
"id": "e3ec375b",
"metadata": {},
"source": [
"WelDX files usually have the extension `.weldx` or `.wx`, but any other is also possible as long as the content is valid.\n",
Expand All @@ -81,6 +85,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "630bd97c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -89,6 +94,7 @@
},
{
"cell_type": "markdown",
"id": "0d183782",
"metadata": {},
"source": [
"### Inspecting the file content in a Jupyter session\n",
Expand All @@ -104,6 +110,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d7ac29d4",
"metadata": {
"tags": []
},
Expand All @@ -114,6 +121,7 @@
},
{
"cell_type": "markdown",
"id": "988d0409",
"metadata": {},
"source": [
"### Inspecting the File content with pure Python\n",
Expand All @@ -129,6 +137,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9863459a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -137,6 +146,7 @@
},
{
"cell_type": "markdown",
"id": "85eb6e37",
"metadata": {},
"source": [
"The `info` method lists the internal file structure converted to python objects.\n",
Expand All @@ -147,6 +157,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b5d960ec",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -156,6 +167,7 @@
},
{
"cell_type": "markdown",
"id": "84a697ce",
"metadata": {},
"source": [
"The output confirms that the object we got is truly of type `VGroove`.\n",
Expand All @@ -164,6 +176,7 @@
},
{
"cell_type": "markdown",
"id": "078d2b27",
"metadata": {},
"source": [
"## Conclusion\n",
Expand Down
Loading