summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiDeoo2025-04-02 07:41:32 +0000
committerfredkbot2025-04-02 07:41:32 +0000
commitbdb05e704a6cf06a029367f99b6bf2f575e5a5f3 (patch)
tree808a4c91cf481b3a8a41d661715ae73be9d271cc
parenta03443e0cec4593c90290d11b544be55ddfdaef8 (diff)
downloadIT.starlight-bdb05e704a6cf06a029367f99b6bf2f575e5a5f3.tar.gz
IT.starlight-bdb05e704a6cf06a029367f99b6bf2f575e5a5f3.tar.bz2
IT.starlight-bdb05e704a6cf06a029367f99b6bf2f575e5a5f3.zip
[ci] format
-rw-r--r--docs/src/content/docs/ru/reference/plugins.md7
-rw-r--r--docs/src/content/docs/ru/resources/plugins.mdx24
2 files changed, 18 insertions, 13 deletions
diff --git a/docs/src/content/docs/ru/reference/plugins.md b/docs/src/content/docs/ru/reference/plugins.md
index 0e97bb39..863f3745 100644
--- a/docs/src/content/docs/ru/reference/plugins.md
+++ b/docs/src/content/docs/ru/reference/plugins.md
@@ -16,6 +16,7 @@ tableOfContents:
ΠŸΠΎΠ΄Ρ€ΠΎΠ±Π½Π΅Π΅ ΠΎ Ρ€Π°Π·Π»ΠΈΡ‡Π½Ρ‹Ρ… свойствах ΠΈ ΠΏΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€Π°Ρ… Ρ…ΡƒΠΊΠΎΠ² см. Π½ΠΈΠΆΠ΅.
<!-- prettier-ignore-start -->
+
```ts
interface StarlightPlugin {
name: string;
@@ -29,7 +30,10 @@ interface StarlightPlugin {
config: StarlightUserConfig;
updateConfig: (newConfig: StarlightUserConfig) => void;
addIntegration: (integration: AstroIntegration) => void;
- addRouteMiddleware: (config: { entrypoint: string; order?: 'pre' | 'post' | 'default' }) => void;
+ addRouteMiddleware: (config: {
+ entrypoint: string;
+ order?: 'pre' | 'post' | 'default';
+ }) => void;
astroConfig: AstroConfig;
command: 'dev' | 'build' | 'preview';
isRestart: boolean;
@@ -40,6 +44,7 @@ interface StarlightPlugin {
};
}
```
+
<!-- prettier-ignore-start -->
## `name`
diff --git a/docs/src/content/docs/ru/resources/plugins.mdx b/docs/src/content/docs/ru/resources/plugins.mdx
index 8f9dad1a..25c18a1d 100644
--- a/docs/src/content/docs/ru/resources/plugins.mdx
+++ b/docs/src/content/docs/ru/resources/plugins.mdx
@@ -129,24 +129,24 @@ sidebar:
description="Π”ΠΎΠ±Π°Π²ΡŒΡ‚Π΅ Π½Π°Ρ‚ΠΈΠ²Π½Ρ‹Π΅ кросс-Π΄ΠΎΠΊΡƒΠΌΠ΅Π½Ρ‚Π½Ρ‹Π΅ ΠΏΠ΅Ρ€Π΅Ρ…ΠΎΠ΄Ρ‹ Π² Π±Ρ€Π°ΡƒΠ·Π΅Ρ€Π΅."
/>
<LinkCard
- href="https://github.com/HiDeoo/starlight-auto-sidebar"
- title="starlight-auto-sidebar"
- description="Настройка автоматичСски создаваСмых Π³Ρ€ΡƒΠΏΠΏ Π² Π±ΠΎΠΊΠΎΠ²ΠΎΠΉ ΠΏΠ°Π½Π΅Π»ΠΈ."
+ href="https://github.com/HiDeoo/starlight-auto-sidebar"
+ title="starlight-auto-sidebar"
+ description="Настройка автоматичСски создаваСмых Π³Ρ€ΡƒΠΏΠΏ Π² Π±ΠΎΠΊΠΎΠ²ΠΎΠΉ ΠΏΠ°Π½Π΅Π»ΠΈ."
/>
<LinkCard
- href="https://github.com/delucis/starlight-llms-txt"
- title="starlight-llms-txt"
- description="Π”ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠ΅ Ρ„Π°ΠΉΠ»Π° llms.txt Π½Π° сайт Π΄ΠΎΠΊΡƒΠΌΠ΅Π½Ρ‚Π°Ρ†ΠΈΠΈ (основано Π½Π° llmstxt.org)."
+ href="https://github.com/delucis/starlight-llms-txt"
+ title="starlight-llms-txt"
+ description="Π”ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠ΅ Ρ„Π°ΠΉΠ»Π° llms.txt Π½Π° сайт Π΄ΠΎΠΊΡƒΠΌΠ΅Π½Ρ‚Π°Ρ†ΠΈΠΈ (основано Π½Π° llmstxt.org)."
/>
<LinkCard
- href="https://github.com/trueberryless-org/starlight-toc-overview-customizer"
- title="starlight-toc-overview-customizer"
- description="Настройка оглавлСния Π² Starlight с измСняСмым Π·Π°Π³ΠΎΠ»ΠΎΠ²ΠΊΠΎΠΌ Ρ€Π°Π·Π΄Π΅Π»Π° Β«ΠžΠ±Π·ΠΎΡ€Β»."
+ href="https://github.com/trueberryless-org/starlight-toc-overview-customizer"
+ title="starlight-toc-overview-customizer"
+ description="Настройка оглавлСния Π² Starlight с измСняСмым Π·Π°Π³ΠΎΠ»ΠΎΠ²ΠΊΠΎΠΌ Ρ€Π°Π·Π΄Π΅Π»Π° Β«ΠžΠ±Π·ΠΎΡ€Β»."
/>
<LinkCard
- href="https://delucis.github.io/starlight-markdown-blocks/"
- title="starlight-markdown-blocks"
- description="Π Π°ΡΡˆΠΈΡ€Π΅Π½ΠΈΠ΅ синтаксиса Markdown-вставок Π² Starlight с ΠΏΠΎΠΌΠΎΡ‰ΡŒΡŽ ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»ΡŒΡΠΊΠΈΡ… Ρ‚ΠΈΠΏΠΎΠ² Π±Π»ΠΎΠΊΠΎΠ²."
+ href="https://delucis.github.io/starlight-markdown-blocks/"
+ title="starlight-markdown-blocks"
+ description="Π Π°ΡΡˆΠΈΡ€Π΅Π½ΠΈΠ΅ синтаксиса Markdown-вставок Π² Starlight с ΠΏΠΎΠΌΠΎΡ‰ΡŒΡŽ ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»ΡŒΡΠΊΠΈΡ… Ρ‚ΠΈΠΏΠΎΠ² Π±Π»ΠΎΠΊΠΎΠ²."
/>
</CardGrid>