We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 896f69e commit 3c5daabCopy full SHA for 3c5daab
.gitignore
@@ -36,6 +36,7 @@ wheels/
36
MANIFEST
37
node_modules
38
.docusaurus
39
+*-ipynb.mdx
40
docs/static/api_reference
41
42
# PyInstaller
docs/scripts/convert-notebooks.py
@@ -88,7 +88,7 @@ def add_custom_component_imports(
88
89
90
def convert_path(nb_path: Path):
91
- mdx_path = nb_path.with_suffix(".mdx")
+ mdx_path = nb_path.with_stem(nb_path.stem + "-ipynb").with_suffix(".mdx")
92
with open(nb_path) as f:
93
nb = nbformat.read(f, as_version=4)
94
0 commit comments