Skip to content

Commit 88472a4

Browse files
committed
convert grid to MyST grid/card directives
1 parent 8fd4c0d commit 88472a4

3 files changed

Lines changed: 56 additions & 77 deletions

File tree

content/contributors/index.md

Lines changed: 36 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -7,60 +7,52 @@ Welcome to the Contributor Guide! Here you will find useful resources that will
77

88
## First steps
99

10-
{{< grid columns="1 2 2 3" >}}
10+
::::{grid} 1 2 2 3
1111

12-
[[item]]
13-
type = 'card'
14-
title = 'Why Contribute'
15-
link = 'why-contribute'
16-
body = 'Learn some of the reasons why contributing to open source Scientific Python is impactful and can be a transformative experience for developers!'
12+
:::{card} Why Contribute
13+
:link: why-contribute
14+
Learn some of the reasons why contributing to open source Scientific Python is impactful and can be a transformative experience for developers!
15+
:::
1716

18-
[[item]]
19-
type = 'card'
20-
title = 'Ways to contribute'
21-
link = 'ways-to-contribute'
22-
body = 'Learn some of the ways you can contribute to open source Scientific Python projects without having to code.'
17+
:::{card} Ways to contribute
18+
:link: ways-to-contribute
19+
Learn some of the ways you can contribute to open source Scientific Python projects without having to code.
20+
:::
2321

24-
[[item]]
25-
type = 'card'
26-
title = 'Choosing a project'
27-
link = 'choosing-a-project'
28-
body = 'Learn how to choose a project to start contributing to the Scientific Python Ecosystem.'
22+
:::{card} Choosing a project
23+
:link: choosing-a-project
24+
Learn how to choose a project to start contributing to the Scientific Python Ecosystem.
25+
:::
2926

30-
[[item]]
31-
type = 'card'
32-
title = 'Getting started'
33-
link = 'getting-started'
34-
body = 'Learn the first steps to contribute to open source Scientific Python.'
27+
:::{card} Getting started
28+
:link: getting-started
29+
Learn the first steps to contribute to open source Scientific Python.
30+
:::
3531

36-
[[item]]
37-
type = 'card'
38-
title = 'First contribution'
39-
link = 'first-contribution'
40-
body = 'Start working on your first contribution to open source Scientific Python.'
32+
:::{card} First contribution
33+
:link: first-contribution
34+
Start working on your first contribution to open source Scientific Python.
35+
:::
4136

42-
{{< /grid >}}
37+
::::
4338

4439
## Getting set up
4540

46-
{{< grid columns="1 2 2 3" >}}
41+
::::{grid} 1 2 2 3
4742

48-
[[item]]
49-
type = 'card'
50-
title = 'Ecosystem'
51-
link = 'setup/ecosystem'
52-
body = 'Learn how the Scientific Python ecosystem is composed and some of its main packages.'
43+
:::{card} Ecosystem
44+
:link: setup/ecosystem
45+
Learn how the Scientific Python ecosystem is composed and some of its main packages.
46+
:::
5347

54-
[[item]]
55-
type = 'card'
56-
title = 'Install'
57-
link = 'setup/install'
58-
body = '''Learn the tools' intallation process in order to start contributing to the Scientific Python ecosystem.'''
48+
:::{card} Install
49+
:link: setup/install
50+
Learn the tools' intallation process in order to start contributing to the Scientific Python ecosystem.
51+
:::
5952

60-
[[item]]
61-
type = 'card'
62-
title = 'Next steps'
63-
link = 'setup/next-steps'
64-
body = 'Start exploring some of the packages from the Scientific Python ecosystem.'
53+
:::{card} Next steps
54+
:link: setup/next-steps
55+
Start exploring some of the packages from the Scientific Python ecosystem.
56+
:::
6557

66-
{{< /grid >}}
58+
::::

content/documentation/index.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ Welcome to the Documentation Guide! Here you will find resources that describe d
77

88
## Documentation Authoring
99

10-
{{< grid columns="1 2 2 3" >}}
10+
::::{grid} 1 2 2 3
1111

12-
[[item]]
13-
type = 'card'
14-
title = 'Accessible Documentation'
15-
link = 'accessible-documentation'
16-
body = 'Learn about how to structure and write project documentation that considers disabled and abled readers.'
12+
:::{card} Accessible Documentation
13+
:link: accessible-documentation
14+
Learn about how to structure and write project documentation that considers disabled and abled readers.
15+
:::
1716

18-
{{< /grid >}}
17+
::::

content/index.md

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,29 @@
22
title:
33
---
44

5-
{{< grid columns="1 2 2 2" >}}
5+
::::{grid} 1 2 2 2
66

7-
[[item]]
8-
type = 'card'
9-
title = 'Contributor Guide'
10-
link = '/contributors/'
11-
body = '''
7+
:::{card} Contributor Guide
8+
:link: /contributors/
129
Learn how to join the Scientific Python community!
13-
'''
10+
:::
1411

15-
[[item]]
16-
type = 'card'
17-
title = 'Development Guide'
18-
link = '/development/'
19-
body = '''
12+
:::{card} Development Guide
13+
:link: /development/
2014
Learn recommended tools and approaches for developing Scientific Python libraries.
21-
'''
15+
:::
2216

23-
[[item]]
24-
type = 'card'
25-
title = 'Lectures Notes'
26-
link = 'https://lectures.scientific-python.org'
27-
body = '''
17+
:::{card} Lectures Notes
18+
:link: https://lectures.scientific-python.org
2819
Numerical computing lectures that teach key packages in the scientific Python ecosystem, such as NumPy, SciPy, Matplotlib, scikit-learn, and scikit-image.
29-
'''
20+
:::
3021

31-
[[item]]
32-
type = 'card'
33-
title = 'Documentation Guide'
34-
link = '/documentation/'
35-
body = '''
22+
:::{card} Documentation Guide
23+
:link: /documentation/
3624
Learn recommended approaches for project documentation.
37-
'''
25+
:::
3826

39-
{{< /grid >}}
27+
::::
4028

4129
<!--
4230
# - buttonText: Maintainer Guide

0 commit comments

Comments
 (0)