Skip to content

Agent Mesh

site: search the docs and link every heading

Tomas Tormo6aa51b035f1a
diff --git a/site/hugo.toml b/site/hugo.toml
index 6503e98e..613f6808 100644
--- a/site/hugo.toml
+++ b/site/hugo.toml
@@ -69,6 +69,7 @@ contentDir = "content"
github_repo = "https://github.com/google/agentmesh"
github_subdir = "site"
github_branch = "main"
+ offlineSearch = true
[params.ui]
showLightDarkModeMenu = true
diff --git a/site/layouts/_markup/render-heading.html b/site/layouts/_markup/render-heading.html
new file mode 100644
index 00000000..24352cb5
--- /dev/null
+++ b/site/layouts/_markup/render-heading.html
@@ -0,0 +1 @@
+{{ partial "td/render-heading.html" . }}