Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit ab7fe7d

Browse files
committed
address myst-nb warnings
1 parent 87f4e3a commit ab7fe7d

19 files changed

+9353
-9356
lines changed

docs/conf.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@
6565
# myst-nb configuration
6666
nb_execution_mode = "off"
6767

68-
# Suppress warnings
69-
suppress_warnings = [
70-
"myst.header",
71-
]
72-
7368
# autodoc/autosummary flags
7469
autoclass_content = "both"
7570
autodoc_default_options = {"members": True}
@@ -277,12 +272,14 @@
277272

278273

279274
suppress_warnings = [
275+
# Allow unknown mimetype so we can use widgets in tutorial notebooks.
276+
"mystnb.unknown_mime_type",
280277
# Temporarily suppress this to avoid "more than one target found for
281278
# cross-reference" warning, which are intractable for us to avoid while in
282279
# a mono-repo.
283280
# See https://github.com/sphinx-doc/sphinx/blob
284281
# /2a65ffeef5c107c19084fabdd706cdff3f52d93c/sphinx/domains/python.py#L843
285-
"ref.python"
282+
"ref.python",
286283
]
287284

288285
# -- Options for LaTeX output ---------------------------------------------

notebooks/dataframes/dataframe.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"id": "13861abc-120c-4db6-ad0c-e414b85d3443",
5050
"metadata": {},
5151
"source": [
52-
"### Select a subset of the DF"
52+
"## Select a subset of the DF"
5353
]
5454
},
5555
{

notebooks/dataframes/index_col_null.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@
358358
"id": "13861abc-120c-4db6-ad0c-e414b85d3443",
359359
"metadata": {},
360360
"source": [
361-
"### Select a subset of the DataFrame\n",
361+
"## Select a subset of the DataFrame",
362362
"\n",
363363
"Filter columns by selecting a list of columns from the DataFrame.\n",
364364
"\n",

notebooks/generative_ai/bq_dataframes_ai_forecast.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"cell_type": "markdown",
6161
"metadata": {},
6262
"source": [
63-
"### Setup"
63+
"## Setup"
6464
]
6565
},
6666
{

0 commit comments

Comments
 (0)