Skip to content

Commit a5bf3ef

Browse files
committed
docs: adjustments
1 parent a9c2960 commit a5bf3ef

7 files changed

Lines changed: 20 additions & 17 deletions

File tree

packages/docs/content/docs/getting-started/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ AIOStreams is a Stremio addon that aggregates streams from all of your other add
3838
/>
3939
<Card
4040
title="Environment Variables"
41-
href="/docs/getting-started/configuration"
41+
href="/docs/configuration/environment-variables"
4242
description="Full reference for every .env option."
4343
/>
4444
<Card

packages/docs/content/docs/guides/groups.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ The **Grouping** feature lets you control _when_ different sets of your addons a
2626
</Step>
2727
<Step>
2828
**Evaluate as results arrive** — as soon as Group 1 responds, AIOStreams
29-
evaluates Group 2's condition: - If the condition is `false`, Group 2 (and
30-
all subsequent groups) are skipped immediately. - If `true`, Group 2's
31-
results are included and Group 3's condition is evaluated next.
29+
evaluates Group 2's condition:
30+
- If the condition is `false`, Group 2 (and all subsequent groups) are skipped immediately.
31+
- If `true`, Group 2's results are included and Group 3's condition is evaluated next.
3232
</Step>
3333
<Step>
3434
**Early exit** — the moment a group's condition is `false`, all pending

packages/docs/content/docs/guides/usenet.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,10 @@ These apps mount NZBs as a virtual filesystem and expose a WebDAV server (or equ
176176
In AIOStreams, go to **Services** and select nzbDAV, AltMount, or StremThru.
177177
</Step>
178178
<Step>
179-
Enter the required details: - **nzbDAV / AltMount:** API Key, WebDAV User,
180-
WebDAV Password - **StremThru:** StremThru URL, Store Password
179+
Enter the required details:
180+
- **nzbDAV / AltMount:** API Key, WebDAV User,
181+
WebDAV Password
182+
- **StremThru:** StremThru URL, Store Password
181183
</Step>
182184
<Step>Configure the **URL** and **Public URL** fields (see below).</Step>
183185
</Steps>

packages/docs/content/docs/migrations/v1-to-v2.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Mount `/app/data` inside the container to a persistent location on the host:
7373
The old `/health` endpoint is **removed**. If you need a custom health check, use the new status endpoint:
7474

7575
```
76-
http://\<host>:\<port>/api/v1/status
76+
http://<host>:<port>/api/v1/status
7777
```
7878

7979
The Docker image includes a built-in health check; removing your custom one is the simplest option.

packages/docs/content/docs/reference/custom-formatter.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Modifiers are chained with `::`:
4444
| `{stream.languages}` | string[] | Available audio languages |
4545
| `{stream.seeders}` | number | Torrent seeder count |
4646
| `{stream.private}` | boolean | `true` if from a private tracker |
47-
| `{stream.freelech}` | boolean | `true` if the torrent is freeleech |
47+
| `{stream.freeleech}` | boolean | `true` if the torrent is freeleech |
4848
| `{stream.age}` | string | Human-readable age since release |
4949
| `{stream.ageHours}` | number | Age in hours |
5050
| `{stream.duration}` | number | Media duration in seconds |

packages/docs/content/docs/reference/stream-expressions.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -575,9 +575,3 @@ Most accept either an array (`avg(values(streams, 'bitrate'))`) or individual ar
575575
| `iqr(numbers)` || Interquartile range (`q3 - q1`) |
576576
| `skewness(numbers)` || Asymmetry of the distribution |
577577
| `kurtosis(numbers)` || "Tailedness" of the distribution |
578-
579-
**Examples:**
580-
581-
```
582-
583-
```

packages/docs/src/app/og/docs/[...slug]/route.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,25 @@ import { generate as DefaultImage } from 'fumadocs-ui/og/takumi';
55

66
export const revalidate = false;
77

8-
export async function GET(_req: Request, { params }: RouteContext<'/og/docs/[...slug]'>) {
8+
export async function GET(
9+
_req: Request,
10+
{ params }: RouteContext<'/og/docs/[...slug]'>
11+
) {
912
const { slug } = await params;
1013
const page = source.getPage(slug.slice(0, -1));
1114
if (!page) notFound();
1215

1316
return new ImageResponse(
14-
<DefaultImage title={page.data.title} description={page.data.description} site="My App" />,
17+
<DefaultImage
18+
title={page.data.title}
19+
description={page.data.description}
20+
site="AIOStreams"
21+
/>,
1522
{
1623
width: 1200,
1724
height: 630,
1825
format: 'webp',
19-
},
26+
}
2027
);
2128
}
2229

0 commit comments

Comments
 (0)