Skip to content
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

Improve documentation #2

Open
OWissett opened this issue Jul 30, 2023 · 0 comments
Open

Improve documentation #2

OWissett opened this issue Jul 30, 2023 · 0 comments
Assignees

Comments

@OWissett
Copy link
Owner

We need to have good documentation across all of the public functions and data structures.

We should have something like this:

/// Some short descriptive title
///
/// ## Overview
///  more details....
/// 
///  ## Arguments
...

/// ## Panics (if appropriate)
...

/// ## Errors (if appropriate)

/// # Returns

///

All need to have a brief description and a good overview, maybe including an example.

The arguments and returns values should be described.

If a function can panic or return an error, then these should be documented.

If a public function is unsafe this needs to be documented - and potentially should be hidden behind a feature flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants