Skip to content

Commit e377c02

Browse files
committed
Mention support for accept/markdown
1 parent 332699f commit e377c02

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

blog/2026-03-10-react-navigation-8.0-march-progress.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ See [Devtools documentation](/docs/8.x/devtools#uselogger) for more details.
222222
We have made many improvements to our documentation site to make it more LLM friendly:
223223

224224
- Documentation pages now have a markdown version by appending `.md` to the path (e.g. [https://reactnavigation.org/docs/8.x/getting-started.md](https://reactnavigation.org/docs/8.x/getting-started.md))
225+
- If a client sends an `Accept: text/markdown` header, the markdown version of the page will be returned instead of HTML
225226
- Documentation pages now have a "Copy page" button to copy the content of the current page as markdown, or open in ChatGPT and Claude
226227
- A list of all documentation pages and full documentation content is available at [`llms.txt`](pathname:///llms.txt) and [`llms-full.txt`](pathname:///llms-full.txt) respectively
227228

versioned_docs/version-7.x/llms.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ sidebar_label: LLMs
66

77
We provide documentation in various formats that large language models (LLMs) can consume.
88

9-
On each page, you can click the "Copy page" button at the top to copy the content in markdown format.
9+
You can get the markdown version of any documentation page in the following ways:
10+
11+
- Click the "Copy page" button at the top of any page to copy the content in markdown format.
12+
- Append `.md` to the path (e.g. [https://reactnavigation.org/docs/8.x/getting-started.md](https://reactnavigation.org/docs/8.x/getting-started.md)).
13+
- Send an `Accept: text/markdown` header to get the markdown version instead of HTML.
1014

1115
In addition, we support the [llms.txt](https://llmstxt.org/) initiative and provide the following files for easy access.
1216

versioned_docs/version-8.x/llms.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ sidebar_label: LLMs
66

77
We provide documentation in various formats that large language models (LLMs) can consume.
88

9-
On each page, you can click the "Copy page" button at the top to copy the content in markdown format.
9+
You can get the markdown version of any documentation page in the following ways:
10+
11+
- Click the "Copy page" button at the top of any page to copy the content in markdown format.
12+
- Append `.md` to the path (e.g. [https://reactnavigation.org/docs/8.x/getting-started.md](https://reactnavigation.org/docs/8.x/getting-started.md)).
13+
- Send an `Accept: text/markdown` header to get the markdown version instead of HTML.
1014

1115
In addition, we support the [llms.txt](https://llmstxt.org/) initiative and provide the following files for easy access.
1216

0 commit comments

Comments
 (0)