Docs site to Markdown for RAG
mohamed senator
Turn a whole documentation site into clean Markdown chunks for your RAG pipeline or vector database. This example reads the Apify Academy sitemap, keeps only /academy/ pages, strips menus and cookie banners, and splits each page into ~800-token chunks with their heading path. Swap in your own docs URL and filter to index any public docs site.
Input
Output fields
Sign up on Apify or log in
The AI-Ready Webpage Extractor Actor is ready to run with the inputs already set for "Docs site to Markdown for RAG". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Docs site to Markdown for RAG" task
The AI-Ready Webpage Extractor Actor will start running based on the input automatically. You can also change all the input fields, like URLs, crawl mode, and more, to match your specific use case.
Receive the "Docs site to Markdown for RAG" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, title, and chunks.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Docs site to Markdown for RAG" task via API.
