Skip to content

Commit c9a1a71

Browse files
authored
Add usage examples for Article API and Search API in llms.txt (#56234)
1 parent f8b29bf commit c9a1a71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frame/middleware/llms-txt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ function generateBasicLlmsTxt(): string {
5656
## Docs Content
5757
5858
- [Page List API](${BASE_API_URL}/en/free-pro-team@latest)
59-
- [Article API](https://docs.github.com/api/article)
60-
- [Search API](https://docs.github.com/api/search)
59+
- [Article API](https://docs.github.com/api/article): \`curl "https://docs.github.com/api/article?pathname=/en/get-started/start-your-journey/about-github-and-git"\`
60+
- [Search API](https://docs.github.com/api/search): \`curl "https://docs.github.com/api/search?query=actions&language=en&version=free-pro-team@latest"\`
6161
6262
## Translations
6363

0 commit comments

Comments
 (0)