docs: build the site navigation from docs/ (#282)

The navigation listed four pages and left the platform and hooks guides out, without failing the strict build. Zensical now builds the navigation from docs/ so new pages appear without a config change. navigation.indexes makes hooks/index.md the Hooks section page, and the landing page links to both guides.
This commit is contained in:
Maxfield Allison
2026-09-24 08:19:55 +05:30
committed by GitHub
parent d5f7896a89
commit e27d12fea4
2 changed files with 6 additions and 6 deletions
+3
View File
@@ -8,7 +8,10 @@ installation, the `Router` quickstart, the HTTP server, calibration, benchmarks
These guides cover individual topics:
- [Docker quickstart](docker.md): run the SDK in a container, on CPU or an NVIDIA GPU.
- [ARM64 and DGX Spark containers](docker-platforms.md): builds for ARM64 CPU hosts and for
DGX Spark with CUDA 13.0.
- [LangChain & LangGraph](langchain.md): Laya as router, guardrail, triage and evaluator
components, in process or over HTTP.
- [Fine-tuning example: browser agent](finetune_browser_agent.md): specialising Laya as the
decision head of a browser agent, end to end.
- [Prediction hooks](hooks/index.md): observe or shape every decision without forking Laya.
+3 -6
View File
@@ -9,12 +9,8 @@ repo_url = "https://github.com/NandhaKishorM/laya"
repo_name = "NandhaKishorM/laya"
edit_uri = "edit/main/docs/"
copyright = "Apache 2.0. Developed by Convai Innovations."
nav = [
{ "Home" = "index.md" },
{ "Docker quickstart" = "docker.md" },
{ "LangChain & LangGraph" = "langchain.md" },
{ "Fine-tuning example: browser agent" = "finetune_browser_agent.md" },
]
# No nav list: Zensical builds the navigation from docs/, so a new page appears without an
# edit here. A folder with an index.md becomes a section that opens on that page.
[project.theme]
# Reuse the README logo to avoid maintaining a second copy.
@@ -23,6 +19,7 @@ favicon = "https://raw.githubusercontent.com/NandhaKishorM/laya/main/assets/logo
features = [
"content.code.copy",
"navigation.footer",
"navigation.indexes",
]
[[project.theme.palette]]