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

Moving to doctest examples #201

Merged
merged 3 commits into from
Aug 8, 2023
Merged

Moving to doctest examples #201

merged 3 commits into from
Aug 8, 2023

Conversation

agoscinski
Copy link
Collaborator

@agoscinski agoscinski commented Jul 27, 2023

Most if it is rather straightforward. Still need to change some existing code blocks. But I also need to change the way the python API is embedded into the doc to include the doctest which is in the python code. See change

.. autoclass:: skmatter.feature_selection.CUR
   :members:
   :undoc-members:
   :inherited-members:
   :show-inheritance:

@rosecers Are you okay with this? Check out https://scikit-matter--201.org.readthedocs.build/en/201/selection.html#cur
Then I continue doing it for the other classes.


📚 Documentation preview 📚: https://scikit-matter--201.org.readthedocs.build/en/201/

@agoscinski agoscinski requested a review from rosecers July 27, 2023 15:25
@agoscinski agoscinski force-pushed the moving-to-doctest branch 2 times, most recently from 50629d0 to 05eb63a Compare July 27, 2023 23:38
* adapt existing code blocks because they did not work
* change the sphinx documentation of classes to autoclass
  to include the doctest examples in the docs and additional
  information
* remove reference to GreedySelector is this is more developer doc
@rosecers
Copy link
Collaborator

rosecers commented Aug 1, 2023

Works for me! Will review when it's ready.

@agoscinski
Copy link
Collaborator Author

Its ready

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

Successfully merging this pull request may close these issues.

3 participants