-
Notifications
You must be signed in to change notification settings - Fork 150
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
Create github pages with rustdoc documentation #275
Comments
I agree, though I'd use readthedocs to host the documentation, a significant number of open source projects host their documentation there. I'd leave Github pages for non-documentation content. |
Can you upload rustdoc-generated html to readthedocs? I think readthedocs is linked to Sphinx. I couldn't find an example of Rust documentation on readthedocs either. |
@nnmm Have you read the https://forge.rust-lang.org/docs-rs/add-dependencies.html? |
@michalfita Unfortunately, ROS 2 is not in the standard Ubuntu 20.04 repositories. |
It may be tough call, but for That BTW sounds like a feature to allow certain serious maintainers to provide own Docker image to generate documentation 🤔 |
As of #347, we now generate docs.rs documentation. This suggestion is now obsolete. |
docs.rs cannot build
rclrs
since it requires a ROS 2 installation, and as such it can't display the rustdocs: https://docs.rs/crate/rclrs/0.2.0To make ros2-rust more accessible, we should host the docs ourselves, and GitHub pages are probably the easiest way. They could be updated in a CI step.
Crates that should be covered are
rclrs
,rosidl_runtime_rs
, and perhaps generated message crates forcommon_interfaces
packages (they are built in CI anyway).The text was updated successfully, but these errors were encountered: