DOC: Proposal - make the doc landing page cards more similar to scipy#21512
Merged
charris merged 1 commit intonumpy:maintenance/1.22.xfrom May 15, 2022
Merged
DOC: Proposal - make the doc landing page cards more similar to scipy#21512charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
Conversation
…/pandas (numpy#21491) * DOC: Add panel elements to index matching scipy/pandas. * DOC: Update card styling in css to match scipy/pandas. * DOC: Add release notes to nav bar. * DOC: replace css in layout with html_css_files conf val. * DOC: Fix page layout. Co-authored-by: Stefan van der Walt <stefanv@berkeley.edu> Co-authored-by: Stefan van der Walt <stefanv@berkeley.edu>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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_filesconfig 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