Skip to content

How to structure a project with multiple long-running Python data loaders #1944

Answered by mbostock
kyrre asked this question in Q&A
Discussion options

You must be logged in to vote

Perhaps we should add support for a .observablehqignore file that allows you to ignore any pages within .venv? Or perhaps we should ignore all subdirectories in src that start with . by default?

The current list of pages is generated here:

framework/src/config.ts

Lines 212 to 213 in 82412a4

for (const file of visitFiles(root, (name) => !isParameterized(name))) {
if (extname(file) !== ".md" || file === "index.md" || file === "404.md") continue;

The required top-level /index page is further added here:

if (loaders.findPage("/index")) visit({name: title, path: "/index", pager: "main"});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kyrre
Comment options

Answer selected by kyrre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants