Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8445050

Browse files
authored
rename llm.txt to llms.txt (#390)
1 parent 943d5fa commit 8445050

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎src/server/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,17 +85,17 @@ async def robots() -> FileResponse:
8585
return FileResponse("static/robots.txt")
8686

8787

88-
@app.get("/llm.txt")
88+
@app.get("/llms.txt")
8989
async def llm_txt() -> FileResponse:
90-
"""Serve the ``llm.txt`` file to provide information about the site to LLMs.
90+
"""Serve the ``llms.txt`` file to provide information about the site to LLMs.
9191
9292
Returns
9393
-------
9494
FileResponse
95-
The ``llm.txt`` file located in the static directory.
95+
The ``llms.txt`` file located in the static directory.
9696
9797
"""
98-
return FileResponse("static/llm.txt")
98+
return FileResponse("static/llms.txt")
9999

100100

101101
# Include routers for modular endpoints

‎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)

AltStyle によって変換されたページ (->オリジナル) /