We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7102479 commit bb7d5fbCopy full SHA for bb7d5fb
src/doc_builder/commands/notebook_to_mdx.py
@@ -69,7 +69,7 @@ def notebook_to_mdx_command(args):
69
if src_path.is_dir() and args.open_notebook_prefix is not None:
70
relative_path = notebook_path.relative_to(src_path)
71
colab_link = f"{args.open_notebook_prefix}/{str(relative_path)}"
72
- colab_link_component = f'<DocNotebookDropdown classNames="absolute z-10 right-0 top-0" options={{[{{label: "Google Colab", value: "{colab_link}"}}]}} />/>'
+ colab_link_component = f'<DocNotebookDropdown classNames="absolute z-10 right-0 top-0" options={{[{{label: "Google Colab", value: "{colab_link}"}}]}} />'
73
mdx_content = f"{colab_link_component}\n\n" + mdx_content
74
75
with open(dest_file_path, "w", encoding="utf-8") as f:
0 commit comments