Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/server/templates/components/navbar.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
File renamed without changes.
Loading