From b9ed57e58d15cfc4bce7843e5540c97481c45979 Mon Sep 17 00:00:00 2001 From: Avgustin Marinov Date: Mon, 20 Nov 2023 13:27:11 +0200 Subject: [PATCH] Little doc improvemnts + Blog (#1481) --- docs/.gitignore | 1 + docs/config.toml | 13 +++++++++---- .../{news => blog}/2018-07-26-first-release.md | 3 ++- docs/content/{news => blog}/2023-09-21-epl2.0.md | 3 ++- docs/content/news/_index.md | 0 docs/layouts/partials/drawer.html | 10 +++++----- 6 files changed, 19 insertions(+), 11 deletions(-) rename docs/content/{news => blog}/2018-07-26-first-release.md (99%) rename docs/content/{news => blog}/2023-09-21-epl2.0.md (97%) delete mode 100644 docs/content/news/_index.md diff --git a/docs/.gitignore b/docs/.gitignore index 19ea11e3f..3d96bdc10 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1,6 +1,7 @@ # rest api doc content/rest-api/*.json content/rest-api/*.html +content/rest-api/*.yaml # npm leftover node_modules package.json diff --git a/docs/config.toml b/docs/config.toml index 9ec426579..afc507f65 100755 --- a/docs/config.toml +++ b/docs/config.toml @@ -100,11 +100,16 @@ canonifyurls = false weight = 80 [[menu.main]] - name = "Community" - url = "/community/" + name = "Release notes" + url = "/release-notes/" weight = 90 [[menu.main]] - name = "Release notes" - url = "/release-notes/" + name = "Blog" + url = "/blog/" weight = 100 + +[[menu.main]] + name = "Community" + url = "/community/" + weight = 110 diff --git a/docs/content/news/2018-07-26-first-release.md b/docs/content/blog/2018-07-26-first-release.md similarity index 99% rename from docs/content/news/2018-07-26-first-release.md rename to docs/content/blog/2018-07-26-first-release.md index 767a5cccc..49647a56a 100644 --- a/docs/content/news/2018-07-26-first-release.md +++ b/docs/content/blog/2018-07-26-first-release.md @@ -1,6 +1,7 @@ --- title: Eclipse hawkBit 0.2.0 - First Release -weight: -200 +parent: Blog +weight: 200 --- hawkBit is a domain-independent back-end framework for rolling out software updates to constrained edge devices as well diff --git a/docs/content/news/2023-09-21-epl2.0.md b/docs/content/blog/2023-09-21-epl2.0.md similarity index 97% rename from docs/content/news/2023-09-21-epl2.0.md rename to docs/content/blog/2023-09-21-epl2.0.md index 8bd0f53c9..3d109d15e 100644 --- a/docs/content/news/2023-09-21-epl2.0.md +++ b/docs/content/blog/2023-09-21-epl2.0.md @@ -1,6 +1,7 @@ --- title: Eclipse hawkBit upgrade to Eclipse Public License - v 2.0 -weight: -200 +parent: Blog +weight: 100 --- hawkBit is a domain-independent back-end framework for rolling out software updates to constrained edge devices as well diff --git a/docs/content/news/_index.md b/docs/content/news/_index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/layouts/partials/drawer.html b/docs/layouts/partials/drawer.html index c827a2836..463bbb855 100755 --- a/docs/layouts/partials/drawer.html +++ b/docs/layouts/partials/drawer.html @@ -46,11 +46,6 @@
{{ end }}