diff --git a/server.py b/server.py
index b178bd6..391c2f4 100644
--- a/server.py
+++ b/server.py
@@ -6443,6 +6443,87 @@ async def download_client():
)
+# ============================================================================
+# Help / Documentation Routes
+# ============================================================================
+
+DOCS_DIR = Path(__file__).parent
+COMMON_DOCS_DIR = Path(__file__).parent.parent / "common"
+
+DOCS_MAP = {
+ "l1": ("L1 Server (Celery)", DOCS_DIR / "README.md"),
+ "common": ("Common Library", COMMON_DOCS_DIR / "README.md"),
+}
+
+
+@app.get("/help", response_class=HTMLResponse)
+async def help_index(request: Request):
+ """Documentation index page."""
+ user = await get_optional_user(request)
+ username = user.username if user else None
+
+ # Build doc links
+ doc_links = ""
+ for key, (title, path) in DOCS_MAP.items():
+ if path.exists():
+ doc_links += f'''
+
+ View documentation{title}
+