Skip to content

Commit

Permalink
Format newly supported files by deno fmt (#1133)
Browse files Browse the repository at this point in the history
  • Loading branch information
KnorpelSenf authored Oct 15, 2024
1 parent 2d8b9ad commit 0b3cfbf
Show file tree
Hide file tree
Showing 15 changed files with 89 additions and 61 deletions.
12 changes: 6 additions & 6 deletions site/docs/.vitepress/theme/style/_custom-block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
.tip.custom-block {
color: var(--vp-c-green-dark);
// border-color: #2db7e5;
background-color: #E9F8FD;
background-color: #e9f8fd;
}

.warning.custom-block {
Expand All @@ -22,7 +22,7 @@
&.dark {
.tip.custom-block {
color: #53c4ea;
background-color: #06242F;
background-color: #06242f;
}

.warning.custom-block {
Expand Down Expand Up @@ -51,8 +51,8 @@
}

/**
* <code> inside custom block
* -------------------------------------------------------------------------- */
* <code> inside custom block
* -------------------------------------------------------------------------- */

:root {
.tip.custom-block code {
Expand All @@ -79,8 +79,8 @@
}

/**
* blockquote inside custom block
* -------------------------------------------------------------------------- */
* blockquote inside custom block
* -------------------------------------------------------------------------- */

.tip.custom-block blockquote {
--vp-c-divider: #bad7e3;
Expand Down
30 changes: 25 additions & 5 deletions site/docs/.vitepress/theme/style/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,29 @@ input:checked + label,
.VPNav .title,
.custom-block-title,
.outline-title {
font-family: "Twemoji Country Flags", InterVariable, "Inter var", "Inter",
ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, "Helvetica Neue", Helvetica, Arial, "Noto Sans", "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", Oxygen, Ubuntu,
Cantarell, "Fira Sans", "Droid Sans", sans-serif;
font-family:
"Twemoji Country Flags",
InterVariable,
"Inter var",
"Inter",
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
"Helvetica Neue",
Helvetica,
Arial,
"Noto Sans",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji",
Oxygen,
Ubuntu,
Cantarell,
"Fira Sans",
"Droid Sans",
sans-serif;
}
12 changes: 9 additions & 3 deletions site/docs/.vitepress/theme/style/_normalize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,19 @@
margin: 0;
}

:root .external-link-icon-enabled :is(.vp-doc a[href*="://"], .vp-doc a[target="_blank"])::after
{
:root
.external-link-icon-enabled
:is(.vp-doc a[href*="://"], .vp-doc a[target="_blank"])::after {
content: "";
margin-left: 2px;
}

:root :is(.vp-external-link-icon, .vp-doc a[href*="://"], .vp-doc a[target="_blank"])::after {
:root
:is(
.vp-external-link-icon,
.vp-doc a[href*="://"],
.vp-doc a[target="_blank"]
)::after {
margin-left: 2px;
}

Expand Down
20 changes: 11 additions & 9 deletions site/docs/.vitepress/theme/style/_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@
* -------------------------------------------------------------------------- */

:root {
--vp-font-family-base: "Twemoji Country Flags", InterVariable, "Inter var",
"Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", Oxygen, Ubuntu,
Cantarell, "Fira Sans", "Droid Sans", sans-serif;
--vp-font-family-mono: "Source Code Pro", "SF Mono", Consolas, Monaco,
"Andale Mono", "Ubuntu Mono", monospace;
--vp-font-family-base:
"Twemoji Country Flags", InterVariable, "Inter var", "Inter", ui-sans-serif,
system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji", Oxygen, Ubuntu, Cantarell,
"Fira Sans", "Droid Sans", sans-serif;
--vp-font-family-mono:
"Source Code Pro", "SF Mono", Consolas, Monaco, "Andale Mono",
"Ubuntu Mono", monospace;
}

/**
Expand All @@ -83,8 +85,8 @@
}

/**
* Component: Custom Block
* -------------------------------------------------------------------------- */
* Component: Custom Block
* -------------------------------------------------------------------------- */

:root {
// <code> bg inside custom container
Expand Down
2 changes: 1 addition & 1 deletion site/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ titleTemplate: false
hero:
name: grammY
text: The Telegram Bot Framework.
taglines:
taglines:
- think of the whY.
- a new era of bot development.
- runs faster than you.
Expand Down
2 changes: 1 addition & 1 deletion site/docs/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ titleTemplate: false
hero:
name: grammY
text: El Framework de Bots para Telegram.
taglines:
taglines:
- piensa en el por qué.
- la nueva era del desarrollo de bots.
- se ejecuta más rápido que tú.
Expand Down
12 changes: 6 additions & 6 deletions site/docs/es/hosting/fly.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,12 @@ Visite <https://fly.io/docs/launch/continuous-deployment-with-github-actions/> p
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
```

6. Sigue los pasos 2 a 4 del [Método 1](#metodo-1-con-flyctl) anterior.
Expand Down
12 changes: 6 additions & 6 deletions site/docs/hosting/fly.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,12 +377,12 @@ Visit <https://fly.io/docs/launch/continuous-deployment-with-github-actions/> fo
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
```
6. Follow steps 2 until 4 from [Method 1](#method-1-with-flyctl) above.
Expand Down
2 changes: 1 addition & 1 deletion site/docs/id/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ titleTemplate: false
hero:
name: grammY
text: Framework Bot Telegram.
taglines:
taglines:
- tak perlu lagi mengeluh "whY!?".
- era baru pengembangan bot.
- bekerja lebih cepat dibanding kamu.
Expand Down
12 changes: 6 additions & 6 deletions site/docs/id/hosting/fly.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,12 @@ Untuk instruksi detailnya, silahkan kunjungi <https://fly.io/docs/launch/continu
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
```

6. Ikuti langkah 2 hingga 4 dari [Metode 1](#metode-1-menggunakan-flyctl) di atas.
Expand Down
12 changes: 6 additions & 6 deletions site/docs/ru/hosting/fly.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,12 +377,12 @@ flyctl secrets set BOT_TOKEN="AAAA:12345"
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
```

6. Выполните шаги со 2 по 4 из [Метода 1](#метод-1-с-помощью-flyctl) выше.
Expand Down
2 changes: 1 addition & 1 deletion site/docs/uk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ titleTemplate: false
hero:
name: grammY
text: Фреймворк для створення Telegram ботів.
taglines:
taglines:
- подумайте, чомУ.
- нова ера розробки ботів.
- швидший за вас.
Expand Down
12 changes: 6 additions & 6 deletions site/docs/uk/hosting/fly.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,12 +377,12 @@ flyctl secrets set BOT_TOKEN="AAAA:12345"
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Розгортання застосунку
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
name: Розгортання застосунку
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
```

6. Виконайте 2-й та 4-й крок з [1-го методу](#_1-и-метод-за-допомогою-flyctl) вище.
Expand Down
2 changes: 1 addition & 1 deletion site/docs/zh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ titleTemplate: false
hero:
name: grammY
text: Telegram Bot 框架。
taglines:
taglines:
- 想到了什么?
- bot 开发的新时代。
- 运行更快。
Expand Down
6 changes: 3 additions & 3 deletions site/docs/zh/hosting/fly.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,9 @@ flyctl secrets set BOT_TOKEN="AAAA:12345"
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
```

6. 按照上述 [方法 1](#方法-1-通过-flyctl) 中的步骤 2 至 4 进行操作。
Expand Down

0 comments on commit 0b3cfbf

Please sign in to comment.