From 0793cffe8ef8de44933d3bb8f5448e198e1b0adb Mon Sep 17 00:00:00 2001 From: Christian Buhtz Date: Mon, 1 Jan 2024 10:52:48 +0100 Subject: [PATCH] fixed last commit. forgot a save --- pydoctor/templatewriter/writer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pydoctor/templatewriter/writer.py b/pydoctor/templatewriter/writer.py index 0df4939b3..d887a4999 100644 --- a/pydoctor/templatewriter/writer.py +++ b/pydoctor/templatewriter/writer.py @@ -115,10 +115,10 @@ def writeSummaryPages(self, system: model.System) -> None: x = list(root_module_path.parent.glob('*')) print(f'TTTT\n{root_module_path=} {x=}') print(f'{root_module_path.exists()=}') - # os.link( - # src=root_module_path, # original - # dst=root_module_path.parent / 'index.html' # the hardlink - # ) + os.link( + src=root_module_path, # original + dst=root_module_path.parent / 'index.html' # the hardlink + ) def _writeDocsFor(self, ob: model.Documentable) -> None: if not ob.isVisible: