diff --git a/docs/src/ko/other-packages/qsu-web/api/web.md b/docs/src/en/api/web.md similarity index 86% rename from docs/src/ko/other-packages/qsu-web/api/web.md rename to docs/src/en/api/web.md index 68d0a8c..ec27d20 100644 --- a/docs/src/ko/other-packages/qsu-web/api/web.md +++ b/docs/src/en/api/web.md @@ -1,9 +1,9 @@ --- -title: Web -order: 1 +title: Web plugin:web +order: 100 --- -# Methods: Web +# Methods: Web This method is only available in the `qsu-web` package. diff --git a/docs/src/en/getting-started/installation-javascript.md b/docs/src/en/getting-started/installation-javascript.md index 2223d9b..c833201 100644 --- a/docs/src/en/getting-started/installation-javascript.md +++ b/docs/src/en/getting-started/installation-javascript.md @@ -14,12 +14,15 @@ After configuring the node environment, you can simply run the following command ```bash # via npm $ npm install qsu +$ npm install qsu-web # (Optional) When using the Add-on for Web # via yarn $ yarn add qsu +$ yarn add qsu-web # (Optional) When using the Add-on for Web # via pnpm $ pnpm install qsu +$ pnpm install qsu-web # (Optional) When using the Add-on for Web ``` ## How to Use diff --git a/docs/src/en/other-packages/qsu-web/api/index.md b/docs/src/en/other-packages/qsu-web/api/index.md deleted file mode 100644 index 808fdc2..0000000 --- a/docs/src/en/other-packages/qsu-web/api/index.md +++ /dev/null @@ -1,5 +0,0 @@ -# API - -A complete list of utility methods available in QSU. - -Explore the APIs for your purpose in the left sidebar. diff --git a/docs/src/en/other-packages/qsu-web/installation.md b/docs/src/en/other-packages/qsu-web/installation.md deleted file mode 100644 index 3f49201..0000000 --- a/docs/src/en/other-packages/qsu-web/installation.md +++ /dev/null @@ -1,28 +0,0 @@ -# Installation - -Qsu has utilities organized into separate packages. Currently, there is a package called `qsu-web`. - -The `qsu-web` package contains a collection of utility functions that are commonly used on web pages. - -General installation and use is almost identical to the `qsu` package. - -```bash -# via npm -$ npm install qsu-web - -# via yarn -$ yarn add qsu-web - -# via pnpm -$ pnpm install qsu-web -``` - -```javascript -import { isBotAgent } from 'qsu-web'; - -function main() { - console.log( - isBotAgent('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html') - ); // true -} -``` diff --git a/docs/src/en/other-packages/qsu-web/api/web.md b/docs/src/ko/api/web.md similarity index 86% rename from docs/src/en/other-packages/qsu-web/api/web.md rename to docs/src/ko/api/web.md index 68d0a8c..ec27d20 100644 --- a/docs/src/en/other-packages/qsu-web/api/web.md +++ b/docs/src/ko/api/web.md @@ -1,9 +1,9 @@ --- -title: Web -order: 1 +title: Web plugin:web +order: 100 --- -# Methods: Web +# Methods: Web This method is only available in the `qsu-web` package. diff --git a/docs/src/ko/getting-started/installation-javascript.md b/docs/src/ko/getting-started/installation-javascript.md index 7d2c1b9..3e0b8dc 100644 --- a/docs/src/ko/getting-started/installation-javascript.md +++ b/docs/src/ko/getting-started/installation-javascript.md @@ -14,12 +14,15 @@ Node.js 환경을 구성한 후 다음 명령을 실행하면 됩니다: ```bash # via npm $ npm install qsu +$ npm install qsu-web # (선택적) Web용 추가 유틸을 사용할 때 # via yarn $ yarn add qsu +$ yarn add qsu-web # (선택적) Web용 추가 유틸을 사용할 때 # via pnpm $ pnpm install qsu +$ pnpm install qsu-web # (선택적) Web용 추가 유틸을 사용할 때 ``` ## 사용 방법 diff --git a/docs/src/ko/other-packages/qsu-web/api/index.md b/docs/src/ko/other-packages/qsu-web/api/index.md deleted file mode 100644 index 729c6f1..0000000 --- a/docs/src/ko/other-packages/qsu-web/api/index.md +++ /dev/null @@ -1,5 +0,0 @@ -# API - -Qsu에서 사용할 수 있는 유틸리티 메소드의 전체 목록입니다. - -왼쪽 사이드바에서 목적에 맞는 API를 살펴보세요. diff --git a/docs/src/ko/other-packages/qsu-web/installation.md b/docs/src/ko/other-packages/qsu-web/installation.md deleted file mode 100644 index 8517709..0000000 --- a/docs/src/ko/other-packages/qsu-web/installation.md +++ /dev/null @@ -1,28 +0,0 @@ -# 설치 - -Qsu에는 유틸리티가 별도의 패키지로 구성되어 있습니다. 현재 `qsu-web`이라는 패키지가 있습니다. - -`qsu-web` 패키지에는 웹 페이지에서 일반적으로 사용되는 유틸리티 함수 모음이 포함되어 있습니다. - -일반적인 설치 및 사용법은 `qsu` 패키지와 거의 동일합니다. - -```bash -# via npm -$ npm install qsu-web - -# via yarn -$ yarn add qsu-web - -# via pnpm -$ pnpm install qsu-web -``` - -```javascript -import { isBotAgent } from 'qsu-web'; - -function main() { - console.log( - isBotAgent('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html') - ); // true -} -```