improve(xtask): add mdbook check, fix directory redirects, and use safe signal handling#65
Conversation
…fe signal handling
|
Thanks for the PR @SyedaAnshrahGillani. A few blockers before this can move forward:
The |
|
Thanks for the review, @adarshdhital007!
I've also verified that the new mdbook check correctly identifies its absence in the PATH, preventing late-stage build failures. Let me know if you need any further clarification! |
|
@adarshdhital007 Since this is a superset of your original PR, are you satisfied with the answers to your questions? |
This PR enhances the xtask automation tool by improving its reliability, safety, and correctness. These changes align with the "fail loudly" philosophy, ensuring the build and serve pipeline is robust and self-documenting.
Key Changes:
Fail-Fast mdBook Validation:
Robust Directory Resolution & Redirects:
resolve relative asset links.
Safe & Idiomatic Signal Handling:
Dependency Management:
These improvements ensure that the xtask tool—the entry point for building and previewing the training books—is stable,
predictable, and follows Rust best practices for CLI development.