Skip to content

build command to only build pages in pages config #1896

Answered by Fil
kousun12 asked this question in Q&A
Discussion options

You must be logged in to vote

This is not supported at the moment. The pages are listed in

framework/src/config.ts

Lines 307 to 324 in 6d455ac

async *paths() {
const visited = new Set<string>();
function* visit(path: string): Generator<string> {
if (!visited.has((path = normalizePagePath(path)))) {
visited.add(path);
yield path;
}
}
for (const path of this.loaders.findPagePaths()) {
yield* visit(path);
}
for (const path of getPagePaths(this)) {
yield* visit(path);
}
for await (const path of dynamicPaths()) {
yield* visit(path);
}
},

in particular, all the files that end in .md are listed in:
https://github.com/observ…

Replies: 1 comment 1 reply

Comment options

Fil
Jan 5, 2025
Collaborator

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

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