From c7567ea219dfe98e6fd89abc2a1d41427bb09d23 Mon Sep 17 00:00:00 2001
From: Vadym Barda
Date: Thu, 20 Mar 2025 11:02:59 -0400
Subject: [PATCH] docs: improve search (#3948)
---
docs/docs/concepts/langgraph_platform.md | 5 +++++
docs/docs/concepts/v0-human-in-the-loop.md | 5 +++++
docs/docs/index.md | 2 +-
docs/docs/tutorials/deployment.md | 5 +++++
docs/mkdocs.yml | 2 +-
5 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/docs/docs/concepts/langgraph_platform.md b/docs/docs/concepts/langgraph_platform.md
index d9908aa8e..46dcab247 100644
--- a/docs/docs/concepts/langgraph_platform.md
+++ b/docs/docs/concepts/langgraph_platform.md
@@ -1,3 +1,8 @@
+---
+search:
+ boost: 2
+---
+
# LangGraph Platform
## Overview
diff --git a/docs/docs/concepts/v0-human-in-the-loop.md b/docs/docs/concepts/v0-human-in-the-loop.md
index ad2f19aa4..801d94be8 100644
--- a/docs/docs/concepts/v0-human-in-the-loop.md
+++ b/docs/docs/concepts/v0-human-in-the-loop.md
@@ -1,3 +1,8 @@
+---
+search:
+ exclude: true
+---
+
# Human-in-the-loop
!!! note "Use the `interrupt` function instead."
diff --git a/docs/docs/index.md b/docs/docs/index.md
index 066f0775c..d4d038d6f 100644
--- a/docs/docs/index.md
+++ b/docs/docs/index.md
@@ -20,7 +20,7 @@ title: Home
diff --git a/docs/docs/tutorials/deployment.md b/docs/docs/tutorials/deployment.md
index 29470fe63..f4d9dc44a 100644
--- a/docs/docs/tutorials/deployment.md
+++ b/docs/docs/tutorials/deployment.md
@@ -1,3 +1,8 @@
+---
+search:
+ boost: 2
+---
+
# Deployment
Get started deploying your LangGraph applications locally or on the cloud with
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml
index 2189d5dc8..0669e0c67 100644
--- a/docs/mkdocs.yml
+++ b/docs/mkdocs.yml
@@ -54,7 +54,7 @@ theme:
code: "Roboto Mono"
plugins:
- search:
- separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
+ separator: '[\s\u200b\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;'
- autorefs
- mkdocstrings:
handlers: