| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
Sorry, something went wrong.
|
Is this worthy of a changelog? |
Sorry, something went wrong.
|
I'm going to optimistically milestone this for 8.0 and then send @astrofrog some pizza or something. |
Sorry, something went wrong.
|
I'll be in touch about my preferred toppings! |
Sorry, something went wrong.
|
I think he likes cash stuffed crust. |
Sorry, something went wrong.
|
Wow look at how orange it is: https://astropy--19206.org.readthedocs.build/en/19206/ @eteq should be happy now. |
Sorry, something went wrong.
|
FWIW we did not include a change log when we switched theme the last time |
Sorry, something went wrong.
|
I added some links on the original post as this PR would naturally close a few issues (yay). Any chance you want to address #15112 also while you are at it? |
Sorry, something went wrong.
|
@Cadair - generally speaking this looks great and has a nice feel. I do wonder a bit about the bright orange links, which on some pages seem a bit much, especially on the main user docs index (https://astropy--19206.org.readthedocs.build/en/19206/index_user_docs.html). Is this break from the standard scientific Python docs theme driven by a broader web design principle? |
Sorry, something went wrong.
|
On the light or dark theme?
I picked the colours so they were astropy themed. They are the ones from the logo. They can be tweaked but you do need to maintain a high contrast ratio for accessibility. |
Sorry, something went wrong.
|
Also, we shouldn't hold this PR up unnecessarily on colour choices. We can repaint the bikeshed to our hearts content over on the theme repo. The main objectives here are the unified search and the unified navigation bar over all astropy documentation sites. |
Sorry, something went wrong.
Both, and the dark theme it is especially bright and jarring.
Colour choices matter quite significantly and I would not call this bikeshedding. As you note the intent of this PR is unified infrastructure and theme, but right now this has the consequence of making a major and completely non-standard "interface change" to a widely used astropy page. None of the other major projects deviate from normal blue-tinted links in their web pages.
That might be controversial. I asked gemini "is orange a good color for web page links?" Orange is an excellent, high-visibility color for call-to-action (CTA) buttons or specific, attention-grabbing links, as it combines energy with warmth to boost conversions. However, it is generally poor for standard body text links, as it lacks the universal recognition of blue and can pose accessibility challenges. You can take that or leave it, but none of us are web design experts so I would tend to defer to the default non-controversial colors in the standard theme. So that would imply changing the astropy.org theme colors rather than the docs.astropy.org theme colors to be fully unified. |
Sorry, something went wrong.
|
I think there's some context missing here. When I say we shouldn't hold up this PR, I mean because the colours are not defined in this repo (they are in astropy-sphinx-theme) and I don't want to hold up the 8.0 release process. We can release a new version of astropy-sphinx-theme and rebuild the RTD builds and the colours will be updated with no PRs to this repo at all. Also any changes to the theme will be reflected in all repos, website included. I don't actually care what the colours for the theme are, I asked for feedback on the theme pushing 4 months ago. I've opened a PR which resets the link colours in the body of the pages to the pydata-sphinx-theme colours here: astropy/astropy-sphinx-theme#58 |
Sorry, something went wrong.
|
@Cadair - thanks for the clarification, that makes sense. So I would endorse merging this PR contingent upon agreement (in principle) to change the astropy-sphinx-theme prior to the 8.0 release. I'll confess that the unusual orange links in the astropy.org site had not previously caught my eye. This is partly because some of the links on the first landing page are actually in the call-to-action category, and partly because I just don't use that site nearly as much and it simply escaped my attention. I do care about colors and also believe that adhering to almost universally-adopted web standards is important. |
Sorry, something went wrong.
I have no issues with changing things, but basically so far only ~4 people have reviewed the theme. 🤷 |
Sorry, something went wrong.
|
Maybe it is better to re-milestone this to v8.1 so we have time do make such discussions and not rush things into production? |
Sorry, something went wrong.
|
It's already in production, ccdproc just merged it, the website has merged it. We can change the theme settings without any issues. I see no reason to delay this, but you all do what you want. |
Sorry, something went wrong.
[ci skip]
All the ones I could find anyway. [ci skip]
[ci skip]
Also bump lowest-resolved-tree
Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
There was a problem hiding this comment.
I think we should merge this in now and then move the discussion to the theme repo to adjust the link colours. People have been on board with this theme and we have already decided to start the migration. We can easily adjust the link color in the theme this week and have it sorted before the final 8.0 release.
In the interest of minimising changes here after the imminent 8.0.0b1 release, I am going to go ahead and merge and we should then continue discussing link colors on the theme PR.
Sorry, something went wrong.
|
And to be explicit, I am happy to agree to merging the theme PR to update the link colors. |
Sorry, something went wrong.
|
👍 on merging now for 8.0. |
Sorry, something went wrong.
…206-on-v8.0.x Backport PR #19206 on branch v8.0.x (Migrate documentation to new unified astropy sphinx theme)
| Back | FazBrowse Home | New Git URL |
Update to use the new astropy sphinx theme, based on pydata-sphinx-theme and sunpy-sphinx-theme.
This work is being tracked here: astropy/astropy-project#522
For comments on the actual theme open issues on https://github.com/astropy/astropy-sphinx-theme
Related issues: