{"record":{"id":"c3766ad5cbad2b32","repo":"zed-industries/zed","slug":"has-output","errorCode":null,"errorMessage":"has output","messagePattern":"has output","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/docs_preprocessor/src/main.rs","lineNumber":689,"sourceCode":"            eprintln!(\n                \"Warning: actions.json not found, action validation will be skipped: {}\",\n                err\n            );\n            ActionManifest {\n                actions: Vec::new(),\n                schema_definitions: serde_json::Map::new(),\n            }\n        }\n    }\n}\n\nfn handle_postprocessing() -> Result<()> {\n    let logger = zlog::scoped!(\"render\");\n    let mut ctx = mdbook::renderer::RenderContext::from_json(io::stdin())?;\n    let output = ctx\n        .config\n        .get_mut(\"output\")\n        .expect(\"has output\")\n        .as_table_mut()\n        .expect(\"output is table\");\n    let zed_html = output.remove(\"zed-html\").expect(\"zed-html output defined\");\n    let redirects = zed_html\n        .get(\"redirect\")\n        .and_then(|redirects| redirects.as_table())\n        .map(|redirects| {\n            redirects\n                .iter()\n                .filter_map(|(source, destination)| {\n                    destination\n                        .as_str()\n                        .map(|destination| (source.clone(), destination.to_string()))\n                })\n                .collect::<Vec<_>>()\n        });\n    let default_description = zed_html\n        .get(\"default-description\")","sourceCodeStart":671,"sourceCodeEnd":707,"githubUrl":"https://github.com/zed-industries/zed/blob/f4178619acd0d47ea1f76a2025c42962c6d6638c/crates/docs_preprocessor/src/main.rs#L671-L707","documentation":"Panics in handle_postprocessing when the mdbook RenderContext config has no `output` section. The zed-html backend requires mdbook to be configured with an output table; its absence means the book's book.toml is misconfigured for this renderer.","triggerScenarios":"Thrown at crates/docs_preprocessor/src/main.rs:689 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Add an `[output.zed-html]` section to book.toml","Verify mdbook is invoking this renderer with a complete RenderContext"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f4178619acd0d47ea1f76a2025c42962c6d6638c","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}