From 3e9ea492a6367d7b1937579baf6d0067d25047be Mon Sep 17 00:00:00 2001 From: Emilien Escalle Date: Wed, 11 Sep 2024 20:09:27 +0200 Subject: [PATCH] docs: add link to configuration Signed-off-by: Emilien Escalle --- README.md | 2 ++ website/docs/configuration.md | 2 +- website/docs/development.md | 2 +- website/docusaurus.config.js | 20 ++++++++++++++++++++ 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index efdf9cd3..863ef723 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ ### [Installation](https://neilime.github.io/twbs-helper-module/docs/installation/) +### [Configuration](https://neilime.github.io/twbs-helper-module/docs/configuration/) + ### [Usage](https://neilime.github.io/twbs-helper-module/docs/usage/intro/) ### [Code coverage](https://codecov.io/gh/neilime/twbs-helper-module) diff --git a/website/docs/configuration.md b/website/docs/configuration.md index 0a287364..36621ae6 100644 --- a/website/docs/configuration.md +++ b/website/docs/configuration.md @@ -1,5 +1,5 @@ --- -sidebar_position: 1 +sidebar_position: 2 --- # Configuration diff --git a/website/docs/development.md b/website/docs/development.md index 64c81208..520ee41f 100644 --- a/website/docs/development.md +++ b/website/docs/development.md @@ -1,5 +1,5 @@ --- -sidebar_position: 1 +sidebar_position: 4 --- # Development diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 45e4a7b5..631b9ca0 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -49,12 +49,24 @@ const { position: "left", label: "Installation", }, + { + type: "doc", + docId: "configuration", + position: "left", + label: "Configuration", + }, { type: "doc", docId: "usage/intro", position: "left", label: "Usage", }, + { + type: "doc", + docId: "development", + position: "left", + label: "Development", + }, { href: "https://github.com/neilime/twbs-helper-module", label: "GitHub", @@ -72,10 +84,18 @@ const { label: "Installation", to: "/docs/installation", }, + { + label: "Configuration", + to: "/docs/configuration", + }, { label: "Usage", to: "/docs/usage", }, + { + label: "Development", + to: "/docs/development", + }, ], }, {