This commit is contained in:
Бахирев 2024-05-05 12:49:12 +03:00
parent 7024b40e7e
commit fefc1e65b5
19 changed files with 33 additions and 8 deletions

View file

@ -247,3 +247,5 @@ Releases are planned approximately once every six months. Whats next:
- telegramm [@bakhirev](https://t.me/bakhirev) (priority method of communication) - telegramm [@bakhirev](https://t.me/bakhirev) (priority method of communication)
- [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru)
- website [https://assayo.online/](https://assayo.online/?ref=github) - website [https://assayo.online/](https://assayo.online/?ref=github)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -215,3 +215,5 @@ Sie können eine neue übersetzung hinzufügen oder die aktuelle im abschnitt ko
- telegramm [@bakhirev](https://t.me/bakhirev) (vorrangiger kommunikationsweg) - telegramm [@bakhirev](https://t.me/bakhirev) (vorrangiger kommunikationsweg)
- [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru)
- web site [https://assayo.online/](https://assayo.online/?ref=github&lang=de) - web site [https://assayo.online/](https://assayo.online/?ref=github&lang=de)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -223,3 +223,5 @@ Releases are planned approximately once every six months. Whats next:
- telegramm [@bakhirev](https://t.me/bakhirev) (priority method of communication) - telegramm [@bakhirev](https://t.me/bakhirev) (priority method of communication)
- [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru)
- website [https://assayo.online/](https://assayo.online/?ref=github&lang=en) - website [https://assayo.online/](https://assayo.online/?ref=github&lang=en)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -223,3 +223,5 @@ Puede agregar una nueva traducción o corregir la actual en la sección ```ts/tr
- telegramm [@bakhirev](https://t.me/bakhirev) (La forma preferencial de contacto) - telegramm [@bakhirev](https://t.me/bakhirev) (La forma preferencial de contacto)
- [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru)
- sitio web [https://assayo.online/](https://assayo.online/?ref=github&lang=es) - sitio web [https://assayo.online/](https://assayo.online/?ref=github&lang=es)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -220,3 +220,5 @@ Vous pouvez ajouter une nouvelle traduction ou corriger la traduction existante
- telegramm [@bakhirev](https://t.me/bakhirev) (voie de communication prioritaire) - telegramm [@bakhirev](https://t.me/bakhirev) (voie de communication prioritaire)
- [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru)
- site [https://assayo.online/](https://assayo.online/?ref=github&lang=fr) - site [https://assayo.online/](https://assayo.online/?ref=github&lang=fr)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -216,3 +216,5 @@ you_url - gitのログのコンテナーのURLアドレス;
- telegramm [@bakhirev](https://t.me/bakhirev) (優先通信方式) - telegramm [@bakhirev](https://t.me/bakhirev) (優先通信方式)
- [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru)
- ウェブサイト [https://assayo.online/](https://assayo.online/?ref=github&lang=ja) - ウェブサイト [https://assayo.online/](https://assayo.online/?ref=github&lang=ja)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -216,3 +216,5 @@ Você pode adicionar uma nova tradução ou corrigir uma existente na seção ``
- telegramm [@bakhirev](https://t.me/bakhirev) (método de comunicação prioritário) - telegramm [@bakhirev](https://t.me/bakhirev) (método de comunicação prioritário)
- [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru)
- site [https://assayo.online/](https://assayo.online/?ref=github&lang=pt) - site [https://assayo.online/](https://assayo.online/?ref=github&lang=pt)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -221,3 +221,5 @@ you_url - URL адресс вашего контейнера с логами
- telegramm [@bakhirev](https://t.me/bakhirev) (приоритетный способ связи) - telegramm [@bakhirev](https://t.me/bakhirev) (приоритетный способ связи)
- [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru)
- сайт [https://assayo.online/](https://assayo.online/?ref=github&lang=ru) - сайт [https://assayo.online/](https://assayo.online/?ref=github&lang=ru)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -213,3 +213,5 @@ you_url - git日志的容器的URL地址;
- telegramm [@bakhirev](https://t.me/bakhirev) (优先通信方法) - telegramm [@bakhirev](https://t.me/bakhirev) (优先通信方法)
- [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru)
- 网站 [https://assayo.online/](https://assayo.online/?ref=github&lang=zh) - 网站 [https://assayo.online/](https://assayo.online/?ref=github&lang=zh)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -337,4 +337,4 @@
"web site [https://assayo.online/](https://assayo.online/?ref=github&lang=de)" "web site [https://assayo.online/](https://assayo.online/?ref=github&lang=de)"
] ]
} }
] ]

View file

@ -351,4 +351,4 @@
"website [https://assayo.online/](https://assayo.online/?ref=github&lang=en)" "website [https://assayo.online/](https://assayo.online/?ref=github&lang=en)"
] ]
} }
] ]

View file

@ -351,4 +351,4 @@
"sitio web [https://assayo.online/](https://assayo.online/?ref=github&lang=es)" "sitio web [https://assayo.online/](https://assayo.online/?ref=github&lang=es)"
] ]
} }
] ]

View file

@ -342,4 +342,4 @@
"site [https://assayo.online/](https://assayo.online/?ref=github&lang=fr)" "site [https://assayo.online/](https://assayo.online/?ref=github&lang=fr)"
] ]
} }
] ]

View file

@ -340,4 +340,4 @@
"ウェブサイト [https://assayo.online/](https://assayo.online/?ref=github&lang=ja)" "ウェブサイト [https://assayo.online/](https://assayo.online/?ref=github&lang=ja)"
] ]
} }
] ]

View file

@ -340,4 +340,4 @@
"site [https://assayo.online/](https://assayo.online/?ref=github&lang=pt)" "site [https://assayo.online/](https://assayo.online/?ref=github&lang=pt)"
] ]
} }
] ]

View file

@ -345,4 +345,4 @@
"сайт [https://assayo.online/](https://assayo.online/?ref=github&lang=ru)" "сайт [https://assayo.online/](https://assayo.online/?ref=github&lang=ru)"
] ]
} }
] ]

View file

@ -337,4 +337,4 @@
"网站 [https://assayo.online/](https://assayo.online/?ref=github&lang=zh)" "网站 [https://assayo.online/](https://assayo.online/?ref=github&lang=zh)"
] ]
} }
] ]

View file

@ -34,6 +34,10 @@ function getSreenshot() {
return '<a href="https://assayo.online/demo/?dump=./test.txt" target="_blank"><img src="https://assayo.online/seo/github/index.png" width="100%" /></a>\n'; return '<a href="https://assayo.online/demo/?dump=./test.txt" target="_blank"><img src="https://assayo.online/seo/github/index.png" width="100%" /></a>\n';
} }
function getYandexMetrika() {
return '\n<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />\n';
}
function getTitle(language) { function getTitle(language) {
return `# [Assayo](${SITE}?ref=github&lang=${language})`; return `# [Assayo](${SITE}?ref=github&lang=${language})`;
} }
@ -42,5 +46,6 @@ module.exports = {
getLanguageLinks, getLanguageLinks,
getSocialLinks, getSocialLinks,
getSreenshot, getSreenshot,
getYandexMetrika,
getTitle, getTitle,
}; };

View file

@ -46,7 +46,9 @@ function getMarkdownFromJson(json, languages, language) {
else if (tag.li) tableOfContent.addTitle(5, tag.h5, markdown); else if (tag.li) tableOfContent.addTitle(5, tag.h5, markdown);
}); });
markdown.push(custom.getYandexMetrika());
markdown = tableOfContent.getMarkdownWithTable(markdown); markdown = tableOfContent.getMarkdownWithTable(markdown);
markdownText = markdown markdownText = markdown
.join('\n') .join('\n')
.replace('demo/?dump=./test.txt', `demo/?ref=github&lang=${language}&dump=./test.txt`) .replace('demo/?dump=./test.txt', `demo/?ref=github&lang=${language}&dump=./test.txt`)