Skip to content

Commit 2d1f0f6

Browse files
committed
rename llm.txt to llms.txt (coderamp-labs#390)
1 parent 523f14c commit 2d1f0f6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/server/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def robots() -> FileResponse:
8989
return FileResponse("static/robots.txt")
9090

9191

92-
@app.get("/llm.txt")
92+
@app.get("/llms.txt")
9393
async def llm_txt() -> FileResponse:
9494
"""Serve the llm.txt file to provide information about the site to LLMs.
9595
@@ -102,7 +102,7 @@ async def llm_txt() -> FileResponse:
102102
- **FileResponse**: The ``llm.txt`` file located in the static directory
103103
104104
"""
105-
return FileResponse("static/llm.txt")
105+
return FileResponse("static/llms.txt")
106106

107107

108108
@app.get("/docs", response_class=HTMLResponse, include_in_schema=False)

src/server/templates/components/navbar.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
</div>
1212
{# Navigation with updated styling #}
1313
<nav class="flex items-center space-x-6">
14-
<a href="/llm.txt" class="link-bounce flex items-center text-gray-900">
14+
<a href="/llms.txt" class="link-bounce flex items-center text-gray-900">
1515
<span class="badge-new">NEW</span>
16-
/llm.txt
16+
/llms.txt
1717
</a>
1818
{# GitHub link #}
1919
<div class="flex items-center gap-2">
File renamed without changes.

0 commit comments

Comments
 (0)