From e65fc9d46b34ee2aa0f21920a918bb3ba77f20be Mon Sep 17 00:00:00 2001 From: ix-56h Date: Sun, 6 Jul 2025 23:12:40 +0200 Subject: [PATCH] rename llm.txt to llms.txt --- src/server/main.py | 8 ++++---- src/server/templates/components/navbar.jinja | 4 ++-- src/static/{llm.txt => llms.txt} | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename src/static/{llm.txt => llms.txt} (100%) diff --git a/src/server/main.py b/src/server/main.py index f7293d1b..8746923b 100644 --- a/src/server/main.py +++ b/src/server/main.py @@ -85,17 +85,17 @@ async def robots() -> FileResponse: return FileResponse("static/robots.txt") -@app.get("/llm.txt") +@app.get("/llms.txt") async def llm_txt() -> FileResponse: - """Serve the ``llm.txt`` file to provide information about the site to LLMs. + """Serve the ``llms.txt`` file to provide information about the site to LLMs. Returns ------- FileResponse - The ``llm.txt`` file located in the static directory. + The ``llms.txt`` file located in the static directory. """ - return FileResponse("static/llm.txt") + return FileResponse("static/llms.txt") # Include routers for modular endpoints diff --git a/src/server/templates/components/navbar.jinja b/src/server/templates/components/navbar.jinja index b64de0df..b440ba98 100644 --- a/src/server/templates/components/navbar.jinja +++ b/src/server/templates/components/navbar.jinja @@ -11,9 +11,9 @@ {# Navigation with updated styling #}