From 893f20546810df83a9453bf7391158c47953b6d1 Mon Sep 17 00:00:00 2001 From: MrSebastian <13592751+MrSebastian@users.noreply.github.com> Date: Thu, 10 Oct 2024 17:04:07 +0200 Subject: [PATCH 1/2] enable local search --- docs/.vitepress/config.mts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 82433c894..a094ac2dd 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -34,9 +34,11 @@ export default withMermaid({ text: 'Getting Started', link: `${PATH_TECHNIK}get_started/` }, {text: 'Entwicklungsumgebung', link: `${PATH_TECHNIK}development/`}, - {text: 'Coding Conventions', link: `${PATH_CODING_CONVENTIONS}`, collapsed: true, items: [ + { + text: 'Coding Conventions', link: `${PATH_CODING_CONVENTIONS}`, collapsed: true, items: [ {text: 'Naming Convention - Testing', link: `${PATH_CODING_CONVENTIONS}tests_naming`} - ]}, + ] + }, { text: 'Adr', link: `${PATH_ADR}`, collapsed: true, items: [ {text: 'Renovate - ignoriere lombok', link: `${PATH_ADR}adr001-renovate-ignore-lombok`}, @@ -78,7 +80,11 @@ export default withMermaid({ socialLinks: [ {icon: 'github', link: 'https://github.com/it-at-m/Wahllokalsystem/'} - ] + ], + + search: { + provider: 'local' + } }, mermaidPlugin: { class: "mermaid my-class", // set additional css classes for parent container From 25f3e978707fd33e78db47fccd4a6ca41a279c73 Mon Sep 17 00:00:00 2001 From: MrSebastian <13592751+MrSebastian@users.noreply.github.com> Date: Thu, 10 Oct 2024 17:09:51 +0200 Subject: [PATCH 2/2] remove unwanted change in formatting --- docs/.vitepress/config.mts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index a094ac2dd..a26410c3e 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -34,11 +34,9 @@ export default withMermaid({ text: 'Getting Started', link: `${PATH_TECHNIK}get_started/` }, {text: 'Entwicklungsumgebung', link: `${PATH_TECHNIK}development/`}, - { - text: 'Coding Conventions', link: `${PATH_CODING_CONVENTIONS}`, collapsed: true, items: [ + {text: 'Coding Conventions', link: `${PATH_CODING_CONVENTIONS}`, collapsed: true, items: [ {text: 'Naming Convention - Testing', link: `${PATH_CODING_CONVENTIONS}tests_naming`} - ] - }, + ]}, { text: 'Adr', link: `${PATH_ADR}`, collapsed: true, items: [ {text: 'Renovate - ignoriere lombok', link: `${PATH_ADR}adr001-renovate-ignore-lombok`},