[Issue 13153] dlang.org: provide version-specific documentation of the language and stdlib
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jul 3 03:08:05 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=13153
greensunny12 at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |greensunny12 at gmail.com
--- Comment #2 from greensunny12 at gmail.com ---
I gave this a try a few weeks ago [1, 2], but mainly aborted it because I ran
out of time as building dlang.org, especially for previous versions, is a huge
PITA.
However, a couple of insights:
- the dlang.org dump is nearly identical between versions (git is amazingly
powerful here, the git repo has 190M vs. 2.6G of extracted archives)
- I used netlify with their free auto-deploy (it's pretty sweet, they
auto-deploy a public git repo on their CDN for free)
- We probably need some kind of version header (maybe a simple `sed` of <body>
can is good enough?)
- As mentioned, there were some troubles with building previous version (so not
all currently "archived" versions are correct yet)
I can have a look at this in the next weeks/months, but maybe @Vladimir already
has a pipeline to build old dlang.org versions?
[1] https://github.com/wilzbach/dlang.org-archives
[2] https://docarchives.dlang.io/v2.074.0/phobos/std_base64.html
--
More information about the Digitalmars-d-bugs
mailing list