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