Skip to content

Commit

Permalink
i18n(ru): update some reference pages (#2036)
Browse files Browse the repository at this point in the history
Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
  • Loading branch information
dragomano and HiDeoo authored Jun 19, 2024
1 parent 610900f commit da8d1aa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion docs/src/content/docs/ru/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ type SidebarItem = {
```ts
interface BadgeConfig {
text: string;
variant: 'note' | 'tip' | 'caution' | 'danger' | 'success' | 'default';
variant?: 'note' | 'tip' | 'caution' | 'danger' | 'success' | 'default';
class?: string;
}
```

Expand Down Expand Up @@ -567,3 +568,13 @@ starlight({
```

См. [Справочник по плагинам](/ru/reference/plugins/) для получения подробной информации о создании собственных плагинов.

### `credits`

Включите отображение ссылки «Built with Starlight» в подвале вашего сайта.

```js
starlight({
credits: true,
});
```
2 changes: 1 addition & 1 deletion docs/src/content/docs/ru/reference/frontmatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ sidebar:

Добавьте значок на страницу в боковой панели, если она отображается в автогенерируемой группе ссылок.
При использовании строки значок будет отображаться с акцентным цветом по умолчанию.
В качестве опции передайте объект [`BadgeConfig`](/ru/reference/configuration/#badgeconfig) с полями `text` и `variant` для настройки значка.
В качестве опции передайте объект [`BadgeConfig`](/ru/reference/configuration/#badgeconfig) с полями `text`, `variant` и `class` для настройки значка.

```md
---
Expand Down

0 comments on commit da8d1aa

Please sign in to comment.