mirror of
https://github.com/labmlai/annotated_deep_learning_paper_implementations.git
synced 2025-08-14 17:41:37 +08:00
fix sitemap
This commit is contained in:
@ -14,6 +14,9 @@ def collect(path: Path):
|
||||
return []
|
||||
|
||||
html = path.relative_to(HOME)
|
||||
if html.suffix not in {'.py'}:
|
||||
return []
|
||||
|
||||
if html.stem == '__init__':
|
||||
html = html.parent / 'index.html'
|
||||
else:
|
||||
|
Reference in New Issue
Block a user