From 0642aadcb04ee70b83febe9ed89b948cd2d4938c Mon Sep 17 00:00:00 2001 From: Atul Khare Date: Mon, 6 Apr 2026 10:18:37 -0700 Subject: [PATCH] Add .nojekyll to site root to prevent Jekyll processing GitHub Pages was running Jekyll on the raw markdown sources instead of serving the pre-built mdbook output. Adding .nojekyll to the output root disables Jekyll processing. --- xtask/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 4747439..15c4398 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -161,6 +161,9 @@ fn build_to(dir_name: &str) { println!("\n {ok}/{} books built", BOOKS.len()); write_landing_page(&out); + + // Prevent GitHub Pages from processing the output with Jekyll + fs::write(out.join(".nojekyll"), "").expect("failed to create .nojekyll"); println!("\nDone! Output in {dir_name}/"); }