From 7922703e6e868d4246359b6a923602e43cf6b797 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 11 Sep 2022 19:03:22 -0500 Subject: [PATCH] Tutorials: use ipython lexer (#773) --- docs/conf.py | 4 ---- docs/tutorials/benchmarking.ipynb | 2 +- docs/tutorials/custom_raster_dataset.ipynb | 2 +- docs/tutorials/getting_started.ipynb | 2 +- docs/tutorials/indices.ipynb | 2 +- docs/tutorials/trainers.ipynb | 2 +- docs/tutorials/transforms.ipynb | 2 +- 7 files changed, 6 insertions(+), 10 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index f449ec2a807..11df4f7ef13 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,10 +50,6 @@ # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ["_build"] -# nbsphinx has issues highlighting shell commands: -# https://github.com/spatialaudio/nbsphinx/issues/670 -suppress_warnings = ["misc.highlighting_failure"] - # Sphinx 3.0+ required for: # autodoc_typehints_description_target = "documented" needs_sphinx = "4.0" diff --git a/docs/tutorials/benchmarking.ipynb b/docs/tutorials/benchmarking.ipynb index 88d4e82653c..774d88b240b 100644 --- a/docs/tutorials/benchmarking.ipynb +++ b/docs/tutorials/benchmarking.ipynb @@ -349,7 +349,7 @@ }, "file_extension": ".py", "mimetype": "text/x-python", - "name": "python", + "name": "ipython", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.7" diff --git a/docs/tutorials/custom_raster_dataset.ipynb b/docs/tutorials/custom_raster_dataset.ipynb index ed04771b41e..e4dd0c304eb 100644 --- a/docs/tutorials/custom_raster_dataset.ipynb +++ b/docs/tutorials/custom_raster_dataset.ipynb @@ -11,7 +11,7 @@ "display_name": "Python 3" }, "language_info": { - "name": "python" + "name": "ipython" }, "widgets": { "application/vnd.jupyter.widget-state+json": { diff --git a/docs/tutorials/getting_started.ipynb b/docs/tutorials/getting_started.ipynb index 17064224f65..5d7d89a16f2 100644 --- a/docs/tutorials/getting_started.ipynb +++ b/docs/tutorials/getting_started.ipynb @@ -405,7 +405,7 @@ }, "file_extension": ".py", "mimetype": "text/x-python", - "name": "python", + "name": "ipython", "nbconvert_exporter": "python", "version": "3.8.12" }, diff --git a/docs/tutorials/indices.ipynb b/docs/tutorials/indices.ipynb index 8257b16c6ae..a9eaf1a13f3 100644 --- a/docs/tutorials/indices.ipynb +++ b/docs/tutorials/indices.ipynb @@ -650,7 +650,7 @@ }, "file_extension": ".py", "mimetype": "text/x-python", - "name": "python", + "name": "ipython", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.7" diff --git a/docs/tutorials/trainers.ipynb b/docs/tutorials/trainers.ipynb index cb85337cbe9..e3f8fbef530 100644 --- a/docs/tutorials/trainers.ipynb +++ b/docs/tutorials/trainers.ipynb @@ -605,7 +605,7 @@ }, "file_extension": ".py", "mimetype": "text/x-python", - "name": "python", + "name": "ipython", "nbconvert_exporter": "python", "version": "3.9.7" }, diff --git a/docs/tutorials/transforms.ipynb b/docs/tutorials/transforms.ipynb index 811fbc36714..0c329b0629b 100644 --- a/docs/tutorials/transforms.ipynb +++ b/docs/tutorials/transforms.ipynb @@ -751,7 +751,7 @@ }, "file_extension": ".py", "mimetype": "text/x-python", - "name": "python", + "name": "ipython", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.13"