From e81d986c1eab42bf5fab9d5a986bd2bbcb9bd474 Mon Sep 17 00:00:00 2001 From: Pranali Deshmukh Date: Tue, 30 Jun 2026 01:23:23 +0530 Subject: [PATCH 1/3] docs: move Examples Hub and Release Notes to sidebar, add Solo GitHub (#241) Remove Examples Hub and Release Notes from the top nav (menu.main). Add three sidebar stub entries using Docsy's manualLink parameter so the links appear in the docs sidebar and open directly in a new tab: Examples Hub (GitHub examples dir), Release Notes (GitHub releases), and Solo on GitHub (GitHub repo). Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Pranali Deshmukh --- content/en/docs/examples-hub.md | 8 ++++++++ content/en/docs/release-notes.md | 8 ++++++++ content/en/docs/solo-github.md | 8 ++++++++ hugo.yaml | 8 +------- 4 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 content/en/docs/examples-hub.md create mode 100644 content/en/docs/release-notes.md create mode 100644 content/en/docs/solo-github.md diff --git a/content/en/docs/examples-hub.md b/content/en/docs/examples-hub.md new file mode 100644 index 0000000..7ef0bfe --- /dev/null +++ b/content/en/docs/examples-hub.md @@ -0,0 +1,8 @@ +--- +title: "Examples Hub" +linkTitle: "Examples Hub" +weight: 6 +manualLink: "https://github.com/hiero-ledger/solo/tree/main/examples" +manualLinkTitle: "Examples Hub" +manualLinkTarget: "_blank" +--- diff --git a/content/en/docs/release-notes.md b/content/en/docs/release-notes.md new file mode 100644 index 0000000..4c0c8fb --- /dev/null +++ b/content/en/docs/release-notes.md @@ -0,0 +1,8 @@ +--- +title: "Release Notes" +linkTitle: "Release Notes" +weight: 7 +manualLink: "https://github.com/hiero-ledger/solo/releases" +manualLinkTitle: "Release Notes" +manualLinkTarget: "_blank" +--- diff --git a/content/en/docs/solo-github.md b/content/en/docs/solo-github.md new file mode 100644 index 0000000..3bc6a09 --- /dev/null +++ b/content/en/docs/solo-github.md @@ -0,0 +1,8 @@ +--- +title: "Solo on GitHub" +linkTitle: "Solo on GitHub" +weight: 8 +manualLink: "https://github.com/hiero-ledger/solo" +manualLinkTitle: "Solo on GitHub" +manualLinkTarget: "_blank" +--- diff --git a/hugo.yaml b/hugo.yaml index 937a269..70354b0 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -2,13 +2,7 @@ baseURL: / title: Solo menu: - main: - - name: Examples Hub - weight: 3 - url: https://github.com/hiero-ledger/solo/tree/main/examples - - name: Release Notes - weight: 4 - url: https://github.com/hiero-ledger/solo/releases + main: [] module: # Uncomment the next line to build and serve using local docsy clone declared in the named Hugo workspace: From 3b4b90f44406b5d5a0a90c6125b305a33f6b7cc1 Mon Sep 17 00:00:00 2001 From: Pranali Deshmukh Date: Tue, 30 Jun 2026 01:49:48 +0530 Subject: [PATCH 2/3] docs: add icons and visual separator to sidebar external links (#241) Add Font Awesome icons to Examples Hub, Release Notes, and Solo on GitHub sidebar entries via Docsy's Icon frontmatter param. Position icons to align with foldable-nav caret arrows and add a visible separator above the group. Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Pranali Deshmukh --- assets/scss/_styles_project.scss | 31 +++++++++++++++++++++++++++++++ content/en/docs/examples-hub.md | 1 + content/en/docs/release-notes.md | 1 + content/en/docs/solo-github.md | 1 + 4 files changed, 34 insertions(+) diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 42f8f58..4b3eaa0 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -188,6 +188,37 @@ small, font-weight: 700 !important; } +// Sidebar external-links group: Examples Hub, Release Notes, Solo on GitHub. +// DOM structure at depth >= 1: li > input + label > a > i + span (foldable nav). +// Mirror the foldable-nav caret (label::before, position: absolute, left: 0.1em) +// so the icon sits at the same horizontal position as the section expand arrows. +nav.foldable-nav .ul-1 .without-child label a i[class*="fa-"] { + position: absolute; + left: 0.1em; + padding-left: 0.4em; + padding-right: 0.4em; + top: 50%; + transform: translateY(-50%); + font-size: 1em; +} + +// Push link text clear of the absolutely-positioned icon. +// FA icons (fa-code, fa-tag, fa-github) are wider than the narrow caret glyph, +// so the needs left padding to prevent the text from overlapping the icon. +// !important is required to override Bootstrap's ps-0 (padding-start: 0 !important). +nav.foldable-nav .ul-1 .without-child:has(label a i[class*="fa-"]) label a { + padding-left: 1.2em !important; +} + +// Visual separator above the first of the three external link items. +// :not(li:has(...) + li) targets the first in a consecutive group of icon-bearing lis. +// --color-text-light (#888 light / #aab7cf dark) is visible on both backgrounds. +.td-sidebar-nav li:has(label > a > i[class*="fa-"]):not(li:has(label > a > i[class*="fa-"]) + li) { + border-top: 1px solid var(--color-text-light); + margin-top: 0.75rem; + padding-top: 0.5rem; +} + // --- 5. LINKS & INLINE ELEMENTS --- a, diff --git a/content/en/docs/examples-hub.md b/content/en/docs/examples-hub.md index 7ef0bfe..a6aea7d 100644 --- a/content/en/docs/examples-hub.md +++ b/content/en/docs/examples-hub.md @@ -5,4 +5,5 @@ weight: 6 manualLink: "https://github.com/hiero-ledger/solo/tree/main/examples" manualLinkTitle: "Examples Hub" manualLinkTarget: "_blank" +icon: "fas fa-code" --- diff --git a/content/en/docs/release-notes.md b/content/en/docs/release-notes.md index 4c0c8fb..9f49044 100644 --- a/content/en/docs/release-notes.md +++ b/content/en/docs/release-notes.md @@ -5,4 +5,5 @@ weight: 7 manualLink: "https://github.com/hiero-ledger/solo/releases" manualLinkTitle: "Release Notes" manualLinkTarget: "_blank" +icon: "fas fa-tag" --- diff --git a/content/en/docs/solo-github.md b/content/en/docs/solo-github.md index 3bc6a09..f58d7ba 100644 --- a/content/en/docs/solo-github.md +++ b/content/en/docs/solo-github.md @@ -5,4 +5,5 @@ weight: 8 manualLink: "https://github.com/hiero-ledger/solo" manualLinkTitle: "Solo on GitHub" manualLinkTarget: "_blank" +icon: "fab fa-github" --- From 632768c99bca676cfe9e4d2918753d51cd274cab Mon Sep 17 00:00:00 2001 From: Pranali Deshmukh Date: Tue, 18 Aug 2026 20:05:53 +0530 Subject: [PATCH 3/3] docs: apply anchor suggestion for Solo on GitHub sidebar link (#241) Update manualLink to include #solo anchor so the link scrolls directly to the Solo heading in the README, bypassing repo badges. Co-authored-by: jeromy-cannon Signed-off-by: Pranali Deshmukh --- content/en/docs/solo-github.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/solo-github.md b/content/en/docs/solo-github.md index f58d7ba..d56e456 100644 --- a/content/en/docs/solo-github.md +++ b/content/en/docs/solo-github.md @@ -2,7 +2,7 @@ title: "Solo on GitHub" linkTitle: "Solo on GitHub" weight: 8 -manualLink: "https://github.com/hiero-ledger/solo" +manualLink: "https://github.com/hiero-ledger/solo#solo" manualLinkTitle: "Solo on GitHub" manualLinkTarget: "_blank" icon: "fab fa-github"