DOC: Proposal - make the doc landing page cards more similar to scipy #21512
+64
−20
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.
Backport of #21491
This was discussed in the docs meeting and builds on #21456 . The proposal is to make the docs landing page look more like the pandas and scipy landing pages. The landing pages for these three projects already borrow heavily from one another - this PR just makes a few tweaks to bring numpy more in line stylistically with the other two. Main changes:
There's also one minor maintenance issue: we're currently loading the custom css by extending the main layout template. AFAICT that is the only purpose that extending the layout template currently serves (the other additions have been commented out - see #17220). I think it's more straightforward to use the sphinx
html_css_files
config value to accomplish this rather than loading the css in the base template. I've made that change in 08ae8d3 but if there are objections I'm happy to break that out into a separate PR.Also fixes #21264