Skip to content

API documentation #228

@Armavica

Description

@Armavica

Hi, as part of the review that I am doing for JOSS (openjournals/joss-reviews#9384), I have to evaluate the following item:

Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?

Although diffsol provides many examples and tutorials, I think that this item is rather targeted towards the documentation provided with doc-strings and appearing on the docs.rs documentation.

I am not quite sure what could be considered "core functionality" of this library, and I think that it might be fine if private modules and functionalities are not documented as extensively as public-facing ones. However, while some structs are very well documented (example), documentation seems to be lacking for others (example). Would it be possible to add struct-level or function-level documentation for the structs susceptible to be manipulated by users? Notably, it looks like several of the structs and traits re-exported at crate root level (can this be considered the "core functionality"?) are missing an element-level documentation (DiffSl, JacobianColoring, OdeEquationsStoch, etc.)

I think that it would also good to add a couple lines of module-level documentation, to appear in this section, for modules and submodules. It is fine to mention if modules or submodules are not intended for public use (although documenting them might still be helpful for new contributors to diffsol).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions