Closed dtantsur closed 1 month ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from dtantsur. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
I'm sorry @peppi-lotta, but unless we have a quick idea how to fix the build, the PR needs to be reverted.
/cc @adilGhaffarDev @kashifest
Weird! Looks like everything was fine in https://github.com/metal3-io/metal3-docs/pull/386. Also, this code is mostly coming from CAPI as far as I know. I wonder what changed :thinking:
Yes #386 was build with the same settings and same versions, could be related to some caching but not sure, I did try to bump rust in #421 but the issue prevails, seems like we need to open a bug report in Rust, @peppi-lotta can you please take a look and if no quick solution is found, we need to take this revert in.
I found the issue. Fix in https://github.com/metal3-io/metal3-docs/pull/423 Although maybe more like a workaround. It would be nice to make the preprocessor more robust or improve the error message...
I agree, we need better diagnostics. But the revert is no longer needed, thanks all!
I added to metal3-docs a warning about links without a path causing an error and created an issue in mdbook about it. I had noticed this an added a note in the README.md but obviously that was too hidden :sweat_smile:. CAPI has this same problem but they just aren't using Draft Chapters aka links without a path in SUMMARY.md.
This reverts commit 5e9b9585518c94475f16a2c154ac37200a8af60f.
This change currently causes a crash when building the user guide:
Reproducible both locally and in the CI.
Signed-off-by: Dmitry Tantsur dtantsur@protonmail.com