That's a great idea. I wonder if any major library (or language) has attempted a version their site in that style.

I'd love to experiment with this myself.

I've been trying to collect Literate Programs collected as books at:

https://www.goodreads.com/review/list/21394355-william-adams...

Note that ICC, a C compiler, is one:

https://www.goodreads.com/book/show/522102.Retargetable_C_Co...

Note that one can look through projects tagged as Literate Programming by using the topics view:

https://github.com/topics/literate-programming

might be there's something useful there.