Skip to content

Commit 362161d

Browse files
committed
chore: remove obsolete components from old docs
1 parent 8b04b38 commit 362161d

38 files changed

+166
-2791
lines changed

apps/www/.source/index.ts

Lines changed: 15 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,16 @@
11
// @ts-nocheck -- skip type checking
2-
import { _runtime } from 'fumadocs-mdx'
3-
4-
import * as _source from '../source.config'
5-
import * as docs_0 from '../src/content/docs/getting-started/installation.mdx?collection=docs&hash=1747978597111'
6-
import * as docs_1 from '../src/content/docs/getting-started/introduction.mdx?collection=docs&hash=1747978597111'
7-
import * as meta_0 from '../src/content/docs/meta.json?collection=meta&hash=1747978597111'
8-
import * as docs_2 from '../src/content/docs/payments/cancel.mdx?collection=docs&hash=1747978597111'
9-
import * as docs_3 from '../src/content/docs/payments/confirm.mdx?collection=docs&hash=1747978597111'
10-
import * as docs_4 from '../src/content/docs/payments/create.mdx?collection=docs&hash=1747978597111'
11-
import * as docs_5 from '../src/content/docs/payments/info.mdx?collection=docs&hash=1747978597111'
12-
import * as docs_6 from '../src/content/docs/payments/list.mdx?collection=docs&hash=1747978597111'
13-
import * as docs_7 from '../src/content/docs/refunds/create.mdx?collection=docs&hash=1747978597111'
14-
import * as docs_8 from '../src/content/docs/refunds/info.mdx?collection=docs&hash=1747978597111'
15-
import * as docs_9 from '../src/content/docs/refunds/list.mdx?collection=docs&hash=1747978597111'
16-
17-
export const docs = _runtime.doc<typeof _source.docs>([
18-
{
19-
info: {
20-
path: 'getting-started\\installation.mdx',
21-
absolutePath:
22-
'C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/getting-started/installation.mdx'
23-
},
24-
data: docs_0
25-
},
26-
{
27-
info: {
28-
path: 'getting-started\\introduction.mdx',
29-
absolutePath:
30-
'C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/getting-started/introduction.mdx'
31-
},
32-
data: docs_1
33-
},
34-
{
35-
info: {
36-
path: 'payments\\cancel.mdx',
37-
absolutePath:
38-
'C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/payments/cancel.mdx'
39-
},
40-
data: docs_2
41-
},
42-
{
43-
info: {
44-
path: 'payments\\confirm.mdx',
45-
absolutePath:
46-
'C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/payments/confirm.mdx'
47-
},
48-
data: docs_3
49-
},
50-
{
51-
info: {
52-
path: 'payments\\create.mdx',
53-
absolutePath:
54-
'C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/payments/create.mdx'
55-
},
56-
data: docs_4
57-
},
58-
{
59-
info: {
60-
path: 'payments\\info.mdx',
61-
absolutePath:
62-
'C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/payments/info.mdx'
63-
},
64-
data: docs_5
65-
},
66-
{
67-
info: {
68-
path: 'payments\\list.mdx',
69-
absolutePath:
70-
'C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/payments/list.mdx'
71-
},
72-
data: docs_6
73-
},
74-
{
75-
info: {
76-
path: 'refunds\\create.mdx',
77-
absolutePath:
78-
'C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/refunds/create.mdx'
79-
},
80-
data: docs_7
81-
},
82-
{
83-
info: {
84-
path: 'refunds\\info.mdx',
85-
absolutePath:
86-
'C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/refunds/info.mdx'
87-
},
88-
data: docs_8
89-
},
90-
{
91-
info: {
92-
path: 'refunds\\list.mdx',
93-
absolutePath:
94-
'C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/refunds/list.mdx'
95-
},
96-
data: docs_9
97-
}
98-
])
99-
export const meta = _runtime.meta<typeof _source.meta>([
100-
{
101-
info: {
102-
path: 'meta.json',
103-
absolutePath:
104-
'C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/meta.json'
105-
},
106-
data: meta_0
107-
}
108-
])
2+
import * as meta_0 from "../src/content/docs/meta.json?collection=meta&hash=1747981341957"
3+
import * as docs_9 from "../src/content/docs/refunds/list.mdx?collection=docs&hash=1747981341957"
4+
import * as docs_8 from "../src/content/docs/refunds/info.mdx?collection=docs&hash=1747981341957"
5+
import * as docs_7 from "../src/content/docs/refunds/create.mdx?collection=docs&hash=1747981341957"
6+
import * as docs_6 from "../src/content/docs/payments/list.mdx?collection=docs&hash=1747981341957"
7+
import * as docs_5 from "../src/content/docs/payments/info.mdx?collection=docs&hash=1747981341957"
8+
import * as docs_4 from "../src/content/docs/payments/create.mdx?collection=docs&hash=1747981341957"
9+
import * as docs_3 from "../src/content/docs/payments/confirm.mdx?collection=docs&hash=1747981341957"
10+
import * as docs_2 from "../src/content/docs/payments/cancel.mdx?collection=docs&hash=1747981341957"
11+
import * as docs_1 from "../src/content/docs/getting-started/introduction.mdx?collection=docs&hash=1747981341957"
12+
import * as docs_0 from "../src/content/docs/getting-started/installation.mdx?collection=docs&hash=1747981341957"
13+
import { _runtime } from "fumadocs-mdx"
14+
import * as _source from "../source.config"
15+
export const docs = _runtime.doc<typeof _source.docs>([{ info: {"path":"getting-started\\installation.mdx","absolutePath":"C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/getting-started/installation.mdx"}, data: docs_0 }, { info: {"path":"getting-started\\introduction.mdx","absolutePath":"C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/getting-started/introduction.mdx"}, data: docs_1 }, { info: {"path":"payments\\cancel.mdx","absolutePath":"C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/payments/cancel.mdx"}, data: docs_2 }, { info: {"path":"payments\\confirm.mdx","absolutePath":"C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/payments/confirm.mdx"}, data: docs_3 }, { info: {"path":"payments\\create.mdx","absolutePath":"C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/payments/create.mdx"}, data: docs_4 }, { info: {"path":"payments\\info.mdx","absolutePath":"C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/payments/info.mdx"}, data: docs_5 }, { info: {"path":"payments\\list.mdx","absolutePath":"C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/payments/list.mdx"}, data: docs_6 }, { info: {"path":"refunds\\create.mdx","absolutePath":"C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/refunds/create.mdx"}, data: docs_7 }, { info: {"path":"refunds\\info.mdx","absolutePath":"C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/refunds/info.mdx"}, data: docs_8 }, { info: {"path":"refunds\\list.mdx","absolutePath":"C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/refunds/list.mdx"}, data: docs_9 }]);
16+
export const meta = _runtime.meta<typeof _source.meta>([{ info: {"path":"meta.json","absolutePath":"C:/javascript-app/libs/nestjs-yookassa/apps/www/src/content/docs/meta.json"}, data: meta_0 }]);

apps/www/.source/source.config.mjs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,14 @@ var source_config_default = defineConfig({
3232
parseMdx: true
3333
},
3434
remarkPlugins: [
35-
[remarkInstall, {
36-
persist: {
37-
id: "package-manager"
35+
[
36+
remarkInstall,
37+
{
38+
persist: {
39+
id: "package-manager"
40+
}
3841
}
39-
}]
42+
]
4043
],
4144
rehypePlugins: (v) => [rehypeKatex, ...v]
4245
}

apps/www/src/app/layout.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,18 @@ export default function RootLayout({
1919
return (
2020
<html lang='ru' suppressHydrationWarning>
2121
<body className={cn(GeistSans.variable)}>
22-
<RootProvider>{children}</RootProvider>
22+
<RootProvider
23+
i18n={{
24+
locale: 'ru',
25+
translations: {
26+
search: 'Поиск',
27+
searchNoResult: 'Нечего не найдено',
28+
toc: 'На этой странице'
29+
}
30+
}}
31+
>
32+
{children}
33+
</RootProvider>
2334
</body>
2435
</html>
2536
)

apps/www/src/components/layout/header/header.tsx

Lines changed: 0 additions & 13 deletions
This file was deleted.

apps/www/src/components/layout/header/logo.tsx

Lines changed: 0 additions & 14 deletions
This file was deleted.

apps/www/src/components/layout/header/main-nav.tsx

Lines changed: 0 additions & 27 deletions
This file was deleted.

apps/www/src/components/layout/header/mobile-nav.tsx

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/www/src/components/layout/sidebar/app-sidebar.tsx

Lines changed: 0 additions & 135 deletions
This file was deleted.

apps/www/src/components/layout/sidebar/collapsible.tsx

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)