Skip to content

Commit

Permalink
chore: Organize documentation (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
haejunejung authored Aug 27, 2024
1 parent 80690e8 commit 45e0b5f
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 47 deletions.
17 changes: 0 additions & 17 deletions docs/.vitepress/en.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,10 @@ export default defineConfig({
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Guide', link: '/what-is-ts-typekit' },
{ text: 'Reference', link: '/reference/built-in/Awaited' },
],

sidebar: [
{
text: 'Introduction',
items: [
{ text: 'What is ts-typekit?', link: '/what-is-ts-typekit' },
{ text: 'Getting Started', link: '/getting-started' },
],
},
{
text: 'Reference',
items: [
Expand All @@ -27,18 +19,9 @@ export default defineConfig({
items: [
{ text: 'Awaited', link: '/reference/built-in/Awaited' },
{ text: 'Capitalize', link: '/reference/built-in/Capitalize' },
{
text: 'ConstructorParameters',
link: '/reference/built-in/ConstructorParameters',
},
{ text: 'Exclude', link: '/reference/built-in/Exclude' },
{ text: 'Extract', link: '/reference/built-in/Extract' },
{
text: 'InstanceType',
link: '/reference/built-in/InstanceType',
},
{ text: 'Lowercase', link: '/reference/built-in/Lowercase' },
{ text: 'NoInfer', link: '/reference/built-in/NoInfer' },
{ text: 'NonNullable', link: '/reference/built-in/NonNullable' },
{ text: 'Omit', link: '/reference/built-in/Omit' },
{ text: 'Parameters', link: '/reference/built-in/Parameters' },
Expand Down
17 changes: 0 additions & 17 deletions docs/.vitepress/ko.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,10 @@ export default defineConfig({
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'ํ™ˆ', link: '/ko' },
{ text: '๊ฐ€์ด๋“œ', link: '/ko/what-is-ts-typekit' },
{ text: '๋ ˆํผ๋Ÿฐ์Šค', link: '/ko/reference/built-in/Awaited' },
],

sidebar: [
{
text: '์†Œ๊ฐœ',
items: [
{ text: 'ts-typekit๋ž€ ๋ฌด์—‡์ธ๊ฐ€?', link: '/ko/what-is-ts-typekit' },
{ text: '์‹œ์ž‘ํ•˜๊ธฐ', link: '/ko/getting-started' },
],
},
{
text: '๋ ˆํผ๋Ÿฐ์Šค',
items: [
Expand All @@ -27,18 +19,9 @@ export default defineConfig({
items: [
{ text: 'Awaited', link: '/ko/reference/built-in/Awaited' },
{ text: 'Capitalize', link: '/ko/reference/built-in/Capitalize' },
{
text: 'ConstructorParameters',
link: '/ko/reference/built-in/ConstructorParameters',
},
{ text: 'Exclude', link: '/ko/reference/built-in/Exclude' },
{ text: 'Extract', link: '/ko/reference/built-in/Extract' },
{
text: 'InstanceType',
link: '/ko/reference/built-in/InstanceType',
},
{ text: 'Lowercase', link: '/ko/reference/built-in/Lowercase' },
{ text: 'NoInfer', link: '/ko/reference/built-in/NoInfer' },
{
text: 'NonNullable',
link: '/ko/reference/built-in/NonNullable',
Expand Down
1 change: 0 additions & 1 deletion docs/getting-started.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ hero:
text: 'A Collection of TypeScript Utility Types'
actions:
- theme: brand
text: What is ts-typekit
link: /what-is-ts-typekit
- theme: alt
text: Reference
link: /reference/built-in/Awaited

Expand Down
4 changes: 0 additions & 4 deletions docs/ko/reference/built-in/Awaited.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

์ด ํƒ€์ž…์€ ํ•˜๋‚˜์˜ ํƒ€์ž… ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ๋ฐ›์œผ๋ฉฐ, ์ด ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” ํ•ด๊ฒฐ๋œ ํƒ€์ž…์„ ์ถ”์ถœํ•˜๊ณ ์ž ํ•˜๋Š” `Promise`๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” `Type`์ด์—์š”.

```ts
type NewType = Awaited<Type>;
```

## ์˜ˆ์ œ

#### ์˜ˆ์ œ #1
Expand Down
4 changes: 0 additions & 4 deletions docs/reference/built-in/Awaited.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ The `Awaited<Type>` utility type is available starting from TypeScript version 4

It takes one type parameter, which is the `Type` representing the `Promise` from which you want to extract the resolved type.

```ts
type NewType = Awaited<Type>;
```

## Examples

#### Example #1
Expand Down
1 change: 0 additions & 1 deletion docs/what-is-ts-typekit.md

This file was deleted.

0 comments on commit 45e0b5f

Please sign in to comment.