You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Configuration for the llms.txt generation script
2
+
# (src/workflows/generate-llms-txt.ts).
3
+
#
4
+
# Writers can edit this file to change what appears in the generated
5
+
# llms.txt for github.com without modifying TypeScript code.
6
+
#
7
+
# Fields are ordered to match the output in the generated file.
8
+
9
+
# Header text at the top of llms.txt
10
+
header: |
11
+
# GitHub
12
+
13
+
> GitHub is a developer platform for building, shipping, and maintaining software. It provides cloud-based Git repository hosting, CI/CD via GitHub Actions, project management with Issues and Projects, code review via pull requests, AI-powered development with GitHub Copilot, and APIs (REST and GraphQL) for automation and integration.
14
+
15
+
GitHub documentation is available at https://docs.github.com. The content covers GitHub.com (cloud), GitHub Enterprise Server, and GitHub Enterprise Cloud.
16
+
17
+
# Programmatic access section
18
+
api_section: |
19
+
## Programmatic access (retrieve markdown via APIs instead of parsing HTML)
20
+
21
+
To retrieve full article content, page lists, or search results programmatically, please use the APIs below. These APIs return structured markdown and JSON and are the preferred way for LLMs and automated tools to access GitHub documentation.
22
+
23
+
- [Page List API](https://docs.github.com/api/pagelist/en/free-pro-team@latest): Returns every docs page path for a given language and version
24
+
- [Article API](https://docs.github.com/api/article): Returns the full rendered content of any docs page as markdown. Example: `curl "https://docs.github.com/api/article?pathname=/en/get-started/start-your-journey/about-github-and-git"`
25
+
- [Search API](https://docs.github.com/api/search): Search across all docs content. Example: `curl "https://docs.github.com/api/search?query=actions&language=en&version=free-pro-team@latest"`
26
+
27
+
# Section heading for pinned pages
28
+
pinned_section_heading: |
29
+
Building with GitHub (for coding agents and automation)
30
+
31
+
# Pinned pages for coding agents and automation — always included
32
+
# regardless of popularity. Edit this list to add or remove pages.
0 commit comments