feat(docs): create sukr documentation site
Self-documenting docs site built with sukr itself (dogfooding): - docs/site.toml with sukr.io base URL - docs-specific templates with sidebar navigation - Dark theme CSS, responsive layout - Documentation: getting-started, configuration, features Also: improved error chaining for better template debugging
This commit is contained in:
@@ -35,6 +35,12 @@ fn main() {
|
||||
Ok(Some(config_path)) => {
|
||||
if let Err(e) = run(&config_path) {
|
||||
eprintln!("error: {e}");
|
||||
// Print full error chain
|
||||
let mut source = std::error::Error::source(&e);
|
||||
while let Some(cause) = source {
|
||||
eprintln!(" caused by: {cause}");
|
||||
source = std::error::Error::source(cause);
|
||||
}
|
||||
std::process::exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user