Skip to content

Refactor plasmapy_sphinx - #1144

Merged
rocco8773 merged 35 commits into
PlasmaPy:masterfrom
rocco8773:refactor_plasmapy_sphinx
May 20, 2021
Merged

rocco8773 merged 35 commits into
PlasmaPy:masterfrom
rocco8773:refactor_plasmapy_sphinx

Conversation

@rocco8773

@rocco8773 rocco8773 commented May 18, 2021 •

Copy link
Copy Markdown
Member

After working on the lite-function functionality (PR #1145 & PR <still needs to be opened>), I realized plasmapy_sphinx wasn't structured nicely for expansion. Thus, I've refactored the package structure to better reflect the structure of sphinx and make where to place new functionality more intuitive. No new functionality has been add, but some documentation for plasmapy_sphinx has been expanded.

rocco8773 added 30 commits May 13, 2021 14:34
…_sphinx.directives.event; delete any references to extras
@github-actions github-actions Bot added the docs PlasmaPy Docs at http://docs.plasmapy.org label May 18, 2021
@rocco8773
rocco8773 requested a review from a team May 18, 2021 23:49
@rocco8773 rocco8773 self-assigned this May 18, 2021
@rocco8773 rocco8773 added the no changelog entry needed For PRs that should not have a changelog entry label May 18, 2021
@codecov

codecov Bot commented May 18, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #1144 (b496f72) into master (5b32ef8) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1144   +/-   ##
=======================================
  Coverage   96.95%   96.95%           
=======================================
  Files          71       71           
  Lines        7027     7027           
=======================================
  Hits         6813     6813           
  Misses        214      214           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5b32ef8...b496f72. Read the comment docs.

@namurphy namurphy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This was an admittedly quick review since I'm not familiar enough with sphinx and plasmapy_sphinx, but even so it is looking good and I'm happy for it to be merged. Just a few minor suggestions.

Comment on lines +14 to +15
`GitHub repository <https://github.com/plasmapy/plasmapy>`_. We do plan to breakout
`plasmapy_sphinx` into its own repository and release it to https://pypi.org at

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
`GitHub repository <https://github.com/plasmapy/plasmapy>`_. We do plan to breakout
`plasmapy_sphinx` into its own repository and release it to https://pypi.org at
`GitHub repository <https://github.com/plasmapy/plasmapy>`_. We do plan to break
`plasmapy_sphinx` out into its own repository and release it to https://pypi.org at

[optional]

Comment thread docs/plasmapy_sphinx/directives/confval.py
definition. For example, doing ``:confval:`dummy_value``` will cross-link
to the ``dummy_value`` configuration value like :confval:`dummy_value`. Or,
a link to Sphinx's ``intersphinx_mapping`` configuration value goes like
``:confval:`intersphinx_mapping``` -> :confval:`intersphinx_mapping`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
``:confval:`intersphinx_mapping``` -> :confval:`intersphinx_mapping`.
``:confval:`intersphinx_mapping``` → :confval:`intersphinx_mapping`.

😬 u2192!

@rocco8773
rocco8773 merged commit 8036945 into PlasmaPy:master May 20, 2021
@rocco8773

Copy link
Copy Markdown
Member Author

I had auto-merge enabled so none of your suggestions/corrections made it into the merge. I'll make the changes to the, yet to be opened, Lite-Function Ep. 2 PR (Ep. 1 PR is #1145).

@namurphy

Copy link
Copy Markdown
Member

I had auto-merge enabled

No worries! I noticed that after the fact. I made one of the changes in a different PR (provide → provided) so I resolved that suggestion above.

@rocco8773
rocco8773 deleted the refactor_plasmapy_sphinx branch February 24, 2022 17:48
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 no changelog entry needed For PRs that should not have a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants