-
Notifications
You must be signed in to change notification settings - Fork 340
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
Bapsflib style doc sidebar captions #777
Bapsflib style doc sidebar captions #777
Conversation
fa77125
to
da81d3e
Compare
Version 1 https://5380-46810954-gh.circle-artifacts.com/0/docs/_build/html/index.html (last Development Guide -> About; my mistake) |
Wait, since when do we have RTD builds in CI? 😱 :giddy-like-a-tired-CI-person: |
Codecov Report
@@ Coverage Diff @@
## master #777 +/- ##
=======================================
Coverage 95.94% 95.94%
=======================================
Files 56 56
Lines 5000 5000
=======================================
Hits 4797 4797
Misses 203 203 Continue to review full report at Codecov.
|
Okay, what I'd like you to compare is
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working on this! I really like the direction this is going. I have a few suggestions, some of which I remember @rocco8773 saying in a side conversation a little while back.
- We can probably skip spelling out the subpackage name/location in the sidebar (i.e., drop the
plasmapy.formulary
next to "Formulary") - We can probably skip saying "PlasmaPy" and "Plasma" for some of the items in the side bar since it can be a bit redundant. Like..."About PlasmaPy" could change to "About" and "Plasma Diagnostics" could change to "Diagnostics"
- Could the sidebar headings for "Examples", "Development Guide", and "About" be changed to links to the relevent places so that the subitems can be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I second what @namurphy said.
I do think the sidebar can still benefit from a little more organization and conciseness. Here's an organization I originally had in mind.
First Steps
- Vision Statement (or an About)
- Installing
- Getting Started
[This would be a new page (i.e. one we don't already have). It would be a quick and dirty overview/guide to the package contents. It would explain the concept behind the top-level packages and any key classes. This would probably be a separate PR.] - Examples
- How to Contribute (renaming of "Contributing to PlasmaPy")
- Community Code of Conduct
- Acknowledging & Citing
Package Features
[I'd say keep this pages alphabetized, versus some kind of importance priority.]
- Diagnostics
- Formulary
- Particles
- Particle Tracker (could be combined into the "Particles" page)
- Plasma Objects
- Utilities
Guide for Contributors
- How to Contribute (this would link to the same page listed under "First Steps")
- Community Code of Conduct (this would link to the same page listed under "First Steps")
- Installing for Developers
- Code Guidelines (or "Guide for Coding")
- Test Guidelines (or "Guide for Testing")
- Documentation Guidelines (or "Guide for Writing Documentation")
- Release Guide (or "Guide for Releases")
All the Rest
- Authors & Credits
- Change Log
- Stability of Subpackages
- PlasmaPy.org (just link directly to our main page)
It would also be nice to add some kind of module index, much like the the indices the python documentation has in the upper right corner or bapsflib has under "package navigation". I know this is tricky though and might be better suited to a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is stating to like nice and clean! 🎉 It's already an improvement over what we originally had.
My only other general thought...Maybe we should reorder the docs/
folder to match the sidebar structure. We can keep the folders for the "Package Features" as they are (i.e. docs/diagnostics
, docs/formulary
, etc.), however, we can reshuffle the other pages into the folders docs/first_steps
, docs/development_guide
, and docs/all_the_rest
.
Co-Authored-By: Erik Everson <[email protected]>
Co-Authored-By: Erik Everson <[email protected]>
…PlasmaPy into Erik-style-doc-captions
It was just a TOC page, and the subpages are linked from elsewhere. It seems fine to dump it, since it's raising errors on CI about not being located in any TOC.
Eh, future work for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really nice to me!
We do have a mix of title styles in the sidebar, they switch back and forth between 'Feedback and Communication' and 'Feedback and communication'. We should be consistent with the style we use and I prefer 'Feedback and Communication'.
I'm ok with leaving it to another PR, but we should make an issue as a reminder. |
This style also needs to be applied to 'Plasma Tracker', 'Plasma Objects', and 'Package Utilities'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I'm happy for it to be merged after the changes Erik suggested.
I feel like that could have easily been a code suggestion ;) |
Yeah, but I'm lazy. 😁 |
Awesome! Thanks! This pull request makes me happy. 😸 |
WIP
changelog/README.rst
for instructions, and if you need help with picking the PR type, ask!)docstrings. (Tests pop up at the bottom, in the checks box).
they're failing, ask!).