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

Fix rendering of MPRester docstring in deployed docs #863

Merged
merged 2 commits into from Feb 18, 2024

Conversation

ml-evs
Copy link
Contributor

@ml-evs ml-evs commented Nov 19, 2023

It looks like ruff was a bit too rough with this docstring in #772, which messes up the rendered API docs for this class (see __init__ and class docstring at https://materialsproject.github.io/api/_autosummary/mp_api.client.mprester.MPRester.html). This PR fixes it by adding a throwaway line at the top and then follows the appropriate docstring format (feel free to edit the content itself), I also added entries for s3_resource and mute_progress_bars as best I could.

I haven't tried building the docs locally but 99% sure this will work.

@ml-evs
Copy link
Contributor Author

ml-evs commented Feb 18, 2024

Any chance this could be merged? The online docs are still pretty unreadable. Tagging @munrojm as the most recent contributor here

@munrojm munrojm added the release:patch Patch release label Feb 18, 2024
@munrojm munrojm merged commit 5298a01 into materialsproject:main Feb 18, 2024
@munrojm
Copy link
Member

munrojm commented Feb 18, 2024

@ml-evs yup! Merging now. Sorry this got looked over.

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

Successfully merging this pull request may close these issues.

None yet

2 participants