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: