Skip to content

Commit 155fc72

Browse files
authored
Merge pull request #173 from machow/fix-sidebar-yaml
fix: correct sidebar structure
2 parents 671cf1f + 370bd14 commit 155fc72

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
@@ -565,7 +565,8 @@ def _generate_sidebar(self, blueprint: layout.Layout):
565565

566566
contents.append({"section": section.title, "contents": links})
567567

568-
return {"website": {"sidebar": {"id": self.dir, "contents": contents}}}
568+
entries = [{"id": self.dir, "contents": contents}, {"id": "dummy-sidebar"}]
569+
return {"website": {"sidebar": entries}}
569570

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

0 commit comments

Comments
 (0)