Skip to content

Commit b7da3f6

Browse files
committed
docs: update docs
1 parent e920203 commit b7da3f6

File tree

9 files changed

+71
-21
lines changed

9 files changed

+71
-21
lines changed

docs/src/en/index.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
layout: home
33

44
title: QSU
5-
titleTemplate: Lightweight and extensive utility helpers
5+
titleTemplate: Powerful utility library
66

77
hero:
88
name: QSU
9-
text: Lightweight and extensive utility helpers
10-
tagline: qsu is a package of utilities to energize your programming. It is available for JavaScript/Node.js and Dart/Flutter environments.
9+
text: Powerful utility library
10+
tagline: qsu is a utility library that contains useful and frequently used functions. It contains useful functions for processing array, object, and string data. Start with your preferred programming language and the latest development environment.
1111
actions:
1212
- theme: brand
1313
text: Introduction
1414
link: introduction
1515
- theme: alt
16-
text: JavaScript/Node.js
17-
link: installation/javascript
16+
text: Installation
17+
link: installation
1818
- theme: alt
19-
text: Dart/Flutter
20-
link: installation/dart
19+
text: Reference
20+
link: reference
2121
image:
2222
src: /icon.png
2323
alt: Utility

docs/src/en/reference/array/arrCount.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ Returns the number of duplicates for each unique value in the given array. The a
1313
1414
## Examples
1515

16-
```javascript
16+
::: code-group
17+
18+
```javascript [JavaScript]
1719
arrCount(['a', 'a', 'a', 'b', 'c', 'b', 'a', 'd']); // Returns { a: 4, b: 2, c: 1, d: 1 }
1820
```
21+
22+
```dart [Dart]
23+
arrCount(['a', 'a', 'a', 'b', 'c', 'b', 'a', 'd']); // Returns { a: 4, b: 2, c: 1, d: 1 }
24+
```
25+
26+
:::

docs/src/en/reference/array/arrGroupByMaxCount.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,16 @@ Separates the data in the given array into a two-dimensional array containing on
1313
1414
## Examples
1515

16-
```javascript
16+
::: code-group
17+
18+
```javascript [JavaScript]
19+
arrGroupByMaxCount(['a', 'b', 'c', 'd', 'e'], 2);
20+
// Returns [['a', 'b'], ['c', 'd'], ['e']]
21+
```
22+
23+
```dart [Dart]
1724
arrGroupByMaxCount(['a', 'b', 'c', 'd', 'e'], 2);
1825
// Returns [['a', 'b'], ['c', 'd'], ['e']]
1926
```
27+
28+
:::

docs/src/en/reference/array/arrMove.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ Moves the position of a specific element in an array to the specified position.
1414
1515
## Examples
1616

17-
```javascript
17+
::: code-group
18+
19+
```javascript [JavaScript]
1820
arrMove([1, 2, 3, 4], 1, 0); // Returns [2, 1, 3, 4]
1921
```
22+
23+
```dart [Dart]
24+
arrMove([1, 2, 3, 4], 1, 0); // Returns [2, 1, 3, 4]
25+
```
26+
27+
:::

docs/src/ko/index.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
layout: home
33

44
title: QSU
5-
titleTemplate: 가벼우면서 광범위한 유틸리티 도우미
5+
titleTemplate: 강력한 유틸리티 라이브러리
66

77
hero:
88
name: QSU
9-
text: 가벼우면서 광범위한 유틸리티 도우미
10-
tagline: qsu는 프로그래밍에 활력을 주는 유틸리티를 모은 패키지입니다. JavaScript/Node.js와 Dart/Flutter 환경에서 사용할 수 있습니다.
9+
text: 강력한 유틸 라이브러리
10+
tagline: qsu는 유용하고 자주 쓰는 함수를 모아둔 유틸리티 라이브러리입니다. array, object, string 데이터 처리 등의 유용한 함수들이 있습니다. 원하는 프로그래밍 언어와 최신 개발 환경에서 시작하세요.
1111
actions:
1212
- theme: brand
1313
text: 소개
1414
link: ko/introduction
1515
- theme: alt
16-
text: JavaScript/Node.js
17-
link: ko/installation/javascript
16+
text: 설치하기
17+
link: ko/installation
1818
- theme: alt
19-
text: Dart/Flutter
20-
link: ko/installation/dart
19+
text: 레퍼런스
20+
link: ko/reference
2121
image:
2222
src: /icon.png
2323
alt: Utility

docs/src/ko/installation/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 설치
1+
# 설치하기
22

33
여기에는 `qsu`의 언어별 설치 방법에 대한 설명이 있습니다.
44

docs/src/ko/reference/array/arrCount.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
1414
## Examples
1515

16-
```javascript
16+
::: code-group
17+
18+
```javascript [JavaScript]
1719
arrCount(['a', 'a', 'a', 'b', 'c', 'b', 'a', 'd']); // Returns { a: 4, b: 2, c: 1, d: 1 }
1820
```
21+
22+
```dart [Dart]
23+
arrCount(['a', 'a', 'a', 'b', 'c', 'b', 'a', 'd']); // Returns { a: 4, b: 2, c: 1, d: 1 }
24+
```
25+
26+
:::

docs/src/ko/reference/array/arrGroupByMaxCount.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,16 @@
1313
1414
## Examples
1515

16-
```javascript
16+
::: code-group
17+
18+
```javascript [JavaScript]
19+
arrGroupByMaxCount(['a', 'b', 'c', 'd', 'e'], 2);
20+
// Returns [['a', 'b'], ['c', 'd'], ['e']]
21+
```
22+
23+
```dart [Dart]
1724
arrGroupByMaxCount(['a', 'b', 'c', 'd', 'e'], 2);
1825
// Returns [['a', 'b'], ['c', 'd'], ['e']]
1926
```
27+
28+
:::

docs/src/ko/reference/array/arrMove.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414
1515
## Examples
1616

17-
```javascript
17+
::: code-group
18+
19+
```javascript [JavaScript]
1820
arrMove([1, 2, 3, 4], 1, 0); // Returns [2, 1, 3, 4]
1921
```
22+
23+
```dart [Dart]
24+
arrMove([1, 2, 3, 4], 1, 0); // Returns [2, 1, 3, 4]
25+
```
26+
27+
:::

0 commit comments

Comments
 (0)