Move keyfeatures to a grid of cards #728
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Building on functionality from the v0.11 release. The keyfeature panel for the homepage will be removed in a future theme release. This is part of our large effort to adopt styling from pydata-sphinx-theme where possible. It also makes the frontpage behave more like the other pages.
You can see more examples of cards (in a grid) here:
Here is what they look like in PST:
This will also make it easier to modify project homepages without having to override layouts/index.html.
The styling is a little different than before due to adopting pydata-sphinx-theme styling. But that styling is being used on many community sites and is being reviewed for accessibility.
The Scientific Python websites and scipy.org have already been updated. For example, see scipy/scipy.org#558
@steppi @rgommers Note that this change will need to be made for all translations going forward.
(Once this is merged we plan to start converting the other special homepage sections---i.e., shell, casestudies, and tabs---to shortcodes called from content//_index.md.)