{"record":{"id":"cbc9ffd6fbb1efd2","repo":"zed-industries/zed","slug":"default-description-not-found","errorCode":null,"errorMessage":"Default description not found","messagePattern":"Default description not found","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/docs_preprocessor/src/main.rs","lineNumber":708,"sourceCode":"        .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\")\n        .expect(\"Default description not found\")\n        .as_str()\n        .expect(\"Default description not a string\")\n        .to_string();\n    let default_title = zed_html\n        .get(\"default-title\")\n        .expect(\"Default title not found\")\n        .as_str()\n        .expect(\"Default title not a string\")\n        .to_string();\n    let amplitude_key = std::env::var(\"DOCS_AMPLITUDE_API_KEY\").unwrap_or_default();\n    let consent_io_instance = std::env::var(\"DOCS_CONSENT_IO_INSTANCE\").unwrap_or_default();\n    let docs_channel = std::env::var(\"DOCS_CHANNEL\").unwrap_or_else(|_| \"stable\".to_string());\n    let site_url = std::env::var(\"MDBOOK_BOOK__SITE_URL\")\n        .ok()\n        .filter(|site_url| !site_url.trim().is_empty())\n        .unwrap_or_else(|| {\n            match docs_channel.as_str() {\n                \"nightly\" => \"/docs/nightly/\",","sourceCodeStart":690,"sourceCodeEnd":726,"githubUrl":"https://github.com/zed-industries/zed/blob/f4178619acd0d47ea1f76a2025c42962c6d6638c/crates/docs_preprocessor/src/main.rs#L690-L726","documentation":"Panics in handle_postprocessing when `default-description` is absent from the zed-html output config. The docs build requires a default meta description for pages that lack one, so a missing key is treated as a configuration error.","triggerScenarios":"Thrown at crates/docs_preprocessor/src/main.rs:708 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set `default-description` under [output.zed-html] in book.toml","Check the docs build configuration template for the required keys"],"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"}