Skip to content

Commit

Permalink
insert default children and default slug for associated toc node (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
seungpark authored Jan 6, 2023
1 parent 6d69b28 commit 5b0ba86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snooty/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -1747,6 +1747,8 @@ def find_toctree_nodes(
if entry.title
else None,
"options": {"project": entry.ref_project},
"children": [],
"slug": entry.ref_project,
}
ref_project_pair = (entry.title, entry.ref_project)
if ref_project_pair in external_nodes:
Expand Down

0 comments on commit 5b0ba86

Please sign in to comment.