numpy / numpy.org

The NumPy home page
http://numpy.org/
BSD 3-Clause "New" or "Revised" License
108 stars 103 forks source link

Move keyfeatures to a grid of cards #728

Closed jarrodmillman closed 4 months ago

jarrodmillman commented 4 months ago

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 https://github.com/scipy/scipy.org/pull/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.)

netlify[bot] commented 4 months ago

Deploy Preview for numpy-org ready!

Name Link
Latest commit 59cd8bdf75e73e108326d21de287836cd9d068f9
Latest deploy log https://app.netlify.com/sites/numpy-org/deploys/65d4f5c4b7d0ad0008f65749
Deploy Preview https://deploy-preview-728--numpy-org.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.