Skip to content

Commit

Permalink
Merge branch 'main' into markdownlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazar Antoniuk committed Sep 25, 2023
2 parents e2e2817 + 12380c4 commit 284f5eb
Show file tree
Hide file tree
Showing 84 changed files with 944 additions and 252 deletions.
14 changes: 6 additions & 8 deletions logos/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
| File | Description |
| ------------------------------ | ------------------------------------------------------------ |
| grammY.svg | The original grammY logo. |
| grammY.png | The original grammY logo in PNG format. |
| Y.svg | The Y of the original grammY logo. |
| Y.png | The Y of the original grammY logo in PNG format. |
| Y-fit.png | The Y of the original grammY logo fitting the dimensions. |
| grammY-with-font-not-paths.svg | The original grammY logo with its text content not as paths. |
| File Name | Description |
| -------------------------- | ------------------------------------------------------------ |
| grammY | The original grammY logo. |
| Y | The Y of the original grammY logo. |
| Y-fit | The Y of the original grammY logo fitting the dimensions. |
| grammY-with-font-not-paths | The original grammY logo with its text content not as paths. |
Binary file modified logos/Y-fit.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions logos/Y-fit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified logos/Y.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified logos/Y.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified logos/grammY.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
139 changes: 1 addition & 138 deletions logos/grammY.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion site/docs/.vitepress/components/ThankYou.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ load();
</p>
</div>
<div v-else id="thankyou">
<img src="/images/Y.webp" alt="grammY logo" width="32" height="32" />
<img src="/images/Y.svg" alt="grammY logo" width="32" height="32" />
</div>
</template>

Expand Down
2 changes: 1 addition & 1 deletion site/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineConfig({
},

themeConfig: {
logo: "/images/Y.webp",
logo: "/images/Y.svg",
siteTitle: "grammY",
externalLinkIcon: true,
search: algolia,
Expand Down
4 changes: 4 additions & 0 deletions site/docs/.vitepress/configs/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ const hostingTutorials = {
text: "Vercel",
link: "/hosting/vercel",
},
{
text: "Cyclic",
link: "/hosting/cyclic",
},
{
text: "Virtual Private Server",
link: "/hosting/vps",
Expand Down
4 changes: 4 additions & 0 deletions site/docs/.vitepress/configs/locales/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@ const hostingTutorials = {
text: "Vercel",
link: "/es/hosting/vercel",
},
{
text: "Cyclic",
link: "/hosting/cyclic",
},
{
text: "Servidor Privado Virtual",
link: "/es/hosting/vps",
Expand Down
4 changes: 4 additions & 0 deletions site/docs/.vitepress/configs/locales/id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@ const hostingTutorials = {
text: "Vercel",
link: "/id/hosting/vercel",
},
{
text: "Cyclic",
link: "/id/hosting/cyclic",
},
{
text: "Virtual Private Server",
link: "/id/hosting/vps",
Expand Down
4 changes: 4 additions & 0 deletions site/docs/.vitepress/configs/locales/uk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ const hostingTutorials = {
text: "Vercel",
link: "/uk/hosting/vercel",
},
{
text: "Cyclic",
link: "/uk/hosting/cyclic",
},
{
text: "Віртуальний приватний сервер",
link: "/uk/hosting/vps",
Expand Down
4 changes: 4 additions & 0 deletions site/docs/.vitepress/configs/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ const hostingTutorials = {
text: "Vercel",
link: "/zh/hosting/vercel",
},
{
text: "Cyclic",
link: "/zh/hosting/cyclic",
},
{
text: "Virtual Private Server",
link: "/zh/hosting/vps",
Expand Down
2 changes: 1 addition & 1 deletion site/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ hero:
- billions and billions served.
- powered by obsession.
image:
src: /images/Y.webp
src: /images/Y.svg
alt: grammY logo
actions:
- theme: brand
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 @@ -16,7 +16,7 @@ hero:
- miles y miles de millones de peticiones.
- impulsado por la obsesión.
image:
src: /images/Y.webp
src: /images/Y.svg
alt: Logotipo de grammY
actions:
- theme: brand
Expand Down
2 changes: 1 addition & 1 deletion site/docs/es/guide/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- markdownlint-disable first-line-heading -->

![grammY](/images/grammY.webp)
![grammY](/images/grammY.svg)

# Resumen

Expand Down
10 changes: 5 additions & 5 deletions site/docs/es/guide/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Los dos primeros métodos son sencillos: sólo tienes que pasar el valor respect
await ctx.replyWithPhoto(existingFileId);

// Enviar a través de URL.
await ctx.replyWithPhoto("https://grammy.dev/images/Y.webp");
await ctx.replyWithPhoto("https://grammy.dev/images/grammY.png");

// Alternativamente, se utiliza bot.api.sendPhoto() o ctx.api.sendPhoto().
```
Expand Down Expand Up @@ -209,14 +209,14 @@ Esto es muy eficiente.
import { URL } from "url";

// Descarga un archivo, y transmite la respuesta a Telegram.
new InputFile(new URL("https://grammy.dev/images/Y.webp"));
new InputFile({ url: "https://grammy.dev/images/Y.webp" }); // equivalente
new InputFile(new URL("https://grammy.dev/images/grammY.png"));
new InputFile({ url: "https://grammy.dev/images/grammY.png" }); // equivalente
```

```ts [Deno]
// Descargar un archivo, y transmitir la respuesta a Telegram.
new InputFile(new URL("https://grammy.dev/images/Y.webp"));
new InputFile({ url: "https://grammy.dev/images/Y.webp" }); // equivalente
new InputFile(new URL("https://grammy.dev/images/grammY.png"));
new InputFile({ url: "https://grammy.dev/images/grammY.png" }); // equivalente
```

:::
Expand Down
2 changes: 1 addition & 1 deletion site/docs/es/guide/filter-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Esto permite utilizar más de 820 filtros diferentes, y es posible que añadamos
Todos los filtros válidos se pueden autocompletar en el editor de código.
Por lo tanto, puedes simplemente escribir `bot.on("")`, abrir el autocompletado, y buscar entre todas las consultas escribiendo algo

![Filtro de búsqueda de consultas](/images/filter-query-search.webp)
![Filtro de búsqueda de consultas](/images/filter-query-search.png)

La inferencia de tipos de `bot.on()` comprenderá la consulta de filtro que hayas elegido.
Por lo tanto, ajusta algunos tipos en el contexto que se sabe que existen.
Expand Down
Loading

0 comments on commit 284f5eb

Please sign in to comment.