From bcfc78cc85e4bed51e7d780750230b184e189c2d Mon Sep 17 00:00:00 2001 From: Simon Hirtreiter <14137977+simonhir@users.noreply.github.com> Date: Fri, 20 Dec 2024 11:47:01 +0100 Subject: [PATCH] Bug/docs fix theme and cleanup (#332) * :memo: docs unify gateway naming * :memo: docs architecture client instead of users * :memo: docs make outline deep by default * :memo: docs use asset server for nav logo * :bug: docs fix missing css * :bug: docs fix missing css * :memo: docs unify gateway naming * :memo: docs add prettier commands --- docs/.vitepress/config.mts | 7 +++++-- docs/.vitepress/theme/LhmThemeExtension.vue | 4 +--- docs/.vitepress/theme/logo-lhm.png | Bin 3394 -> 0 bytes docs/.vitepress/theme/style.css | 21 +++++++++++++++++++- docs/gateway.md | 2 +- docs/index.md | 2 +- docs/overview.md | 6 +++--- docs/package.json | 4 +++- 8 files changed, 34 insertions(+), 12 deletions(-) delete mode 100644 docs/.vitepress/theme/logo-lhm.png diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 025a5724..f9e68384 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -23,7 +23,7 @@ const vitepressConfig = defineConfig({ text: "Docs", items: [ { text: "Overview", link: "/overview" }, - { text: "API-Gateway", link: "/gateway" }, + { text: "API gateway", link: "/gateway" }, { text: "Integrations", link: "/integrations" }, { text: "Development", link: "/dev" }, ], @@ -31,7 +31,7 @@ const vitepressConfig = defineConfig({ ], sidebar: [ { text: "Overview", link: "/overview" }, - { text: "API-Gateway", link: "/gateway" }, + { text: "API gateway", link: "/gateway" }, { text: "Integrations", link: "/integrations", @@ -46,6 +46,9 @@ const vitepressConfig = defineConfig({ ], }, ], + outline: { + level: "deep", + }, socialLinks: [ { icon: "github", link: "https://github.com/it-at-m/refarch" }, ], diff --git a/docs/.vitepress/theme/LhmThemeExtension.vue b/docs/.vitepress/theme/LhmThemeExtension.vue index 8bacc37a..e988ff92 100644 --- a/docs/.vitepress/theme/LhmThemeExtension.vue +++ b/docs/.vitepress/theme/LhmThemeExtension.vue @@ -1,8 +1,6 @@