skipped
"#); vm.trace_json.clear(); // Rebuild outline + Structure without run annotations. if let Ok(module) = crate::parse::parse_source(&vm.source) { let wb = crate::view::render::render_writeback_outline(&vm.source); vm.outline_html = crate::view::render::render_right_rail(&module, &vm.bindings_html, &wb); vm.structure_html = crate::view::render::render_module_structure_with_annots( &module, &vm.source, &[], ); } } let links = LinkMode::Static { from: Some(rel.clone()), }; let html = page_file(&root.files, &rel, &vm, &links); let out_file = pages_root.join(format!("{rel}.html")); if let Some(parent) = out_file.parent() { fs::create_dir_all(parent)?; } fs::write(&out_file, html).with_context(|| format!("write {}", out_file.display()))?; if first_page_html.is_none() { // index.html = first file (same content, links rooted at OUT_DIR) first_page_html = Some(page_file( &root.files, &rel, &vm, &LinkMode::Static { from: None }, )); } } let index_html = first_page_html.unwrap_or_else(|| { page_index(&root.files, root.only_file.as_deref(), &LinkMode::Static { from: None }) }); let index_path = opts.out_dir.join("index.html"); fs::write(&index_path, index_html) .with_context(|| format!("write {}", index_path.display()))?; eprintln!( "marqdo view output: {} page(s) → {}", root.files.len(), opts.out_dir.display() ); Ok(()) } fn resolve_abs(root: &ViewRoot, rel: &str) -> Result