Internal Service: generate_ai_site
Generates all static files for the AI-optimized website.Function Signature
Parameters
| Parameter | Type | Description |
|---|---|---|
url | str | Source website URL |
organize_result | dict | Result from organize_with_llm |
scraped_pages | list | Original scraped pages for replicas |
Generated Files
| File | Description |
|---|---|
index.html | Main landing page |
llms.txt | LLM-readable content file |
sitemap.xml | XML sitemap |
robots.txt | Robots directives |
data.json | Structured data |
/what-is-* | Q&A pages |
/pages/* | Markdown replica pages |