Skip to content

Render Rust API docs #627

Closed
Closed

Description

@fsimonis

We can use cargo rustdoc to build a stand-alone documentation that can be integrated into the website similar to doxygen.

We cannot use the doc.rs project to autobuild the documentation as they use Ubuntu 24.04 and preCICE needed to be available in the Ubuntu archives.

https://github.com/rust-lang/crates-build-env?tab=readme-ov-file#adding-new-dependencies

Activity

  1. fsimonis commented on Jan 23, 2026

    @fsimonis
    MemberAuthor

    Turns out that we can use docs.rs by not building the native part when DOCS_RS is detected.
    I released a hotfix version that now builds successfully on docs.rs:

    https://docs.rs/precice/latest/precice/struct.Participant.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    technicalTechnical issues on the website

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions