From 9f98e94c6fe52b8582c205831c4de82d50e81daf Mon Sep 17 00:00:00 2001 From: yjkwon07 Date: Fri, 16 Aug 2024 17:07:38 +0900 Subject: [PATCH] [doc]: intro --- docs/intro.md | 17 +++++++++++++++++ docusaurus.config.js | 4 ++-- src/pages/index.js | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 docs/intro.md diff --git a/docs/intro.md b/docs/intro.md new file mode 100644 index 0000000..b1a4f16 --- /dev/null +++ b/docs/intro.md @@ -0,0 +1,17 @@ +--- +sidebar_position: 0 +--- + +## Start your site + +install: npm + +```shell +npm install ventos-util-lib +``` + +install: yarn + +```shell +yarn add ventos-util-lib +``` \ No newline at end of file diff --git a/docusaurus.config.js b/docusaurus.config.js index fdd90b7..1f6b6b9 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -36,7 +36,7 @@ module.exports = { items: [ { type: 'doc', - docId: 'allEqual', + docId: 'intro', position: 'left', label: 'Docs', }, @@ -50,7 +50,7 @@ module.exports = { items: [ { label: 'Docs', - to: '/docs/allEqual', + to: '/docs/intro', }, ], }, diff --git a/src/pages/index.js b/src/pages/index.js index 240b5f2..933da72 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -15,7 +15,7 @@ function HomepageHeader() {
Let's view docs