Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 41 additions & 19 deletions settings/global.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -295,28 +295,50 @@ Example:
</Expandable>
</ResponseField>

<ResponseField name="footerSocials" type="FooterSocials">
An object of social media accounts where the key:property pair represents the social media platform and the account url.

Example:
<ResponseField name="footer" type="{ socials?: FooterSocials, links?: FooterLinksColumn[] }">
An object to configure the footer with socials and links.
Example:
```json
{
"x": "https://x.com/mintlify",
"website": "https://mintlify.com"
"footer": {
"socials": { "x": "https://x.com/mintlify", "website": "https://mintlify.com" },
"links": [
{
"title": "Column 1",
"links": [
{ "name": "Column 1 Link 1", "url": "https://mintlify.com" },
{ "name": "Column 1 Link 2", "url": "https://mintlify.com" }
]
},
{
"title": "Column 2",
"links": [
{ "name": "Column 2 Link 1", "url": "https://mintlify.com" },
{ "name": "Column 2 Link 2", "url": "https://mintlify.com" }
]
}
]
}
```
<Expandable title="FooterSocials">
<ResponseField name="[key]" type="string">
One of the following values `website`, `facebook`, `x`, `youtube`, `discord`, `slack`, `github`, `linkedin`, `instagram`, `hacker-news`

Example: `x`
</ResponseField>
<ResponseField name="property" type="string">
The URL to the social platform.

Example: `https://x.com/mintlify`
</ResponseField>
</Expandable>
<Expandable title="FooterSocials">
<ResponseField name="[key]" type="string">
One of the following values `website`, `facebook`, `x`, `youtube`, `discord`, `slack`, `github`, `linkedin`, `instagram`, `hacker-news`

Example: `x`
</ResponseField>
<ResponseField name="property" type="string">
The URL to the social platform.

Example: `https://x.com/mintlify`
</ResponseField>
</Expandable>
<Expandable title="FooterLinksColumn">
<ResponseField name="title" type="string">
Title of the column
</ResponseField>
<ResponseField name="links" type="{ label: string, url: string }[]">
The link items in the column. External urls that starts with `https://` or `http://` will be opened in new tab.
</ResponseField>
</Expandable>
</ResponseField>

<ResponseField name="feedback" type="Feedback">
Expand Down