-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maliput docs in docs.rs is not working #57
Comments
https://docs.rs/crate/maliput/0.1.0/builds/1183671 It is failing because for building the docs it actually is building everything, that means that it is executing build.rs at maliput-sdk that brings maliput binaries via BCR.
|
We can try to replicate locally the execution following this: https://forge.rust-lang.org/docs-rs/add-dependencies.html Also note here that https://github.com/rust-lang/crates-build-env/blob/master/README.md#linux the docs are generated using an image based on Ubuntu 22.04 and we actually need to use Ubuntu 20 so it might be failing because of this |
Tried using the docker image that is used for building the docs:
Then I run a container and tried installing cargo. This is the complete output:
thread 'main' panicked at maliput-sdk/build.rs:54:10: That's the line for running bazel build command. Note: Important to note that the docker image is based on Jammy image (Ubuntu 22) meaning that most probably that it will fail maliput compilation (never tried on ubuntu 22) |
I looked at https://github.com/tensorflow/rust/tree/master They have:
I tried to the same however in our case:
Sadly, we can't do the same for maliput packages unless we change to use the same approach when creating the bindings, which is not ideal at all. |
Closing. After #75 is done the docs linked in crates.io for the creates will refer to our hosted documentation |
Summary
Verify why documentation at https://docs.rs/crate/maliput/0.1.0 isn't building correctly
Definition of Done
docs.rs should host maliput documentation
The text was updated successfully, but these errors were encountered: