From 0d7db13a663bfe66350939d81a54df69872e4335 Mon Sep 17 00:00:00 2001 From: mich-elle-luna Date: Mon, 5 Oct 2026 20:57:56 -0700 Subject: [PATCH 1/5] Add a dedicated Redis Iris docs space with its own nav and dark theme - Header: replace the "AI agent builder" button with "Redis Iris", linking to the Iris landing page (desktop and mobile menus). - Sidebar: on pages under develop/ai/context-engine or operate/iris, show only the Iris pages, grouped as GET STARTED and DEPLOY & OPERATE, with a link back to all documentation. - Theme: Iris pages get a scoped dark stylesheet (static/css/iris-dark.css) covering the content area and sidebar; header, footer, and search are unchanged. - Move the Iris interactive demo under Concepts, after Request flow, with an alias from the old URL. - Reorder services: Agent Memory, Context Retriever, LangCache, Data Integration. Co-Authored-By: Claude Opus 5.5 (1M context) --- .../ai/context-engine/agent-memory/_index.md | 2 +- .../{ => concepts}/interactive-demo.md | 4 +- .../context-retriever/_index.md | 2 +- .../ai/context-engine/langcache/_index.md | 2 +- layouts/_default/baseof.html | 6 +- layouts/partials/docs-nav.html | 23 +++- layouts/partials/header.html | 4 +- layouts/partials/is-iris-page.html | 10 ++ static/css/iris-dark.css | 127 ++++++++++++++++++ 9 files changed, 172 insertions(+), 8 deletions(-) rename content/develop/ai/context-engine/{ => concepts}/interactive-demo.md (97%) create mode 100644 layouts/partials/is-iris-page.html create mode 100644 static/css/iris-dark.css diff --git a/content/develop/ai/context-engine/agent-memory/_index.md b/content/develop/ai/context-engine/agent-memory/_index.md index 8bde22c0af..92a828ae16 100644 --- a/content/develop/ai/context-engine/agent-memory/_index.md +++ b/content/develop/ai/context-engine/agent-memory/_index.md @@ -8,7 +8,7 @@ categories: description: Store agent memory for AI applications in Redis. linkTitle: Agent Memory hideListLinks: true -weight: 20 +weight: 10 bannerText: Redis Agent Memory is currently available in preview. Features and behavior are subject to change. bannerChildren: true aliases: diff --git a/content/develop/ai/context-engine/interactive-demo.md b/content/develop/ai/context-engine/concepts/interactive-demo.md similarity index 97% rename from content/develop/ai/context-engine/interactive-demo.md rename to content/develop/ai/context-engine/concepts/interactive-demo.md index 24e71d4a7a..3cd8f6b9eb 100644 --- a/content/develop/ai/context-engine/interactive-demo.md +++ b/content/develop/ai/context-engine/concepts/interactive-demo.md @@ -8,8 +8,10 @@ description: Step through one agent request across Data Integration, LangCache, hideListLinks: true linktitle: Interactive demo title: Redis Iris interactive demo -weight: 7 +weight: 10 bannerText: LangCache, Agent Memory, and Context Retriever are currently available in preview. Features and behavior are subject to change. +aliases: +- /develop/ai/context-engine/interactive-demo/ --- Redis Iris gives an AI agent governed access to live business data, memory, and cached answers. This tour follows one customer request through all four services, one step at a time. It starts where business data enters Iris, with Data Integration, and then follows the request through the other three services, in the order described in [How Redis Iris works](/content/develop/ai/context-engine/concepts/_index.md). The last step takes one service away to show what the agent loses without it. diff --git a/content/develop/ai/context-engine/context-retriever/_index.md b/content/develop/ai/context-engine/context-retriever/_index.md index afbe5886da..ba40a4264b 100644 --- a/content/develop/ai/context-engine/context-retriever/_index.md +++ b/content/develop/ai/context-engine/context-retriever/_index.md @@ -8,7 +8,7 @@ categories: description: Expose tools to Agents to query your Redis databases. linkTitle: Context Retriever hideListLinks: true -weight: 30 +weight: 20 bannerText: Redis Context Retriever is currently available in preview. Features and behavior are subject to change. bannerChildren: true --- diff --git a/content/develop/ai/context-engine/langcache/_index.md b/content/develop/ai/context-engine/langcache/_index.md index fc8a092ae5..7efd9d174f 100644 --- a/content/develop/ai/context-engine/langcache/_index.md +++ b/content/develop/ai/context-engine/langcache/_index.md @@ -8,7 +8,7 @@ categories: description: Store LLM responses for AI apps in a semantic cache. linkTitle: LangCache hideListLinks: true -weight: 10 +weight: 30 bannerText: LangCache is currently available in preview. Features and behavior are subject to change. bannerChildren: true aliases: diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 46fcdb36f9..c075df9a47 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -37,6 +37,10 @@ {{ if .Page.Store.Get "hasOtelMetrics" }} {{ end }} + {{ $isIris := partial "is-iris-page.html" . }} + {{ if $isIris }} + + {{ end }} {{ block "head" . }}{{ end }} @@ -61,7 +65,7 @@ {{ partial "mathjax.html" }} {{ end }} - + {{ partial "ai-metadata-body.html" . }} diff --git a/layouts/partials/docs-nav.html b/layouts/partials/docs-nav.html index 85026548fe..8f64ecd618 100644 --- a/layouts/partials/docs-nav.html +++ b/layouts/partials/docs-nav.html @@ -216,6 +216,26 @@ {{ $navRoot := cond (eq .Site.Home.Type "docs") .Site.Home .FirstSection -}} {{ $ulNr := 0 -}} {{ $ulShow := 1 -}} + {{/* Redis Iris pages live under both Develop and Operate. Anywhere inside either + tree, the sidebar shows only the Iris pages, with a link back to the full docs. */}} + {{ $irisDevelop := site.GetPage "/develop/ai/context-engine" -}} + {{ $irisOperate := site.GetPage "/operate/iris" -}} + {{ if partial "is-iris-page.html" . }} + ← All documentation +
+ Redis Iris context engine +
+ GET STARTED +
    + {{ template "li" (dict "page" . "pages" (union $irisDevelop.Pages $irisDevelop.Sections).ByWeight) }} +
+ DEPLOY & OPERATE +
    + {{ template "li" (dict "page" . "pages" (union $irisOperate.Pages $irisOperate.Sections).ByWeight) }} +
+
+
+ {{ else }} {{/* data-offline-hide marks whatever a downloadable HTML copy should not show (see build/make_doc_bundles.py). A bundle holds one product, so its copy keeps only the section the page belongs to: the other products' links lead @@ -249,6 +269,7 @@ {{ end }} + {{ end }}
{{ partialCached "download-docs-trigger.html" (dict "title" "Download documentation" @@ -268,7 +289,7 @@ const activeLink = sidebar.querySelector('a.active'); if (activeLink) { // Find the scrollable UL container that contains the active link - const scrollContainer = activeLink.closest('ul.overflow-y-auto'); + const scrollContainer = activeLink.closest('.overflow-y-auto'); if (scrollContainer) { // Get the position of the active link relative to its scrollable container diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 1b4589bea6..2f1340550b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,7 +14,7 @@ - AI agent builder + Redis Iris
@@ -63,7 +63,7 @@