News for hackers. Stuff that matters.
Re:Apple's DocC is excellent, but unusable for open source p... by ironmagma on Wednesday June 30, 2021 @02:37PM (#27692022)
There is no way anyone in their right mind would call main.js[1] easy to understand. It's basically complete chaos. Guillaume is making a good effort to clean up this inherited code slowly, but the interactions are still kind of broken and will be until this code is rewritten in a sane pattern such as MVU. FWIW, I have been working towards this for the past year.

[1] https://github.com/rust-lang/rust/blob/master/src/librustdoc...

Re:Apple's DocC is excellent, but unusable for open source p... by easrng on Wednesday June 30, 2021 @08:41PM (#27695170)
Looks easy to understand to me, it would be better if it was set up as modules instead of a single file full of IIFEs but it looks pretty good as is.
Re:Apple's DocC is excellent, but unusable for open source p... by Zababa on Wednesday June 30, 2021 @08:51PM (#27695233)
You're right, as a whole it's not trivial. I remember reading the search part and found it not particularly hard, but I missed the big picture. Thank you for your work!