Skip to content

Commit 7aaa6f3

Browse files
Joe Hammanmax-sixtyandersy005pre-commit-ci[bot]
authored
Doc index update (#6530)
* rework doc index page in light of new xarray.dev splash page * Silence `WARNING: more than one target found for 'any' cross-reference` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * move to sphinx-design * tweak cards * cleanup conf * cleanup conf.py * add panels back * typo * replace `sphinx-panels` with `sphinx-design` * remove sphinx-panels * Add blog * formatting only * center the text Co-authored-by: Maximilian Roos <[email protected]> Co-authored-by: Anderson Banihirwe <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 4c92d52 commit 7aaa6f3

15 files changed

+631
-301
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,7 @@ xarray/tests/data/*.grib.*.idx
7575
Icon*
7676

7777
.ipynb_checkpoints
78+
doc/team-panel.txt
79+
doc/external-examples-gallery.txt
80+
doc/notebooks-examples-gallery.txt
81+
doc/videos-gallery.txt

ci/requirements/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies:
3232
- sphinx-autosummary-accessors
3333
- sphinx-book-theme >= 0.0.38
3434
- sphinx-copybutton
35-
- sphinx-panels
35+
- sphinx-design
3636
- sphinx!=4.4.0
3737
- zarr>=2.4
3838
- pip:

doc/_static/index_api.svg

Lines changed: 97 additions & 0 deletions
Loading

doc/_static/index_contribute.svg

Lines changed: 76 additions & 0 deletions
Loading

doc/_static/index_getting_started.svg

Lines changed: 66 additions & 0 deletions
Loading

doc/_static/index_user_guide.svg

Lines changed: 67 additions & 0 deletions
Loading

doc/_static/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,3 +261,13 @@ body {
261261
.bd-toc .nav > .active > ul {
262262
display: block;
263263
}
264+
265+
/* Main index page overview cards */
266+
267+
.sd-card-img-top {
268+
width: 33% !important;
269+
display: block;
270+
margin-left: auto;
271+
margin-right: auto;
272+
margin-top: 10px;
273+
}

0 commit comments

Comments
 (0)