-
Notifications
You must be signed in to change notification settings - Fork 12
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
Make the home page easier to navigate #327
Conversation
prjemian
commented
Apr 30, 2024
- close Make home page easier to use. #326
A built ZIP file of the docs are uploaded as an artifact: https://github.com/bluesky/hklpy/actions/runs/8890336016 |
Ready for review, no real changes to content, just presentation, aimed at making it easier to navigate. @ambarb - Comments? |
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 like the gist of these changes.
The grid does a good job of calling attention, but I think it's overwhelming. Breaking it up into sections would help. My suggestion is to split them, such as:
- Top row -- it's the primary focus for newcomers
- Middle two rows -- Give them a header or introductory sentence such as "hklpy modules" or "Learn about hklpy"
- "Miscellaneous" -- Last row with more esoteric info
The overview text could be a bit clearer. Suggestion...
`hklpy` is a python package that makes it practical to use the `hkl` library with `ophyd` devices and `bluesky` plans.
Multiple `libhkl` repositories exist; `hklpy` uses the version at XXX for underlying functionality.
@padraic-shafer - Thanks for the feedback. I agree there is still too much information on the home page. Rather than adding sections, I'd like to keep the page at a very high level. I'll build your phrasing into the overview text, while keeping it oriented to the needs of the crystallographer who is not familiar with package names and libraries. The intent, eventually, is to expand from the Hkl library to other computational backends. |
I find that much easier to digest. Nicely done! |
@rodolakis has been guiding me to say the same thing (in documentation) with fewer words. Applying that here. Newly-created User Guide gathers some of content pulled from home page, and groups as @padraic-shafer suggested: Install page completely revamped. Most other pages left alone. SummaryOverhaul of appearance, not substance. |
Reviewers, get ZIP file from https://github.com/bluesky/hklpy/actions/runs/8901753697 |
@prjemian the new layout/design looks great. I spent more time exploring and finding the spec-to-bluesky was not something I had seen before. I imagine this is part of your objective. unrelated to this review, I have two comment for consideration:
|
💯
Good point. I'll add this.
Have not seen lattice parameter refinement in the libhkl code. I'll look for it. |
@ambarb - Found it. SPEC's The only advice I have now is to consult the libhkl documentation. Start with section 1.5.2:
Also section 1.5.4. That part of the docs are in French. |
To help with review, I pushed the new docs to the web site: https://blueskyproject.io/hklpy/ (It's easy for me to push the old version to the web site. We're not ready, yet, to support multiple versions of the docs on the web site. Probably that will come sometime this year.) |
I tend to agree. I see value in documenting changes in the repo in public, for those who work out of the main branch. But for now, all future changes are noted as comments. |
I'm hearing consensus overall to these changes but no one has approved. I plan to merge tomorrow if there is nothing else to be changed. |
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.
After-merge review :)
:maxdepth: 1 | ||
:glob: | ||
|
||
notebooks/how_* |
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.
That's a nice feature so that all HowTo's can be included automatically.
|
||
.. note:: *hklpy* documentation built |today| for version |version|. | ||
:home: https://bluesky.github.io/hklpy |
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.
blueskyproject.io may be better to avoid redirection.
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.
done