Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make documentation rustier #559

Open
MicahGale opened this issue Sep 30, 2024 · 4 comments · May be fixed by #608
Open

Make documentation rustier #559

MicahGale opened this issue Sep 30, 2024 · 4 comments · May be fixed by #608
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?

# for free to join this conversation on GitHub. Already have an account? # 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

Successfully merging a pull request may close this issue.

2 participants