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

Make documentation rustier #559

Open
MicahGale opened this issue Sep 30, 2024 · 4 comments
Open

Make documentation rustier #559

MicahGale opened this issue Sep 30, 2024 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation feature request An issue that improves the user interface. good first issue Good for newcomers
Milestone

Comments

@MicahGale
Copy link
Collaborator

In Rust there is an expectation that doc strings will include examples.

This could be a good idea to start including more and more in our doc strings.

Along with this we would need to implement doctest in pytest.

Is this a good paradigm?

@MicahGale MicahGale added documentation Improvements or additions to documentation feature request An issue that improves the user interface. labels Sep 30, 2024
@tjlaboss
Copy link
Collaborator

yes

@MicahGale MicahGale added the good first issue Good for newcomers label Oct 15, 2024
@tjlaboss
Copy link
Collaborator

doctest is now implemented, opening this up

@MicahGale
Copy link
Collaborator Author

Right. Probably need to create a new convention for docstrings including examples as well a reference to the MCNP manuals.

@MicahGale
Copy link
Collaborator Author

Should I add this to the big todo list for the 1.0.0 alpha release?

@MicahGale MicahGale added this to the 1.0.0-alpha milestone Nov 14, 2024
@MicahGale MicahGale self-assigned this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature request An issue that improves the user interface. good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants