Thread overview
docarchives.dlang.io - go back in time to previous released versions of dlang.org
Jul 04, 2017
Seb
Jul 04, 2017
Iain Buclaw
Jul 05, 2017
Jack Stouffer
Jul 06, 2017
Seb
July 04, 2017
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
July 04, 2017
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.

July 05, 2017
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?
July 06, 2017
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