Skip to content

Commit 95ea8df

Browse files
committed
chore(deploy): document LLM-friendly markdown generation
1 parent bf273e9 commit 95ea8df

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

DOCS-DEPLOYING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Deploying InfluxData documentation
2+
3+
## Lambda@Edge Markdown Generator
4+
5+
docs.influxdata.com uses a Lambda@Edge function for on-demand markdown generation from HTML documentation. The generated markdown files are an alternative rendering of the documentation designed to be used by generative engines such as LLMs, coding assistants, and agents.
6+
7+
### Overview
8+
9+
The Lambda@Edge function intercepts CloudFront requests for `.md` files (primarily served for LLM consumption) and generates them on-demand from S3-hosted HTML content.
10+
11+
### Architecture
12+
13+
```
14+
User Request (*.md)
15+
16+
CloudFront Distribution
17+
18+
Lambda@Edge (Origin Request)
19+
20+
Fetch HTML from S3
21+
22+
Convert to Markdown
23+
24+
Return to CloudFront (cached 1hr)
25+
26+
User receives Markdown
27+
```
28+
29+
See the `influxdata/docs-tooling` private repository for details.

0 commit comments

Comments
 (0)