We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23bb214 commit d80c9d7Copy full SHA for d80c9d7
docs/contributing/pages/components.mdx
@@ -119,9 +119,19 @@ See also the [Alert component](#alert).
119
120
## PageGrid
121
122
-Render all child pages or `next_steps` of this document, including their `description` if available.
+Render all `next_steps` of this document or default child pages, including their `description` if available.
123
+
124
+You can specify `next_steps` in the frontmatter of a page to include them in the grid. It supports relative paths and will automatically resolve them.
125
126
```markdown {tabTitle:Example}
127
+---
128
+# in the frontmatter of a page:
129
+next_steps:
130
+ - ./child-one
131
+ - ./child-two
132
+ - ../parent/child-three
133
134
135
<PageGrid />
136
```
137
0 commit comments