Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Nov 4, 2024
1 parent 2de769c commit 54ef231
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 103 deletions.
16 changes: 1 addition & 15 deletions docs/en/reference/default-theme-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,24 +246,10 @@ export default {

```ts
interface SocialLink {
icon: SocialLinkIcon
icon: string | { svg: string }
link: string
ariaLabel?: string
}

type SocialLinkIcon =
| 'discord'
| 'facebook'
| 'github'
| 'instagram'
| 'linkedin'
| 'mastodon'
| 'npm'
| 'slack'
| 'twitter'
| 'x'
| 'youtube'
| { svg: string }
```

## footer
Expand Down
16 changes: 1 addition & 15 deletions docs/es/reference/default-theme-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,24 +233,10 @@ export default {

```ts
interface SocialLink {
icon: SocialLinkIcon
icon: string | { svg: string }
link: string
ariaLabel?: string
}

type SocialLinkIcon =
| 'discord'
| 'facebook'
| 'github'
| 'instagram'
| 'linkedin'
| 'mastodon'
| 'npm'
| 'slack'
| 'twitter'
| 'x'
| 'youtube'
| { svg: string }
```

## footer
Expand Down
16 changes: 1 addition & 15 deletions docs/ko/reference/default-theme-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,24 +246,10 @@ export default {

```ts
interface SocialLink {
icon: SocialLinkIcon
icon: string | { svg: string }
link: string
ariaLabel?: string
}

type SocialLinkIcon =
| 'discord'
| 'facebook'
| 'github'
| 'instagram'
| 'linkedin'
| 'mastodon'
| 'npm'
| 'slack'
| 'twitter'
| 'x'
| 'youtube'
| { svg: string }
```

## footer
Expand Down
16 changes: 1 addition & 15 deletions docs/pt/reference/default-theme-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,24 +233,10 @@ export default {

```ts
interface SocialLink {
icon: SocialLinkIcon
icon: string | { svg: string }
link: string
ariaLabel?: string
}

type SocialLinkIcon =
| 'discord'
| 'facebook'
| 'github'
| 'instagram'
| 'linkedin'
| 'mastodon'
| 'npm'
| 'slack'
| 'twitter'
| 'x'
| 'youtube'
| { svg: string }
```

## footer
Expand Down
16 changes: 1 addition & 15 deletions docs/ru/reference/default-theme-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,24 +233,10 @@ export default {

```ts
interface SocialLink {
icon: SocialLinkIcon
icon: string | { svg: string }
link: string
ariaLabel?: string
}

type SocialLinkIcon =
| 'discord'
| 'facebook'
| 'github'
| 'instagram'
| 'linkedin'
| 'mastodon'
| 'npm'
| 'slack'
| 'twitter'
| 'x'
| 'youtube'
| { svg: string }
```

## footer {#footer}
Expand Down
16 changes: 1 addition & 15 deletions docs/zh/reference/default-theme-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,24 +233,10 @@ export default {

```ts
interface SocialLink {
icon: SocialLinkIcon
icon: string | { svg: string }
link: string
ariaLabel?: string
}

type SocialLinkIcon =
| 'discord'
| 'facebook'
| 'github'
| 'instagram'
| 'linkedin'
| 'mastodon'
| 'npm'
| 'slack'
| 'twitter'
| 'x'
| 'youtube'
| { svg: string }
```

## footer
Expand Down
14 changes: 1 addition & 13 deletions types/default-theme.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,19 +333,7 @@ export namespace DefaultTheme {
ariaLabel?: string
}

export type SocialLinkIcon =
| 'discord'
| 'facebook'
| 'github'
| 'instagram'
| 'linkedin'
| 'mastodon'
| 'npm'
| 'slack'
| 'twitter'
| 'x'
| 'youtube'
| { svg: string }
export type SocialLinkIcon = string | { svg: string }

// footer --------------------------------------------------------------------

Expand Down

0 comments on commit 54ef231

Please sign in to comment.