diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2022-05-14 16:56:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-14 17:56:53 -0600 |
commit | c5a999682bf94cfd08cc64b49efef38371cbdb2e (patch) | |
tree | 71c1fdd0c804779ac204a0245e2c11376f8cf68a /doc/source/index.rst | |
parent | bb20ef740fa97651631b1d0adf85ced7d0f6879d (diff) | |
download | numpy-c5a999682bf94cfd08cc64b49efef38371cbdb2e.tar.gz |
DOC: Proposal - make the doc landing page cards more similar to scipy/pandas (#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>
Diffstat (limited to 'doc/source/index.rst')
-rw-r--r-- | doc/source/index.rst | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst index a753a21f1..1576d0672 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -11,6 +11,7 @@ NumPy documentation User Guide <user/index> API reference <reference/index> Development <dev/index> + release **Version**: |version| @@ -35,7 +36,7 @@ basic statistical operations, random simulation and much more. .. panels:: :card: + intro-card text-center - :column: col-lg-6 col-md-6 col-sm-6 col-xs-12 p-2 + :column: col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex --- :img-top: ../source/_static/index-images/getting_started.svg @@ -46,10 +47,12 @@ basic statistical operations, random simulation and much more. New to NumPy? Check out the Absolute Beginner's Guide. It contains an introduction to NumPy's main concepts and links to additional tutorials. + +++ + .. link-button:: user/absolute_beginners :type: ref - :text: - :classes: stretched-link + :text: To the absolute beginner's guide + :classes: btn-block btn-secondary stretched-link --- :img-top: ../source/_static/index-images/user_guide.svg @@ -60,10 +63,12 @@ basic statistical operations, random simulation and much more. The user guide provides in-depth information on the key concepts of NumPy with useful background information and explanation. + +++ + .. link-button:: user :type: ref - :text: - :classes: stretched-link + :text: To the user guide + :classes: btn-block btn-secondary stretched-link --- :img-top: ../source/_static/index-images/api.svg @@ -76,25 +81,29 @@ basic statistical operations, random simulation and much more. methods work and which parameters can be used. It assumes that you have an understanding of the key concepts. + +++ + .. link-button:: reference :type: ref - :text: - :classes: stretched-link + :text: To the reference guide + :classes: btn-block btn-secondary stretched-link --- :img-top: ../source/_static/index-images/contributor.svg Contributor's Guide - ^^^^^^^^^^^^^^^ + ^^^^^^^^^^^^^^^^^^^ Want to add to the codebase? Can help add translation or a flowchart to the documentation? The contributing guidelines will guide you through the process of improving NumPy. + +++ + .. link-button:: devindex :type: ref - :text: - :classes: stretched-link + :text: To the contributor's guide + :classes: btn-block btn-secondary stretched-link .. This is not really the index page, that is found in _templates/indexcontent.html The toctree content here will be added to the |