observablehq / framework

A static site generator for data apps, dashboards, reports, and more. Observable Framework combines JavaScript on the front-end for interactive graphics with any language on the back-end for data analysis.
https://observablehq.com/framework/
ISC License
2.48k stars 119 forks source link

Include page loaders and parameterized pages in the default sidebar #1628

Open Fil opened 1 month ago

Fil commented 1 month ago

(excerpted from #1624 / #1626)

mbostock commented 1 month ago

Not sure how we would include parameterized pages, unless we used the dynamicPaths option or link crawling #1627 to find the parameter values? But we definitely could include non-parameterized page loaders in the default sidebar; the main challenge there is that the default for the pages option is synchronous, but we could find a way around that by refactoring the code.