rename llm.txt to llms.txt (#390)

This commit is contained in:
Zarial 2025-07-06 23:19:19 +02:00 committed by GitHub
parent 943d5faaec
commit 84450506c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -11,9 +11,9 @@
</div>
{# Navigation with updated styling #}
<nav class="flex items-center space-x-6">
<a href="/llm.txt" class="link-bounce flex items-center text-gray-900">
<a href="/llms.txt" class="link-bounce flex items-center text-gray-900">
<span class="badge-new">NEW</span>
/llm.txt
/llms.txt
</a>
{# GitHub link #}
<div class="flex items-center gap-2">