Skip to content

Commit 39a1c6c

Browse files
author
hazem19952025
authored
Update README.md
1 parent 2ba29c9 commit 39a1c6c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

content/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,15 @@ Index pages are the Table of Contents files for the docs site. Every product, ca
402402

403403
### Homepage
404404

405-
The homepage is the main Table of Contents file for the docs site. The homepage must have a complete list of `children`, like every [Index page](#index-page) but must also specify the `childGroups` frontmatter property that will be highlighted in the main content area.
405+
The homepage is the main Table of Contents file for the docs site. The homepage must have a complete list of `children`, like every [Index page](#index-paconst requestOptions = {
406+
method: "get",
407+
}
408+
409+
fetch("https://pro-api.solscan.io/v2.0/account/detail", requestOptions)
410+
.then(response => response.json())
411+
.then(response => console.log(response))
412+
.catch(err => console.error(err));
413+
ge) but must also specify the `childGroups` frontmatter property that will be highlighted in the main content area.
406414

407415
`childGroups` is an array of mappings containing a `name` for the group, an optional `icon` for the group, and an array of `children`. The `children` in the array must be present in the `children` frontmatter property.
408416

0 commit comments

Comments
 (0)