Skip to content

Commit 370bd14

Browse files
committed
fix: add dummy id to sidebar
1 parent 7082f25 commit 370bd14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

quartodoc/autosummary.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,8 @@ def _generate_sidebar(self, blueprint: layout.Layout):
522522

523523
contents.append({"section": section.title, "contents": links})
524524

525-
return {"website": {"sidebar": {"id": self.dir, "contents": contents}}}
525+
entries = [{"id": self.dir, "contents": contents}, {"id": "dummy-sidebar"}]
526+
return {"website": {"sidebar": entries}}
526527

527528
def write_sidebar(self, blueprint: layout.Layout):
528529
"""Write a yaml config file for API sidebar."""

0 commit comments

Comments
 (0)