www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - docarchives.dlang.io - go back in time to previous released versions

reply Seb <seb wilzba.ch> writes:
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
Jul 03
next sibling parent Iain Buclaw <ibuclaw gdcproject.org> writes:
On Tuesday, 4 July 2017 at 01:39:23 UTC, Seb wrote:
 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
Wow, that theme is bringing back moments of nostalgia.
 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)
- Search bar returns results specific to the archive version. - Make it part of dlang site. ;) Iain.
Jul 03
prev sibling parent reply Jack Stouffer <jack jackstouffer.com> writes:
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?
Jul 05
parent Seb <seb wilzba.ch> writes:
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
Jul 05