Skip to content

Commit c939a73

Browse files
committed
Uncomment symlink
1 parent ccadf7e commit c939a73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/utils/example_linking.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def create_notebook_link(source: Path, destination: Path) -> None:
1515
"""
1616
destination.unlink(missing_ok=True)
1717
destination.parent.mkdir(exist_ok=True, parents=True)
18-
# destination.symlink_to(source.resolve(), False)
18+
destination.symlink_to(source.resolve(), False)
1919

2020

2121
def generate_doc_heading(name, link):
@@ -81,7 +81,7 @@ def symlink_files_to_dest_folder(
8181
create_notebook_link(entity, destination / base_path)
8282
if name in name2link:
8383
name += f' {file_count}'
84-
name2link[name] = str(base_path)
84+
name2link[name] = str(base_path).replace('.ipynb', '')
8585

8686
path = destination / "index.rst"
8787
logger.info(f"dest {path}")

0 commit comments

Comments
 (0)