From 5b0ba86fa412ffbb807a9f06e1d42a4acdf7f754 Mon Sep 17 00:00:00 2001 From: Seung Park Date: Fri, 6 Jan 2023 11:05:19 -0500 Subject: [PATCH] insert default children and default slug for associated toc node (#438) --- snooty/postprocess.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snooty/postprocess.py b/snooty/postprocess.py index b7e8736f..96753f5f 100644 --- a/snooty/postprocess.py +++ b/snooty/postprocess.py @@ -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: