From 5647aefda3b0f6b260094ff97826f9a8b92ad3a3 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 10 May 2020 22:21:41 +0200 Subject: [PATCH] Switch item in navbar in preparation of larger move (#505) --- docusaurus.config.js | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 55d60146..90d6a449 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -18,12 +18,32 @@ module.exports = { }, links: [ { - to: "docs/architecture_index", - label: "Architecture", + label: "Home Assistant", position: "left", + items: [ + { + label: "Architecture", + to: "docs/architecture_index", + }, + { + label: "Core", + to: "docs/development_index", + }, + { to: "docs/frontend_index", label: "Frontend" }, + ], + }, + { + label: "Documenting", + position: "left", + items: [ + { label: "Documentation", to: "docs/documentation_index" }, + { label: "Standards", to: "docs/documentation_standards" }, + { + label: "Create a new page", + to: "docs/documentation_create_page", + }, + ], }, - { to: "docs/frontend_index", label: "Frontend", position: "left" }, - { to: "docs/development_index", label: "Backend", position: "left" }, { label: "API", position: "left",