Skip to content

Commit 3fece66

Browse files
authored
Merge pull request #142 from dstansby/bump-pydata
Bump version of Matplotlib sphinx theme
2 parents 442e75f + 746eff2 commit 3fece66

File tree

4 files changed

+43
-39
lines changed

4 files changed

+43
-39
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# Add any Sphinx extension module names here, as strings. They can be
1515
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
1616
# ones.
17-
extensions = []
17+
extensions = ["sphinx_design"]
1818

1919
# Add any paths that contain templates here, relative to this directory.
2020

docs/index.rst

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,21 @@ Matplotlib cheatsheets and handouts
77
Cheatsheets
88
***********
99

10-
.. container:: twocol
10+
.. grid:: 2
1111

12-
.. container::
12+
.. grid-item::
1313

14-
.. image:: ../cheatsheets-1.png
15-
:width: 270px
16-
:align: center
17-
:alt: image of first page of cheatsheets
14+
.. image:: ../cheatsheets-1.png
15+
:width: 270px
16+
:align: center
17+
:alt: image of first page of cheatsheets
1818

19+
.. grid-item::
1920

20-
.. container::
21-
22-
.. image:: ../cheatsheets-2.png
23-
:width: 270px
24-
:align: center
25-
:alt: image of second page of cheatsheets
26-
21+
.. image:: ../cheatsheets-2.png
22+
:width: 270px
23+
:align: center
24+
:alt: image of second page of cheatsheets
2725

2826
`Cheatsheets [pdf] <./cheatsheets.pdf>`_
2927

@@ -32,36 +30,34 @@ Cheatsheets
3230
Handouts
3331
********
3432

35-
.. container:: twocol
36-
37-
.. container::
38-
39-
.. image:: ../handout-beginner.png
40-
:width: 270px
41-
:align: center
42-
:alt: image of beginner handout
33+
.. grid:: 1 2 3 3
4334

44-
`Beginner [pdf] <./handout-beginner.pdf>`_
35+
.. grid-item::
4536

37+
.. image:: ../handout-beginner.png
38+
:width: 270px
39+
:align: center
40+
:alt: image of beginner handout
4641

47-
.. container::
42+
`Beginner [pdf] <./handout-beginner.pdf>`_
4843

49-
.. image:: ../handout-intermediate.png
50-
:width: 270px
51-
:align: center
52-
:alt: image of intermediate handout
44+
.. grid-item::
5345

54-
`Intermediate [pdf] <./handout-intermediate.pdf>`_
46+
.. image:: ../handout-intermediate.png
47+
:width: 270px
48+
:align: center
49+
:alt: image of intermediate handout
5550

51+
`Intermediate [pdf] <./handout-intermediate.pdf>`_
5652

57-
.. container::
53+
.. grid-item::
5854

59-
.. image:: ../handout-tips.png
60-
:width: 270px
61-
:align: center
62-
:alt: image of tips handout
55+
.. image:: ../handout-tips.png
56+
:width: 270px
57+
:align: center
58+
:alt: image of tips handout
6359

64-
`Tips [pdf] <./handout-tips.pdf>`_
60+
`Tips [pdf] <./handout-tips.pdf>`_
6561

6662
Contribute
6763
**********

requirements/requirements.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ bump2version
33
cartopy==0.22.0
44
flake8
55
matplotlib==3.7.4
6-
mpl-sphinx-theme~=3.7.1
76
pillow>=9
87
pdfx
98
pip-tools
109
pre-commit
1110
scipy
11+
# Docs
12+
mpl-sphinx-theme~=3.8.0
13+
pydata-sphinx-theme==0.13.3
1214
sphinx
15+
sphinx-design

requirements/requirements.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ matplotlib==3.7.4
7575
# mpl-sphinx-theme
7676
mccabe==0.7.0
7777
# via flake8
78-
mpl-sphinx-theme==3.7.1
78+
mpl-sphinx-theme==3.8.0
7979
# via -r requirements.in
8080
nodeenv==1.8.0
8181
# via pre-commit
@@ -113,8 +113,10 @@ pycodestyle==2.11.1
113113
# flake8
114114
pycparser==2.21
115115
# via cffi
116-
pydata-sphinx-theme==0.15.2
117-
# via mpl-sphinx-theme
116+
pydata-sphinx-theme==0.13.3
117+
# via
118+
# -r requirements.in
119+
# mpl-sphinx-theme
118120
pyflakes==3.2.0
119121
# via flake8
120122
pygments==2.17.2
@@ -152,6 +154,9 @@ sphinx==7.2.6
152154
# via
153155
# -r requirements.in
154156
# pydata-sphinx-theme
157+
# sphinx-design
158+
sphinx-design==0.5.0
159+
# via -r requirements.in
155160
sphinxcontrib-applehelp==1.0.8
156161
# via sphinx
157162
sphinxcontrib-devhelp==1.0.6

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy