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 consistency and ReST formatting in documentation #1073

Merged
merged 60 commits into from
May 20, 2021

Conversation

namurphy
Copy link
Member

Some minor touch-ups and updates to the documentation, including to the stability matrix. The changes should be pretty straightforward.

@namurphy namurphy added the docs PlasmaPy Docs at http://docs.plasmapy.org label Mar 13, 2021
@codecov
Copy link

codecov bot commented Mar 13, 2021

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.95%. Comparing base (8036945) to head (edf6a0f).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1073      +/-   ##
==========================================
- Coverage   96.95%   96.95%   -0.01%     
==========================================
  Files          71       71              
  Lines        7027     7026       -1     
==========================================
- Hits         6813     6812       -1     
  Misses        214      214              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

docs/about/stability.rst Outdated Show resolved Hide resolved
docs/install.rst Outdated Show resolved Hide resolved
@namurphy namurphy marked this pull request as ready for review March 14, 2021 01:03
I started to implement `ParticleLike` in some docstrings, and decided that
went outside the scope of this pull request.
@namurphy
Copy link
Member Author

This PR includes an update to the section in the docs on required packages, so it'd be helpful (but not required) for this to be merged before the 0.6.0 release.

docs/install.rst Outdated Show resolved Hide resolved
docs/install.rst Outdated Show resolved Hide resolved
docs/install.rst Outdated Show resolved Hide resolved
@@ -348,7 +342,7 @@ def unit(self):

Raises
------
ValueError
`ValueError`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm totally okay with this. Just pointing out that it makes no difference when rendering the RTD docs. For some reason, the numpydoc "Raises" section never applies the code syntax when this is done.

Copy link
Member

@rocco8773 rocco8773 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the grids module, all instances of DataArray should be replaced with ~xarray.DataArray so it's properly cross-referenced. This will also require adding xarray to the intersphinx_mapping dictionary in the conf.py.

namurphy and others added 2 commits April 30, 2021 10:00
@namurphy
Copy link
Member Author

There are probably conflicts between this PR and #1136. It's probably most sensible to merge #1136 first, and then do the next round of reviews after I resolve the conflicts.

Copy link
Member

@rocco8773 rocco8773 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@namurphy
Copy link
Member Author

LGTM

Thanks! The most recent set of changes are expanding the links (mostly ~plasmapy.particles.ParticleClass to ~plasmapy.particles.particle_class.Particle, etc.) and making sure lines aren't too long. I'm going to take one last careful look.

Copy link
Member

@rocco8773 rocco8773 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still looks good. :)

@namurphy namurphy enabled auto-merge (squash) May 20, 2021 02:24
@namurphy namurphy merged commit d64c10c into PlasmaPy:master May 20, 2021
@namurphy namurphy deleted the doc-fixes-the-next-generation branch May 20, 2021 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs PlasmaPy Docs at http://docs.plasmapy.org plasmapy.particles Related to the plasmapy.particles subpackage plasmapy.plasma Related to the plasmapy.plasma subpackage plasmapy.utils Related to the plasmapy.utils subpackage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants