Re: docarchives.dlang.io - go back in time to previous released versions of dlang.org

2017-07-05 Thread Seb via Digitalmars-d-announce

On Wednesday, 5 July 2017 at 18:38:33 UTC, Jack Stouffer wrote:

On Tuesday, 4 July 2017 at 01:39:23 UTC, Seb wrote:

...


Thanks for doing this.

IMO there should be a link under the "switch to pre-release." 
link in the current docs.


Maybe replace it with a dropdown to select the version from 
2.066 to pre-release?



https://github.com/dlang/dlang.org/pull/1801


Re: docarchives.dlang.io - go back in time to previous released versions of dlang.org

2017-07-05 Thread Jack Stouffer via Digitalmars-d-announce

On Tuesday, 4 July 2017 at 01:39:23 UTC, Seb wrote:

...


Thanks for doing this.

IMO there should be a link under the "switch to pre-release." 
link in the current docs.


Maybe replace it with a dropdown to select the version from 2.066 
to pre-release?


docarchives.dlang.io - go back in time to previous released versions of dlang.org

2017-07-03 Thread Seb via Digitalmars-d-announce

Hi all,

I remember that especially long-time users of GDC and LDC 
complained from time to time about non-versioned docs. There's a 
simple solution now: docarchives.dlang.io and contains snapshots 
from dlang.org at every release from 2.074.0 to 2.066.0:


https://docarchives.dlang.io/v2.074.0
...
https://docarchives.dlang.io/v2.070.0
...
https://docarchives.dlang.io/v2.066.0

Ideas for the future:
- Add a header bar to allow switching between versions
- Use the docs.json files to generate an aggregated symbol and 
argument lifetime for the current Ddox (e.g. symbol A introduced 
in X, argument B introduced in Y)


It's deployed on Netlify's Global CDN - so speed shouldn't be an 
issue ;-)


Source: https://github.com/wilzbach/dlang.org-archives (contains 
the snapshots)


Cheers,

Seb