pelopo

pelopo

Generate docs markdown similar to ePub

Hi,
Oficial docs got this wonderful feature to download the ePub version that we can chuck to our kindles and read it. Now we are in the age of AI coding assistants and format like ePub is something LLMs do not like to see as context. What they do like is markdown, xml, json.

I propose in the similar fashion to ePub, to have a markdown version of the full docs of Phoenix and LiveView so the scrapers or manually can automatically and easily download the markdown to use as context for AI Coding tools.
Maybe some type of versioning and update daytime markers would be nice too.

Thanks

Most Liked

mayel

mayel

I had the same thought and your post pushed me to make a quick proof-of-concept:
https://github.com/elixir-lang/ex_doc/pull/1976

Last Post!

steffend

steffend

Phoenix Core Team

Related: Can we create an llms.txt file for Phoenix? Similar to Svelte's llms.txt file · Issue #6076 · phoenixframework/phoenix · GitHub

For now, I don’t think Phoenix itself should do anything here. The ExDoc PR was already linked and there’s also https://hex2txt.fly.dev/.

Where Next?

Popular in Proposals: Ideas Top

rmoorman
Current situation Currently, the structure of the HTML returned by phoenix is determined by the layouts (components/layouts/[root,app].ht...
New
MatinDevs
Currently, there are ongoing discussions about enhancing Phoenix LiveView, particularly focusing on improving performance and user experi...
New
jakeprem
Goal: To make JS.patch and JS.navigate more interoperable with JS.push. Scenario: Imagine making a reusable Phoenix component and you wa...
New
dogweather
Hi Phoenix community! First off, huge thanks for an amazing framework - Phoenix has been a joy to work with. I have a small UX suggestio...
New
cgraham
Please change passwordless login from a link to a 6-8 digit code a user can enter. Gen Auth in the latest RC 1.8 of Phoenix defaults ...
New
spicychickensauce
I’ve previously explored what is possible today with hacks to implement view transitions in our apps: I have since created a fork to im...
New
ffloyd
The Problem Currently, if I define a struct in the following way: defmodule MyStruct do # Both x and y will have the FIXED values unti...
New

Other popular topics Top

dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31586 112
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New

We're in Beta

About us Mission Statement