From 484e120d97e7e6f9fd64e54b23607e4b49209945 Mon Sep 17 00:00:00 2001
From: Derek Lewis
Date: Tue, 29 Sep 2026 01:18:39 +0000
Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=E2=9C=A8=EF=BC=9Alead=20readers=20?=
=?UTF-8?q?to=20the=20SDK=20reference?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The SDK's API reference lived at /docs/sdk/, but nothing on the site
led there: the Docs page only said it was not here yet, and the home
page's SDK section had no link. A reader who did not already know the
address would not find it.
The top navigation gains an SDK entry, the Docs page gains a section
for the reference in place of its "not here yet" note, naming the
newest release once there is one, and the home page's install panel
links the reference.
Since the SDK's pages sit inside the docs, the Docs and SDK entries
both match them. The header now marks only the last matching entry as
the current page, so a reference page highlights SDK alone.
Signed-off-by: Derek Lewis
Assisted-by: Claude-Code:claude-opus-5
---
_data/menu.json | 5 +++++
_includes/header.liquid | 18 ++++++++++++----
_layouts/sdk-api.liquid | 1 +
collections/_pages/docs.html | 40 +++++++++++++++++++++++++++---------
collections/_pages/home.html | 3 +++
collections/_pages/sdk.html | 2 +-
6 files changed, 54 insertions(+), 15 deletions(-)
diff --git a/_data/menu.json b/_data/menu.json
index e85826af2..ecfc62557 100644
--- a/_data/menu.json
+++ b/_data/menu.json
@@ -14,6 +14,11 @@
"permalink": "docs",
"class": "docs"
},
+ {
+ "text": "SDK",
+ "permalink": "docs/sdk/",
+ "class": "sdk-section"
+ },
{
"text": "About",
"permalink": "about",
diff --git a/_includes/header.liquid b/_includes/header.liquid
index d28538f14..88bdc3841 100644
--- a/_includes/header.liquid
+++ b/_includes/header.liquid
@@ -1,3 +1,13 @@
+{%- comment -%}
+ One link is current. The SDK's pages sit inside the docs, so both entries
+ match them; the menu lists SDK after Docs, and the last match wins.
+{%- endcomment -%}
+{%- assign current_link = '' -%}
+{%- for link in menu -%}
+ {%- if body_classes contains link.class -%}
+ {%- assign current_link = link.class -%}
+ {%- endif -%}
+{%- endfor -%}
+
+ Read the API reference for every package.
+
diff --git a/collections/_pages/sdk.html b/collections/_pages/sdk.html
index 24537d51e..fa8bd0670 100644
--- a/collections/_pages/sdk.html
+++ b/collections/_pages/sdk.html
@@ -3,7 +3,7 @@
layout: deep-page.liquid
permalink: /docs/sdk/
description: API reference and package guides for the OpenINF SDK.
-body_classes: docs doc-page sdk-overview
+body_classes: docs doc-page sdk-overview sdk-section
editable: false
---
The OpenINF SDK is the shared foundation for building dependable integrations