Re:Apple's DocC is excellent, but unusable for open source p...
by sudhirj on Wednesday June 30, 2021 @08:51AM
(#27687844)
Pull the HTML and CSS out into a Jekyll layout.
Re:Apple's DocC is excellent, but unusable for open source p...
by masklinn on Wednesday June 30, 2021 @10:23AM
(#27688915)
What HTML and CSS? It’s a giant web application, are you goings to crawl the entire thing using puppeteer to extract the content then make up pages and synthesise links?
All the HTML page does is load the JS application, and tell you to get fucked if you don’t have js enabled.
Re:Apple's DocC is excellent, but unusable for open source p...
by sudhirj on Wednesday June 30, 2021 @12:02PM
(#27690145)
Ok, last comment, not sure I want to argue about this. It looks like an application, but it's not. It's a bunch of HTML, CSS and JS packaged in a specific way (using its own spec), but it's not an executable. It's just arcane. It can be opened and expanded in the same way that a .epub book can be opened and hosted on a static website like GitHub Pages. It's not obvious or easy, but it can be done.
Apple chose a packaging format, and they packaged it. It's not an executable. EPUB is a closer example. Can be opened, can be parsed, can be re-packaged to whatever format anyone wants.
That’s exactly the issue outlined in the article.
Now how do you do that if you don’t have a handle on url rewriting? What are your “a few scripts” going to do exactly?