reconciliation-api / specs

Specifications of the reconciliation API
https://reconciliation-api.github.io/specs/draft/
30 stars 9 forks source link

Move current draft to the 'draft' directory instead of 'latest' #113

Closed wetneb closed 1 year ago

wetneb commented 1 year ago

For #112

fsteeg commented 1 year ago

+1 for moving from latest to draft.

Considering existing links to latest, should we add an HTML redirect from latest/index.html?

wetneb commented 1 year ago

This PR adds a Javascript redirect from latest/index.html to draft/index.html. I am not sure how to turn it into an HTML redirect (not sure if this is supported by GitHub Pages?)

Arguably one could also decide to redirect latest/index.html to 0.2/index.html, if we want to prioritize the latest stable version of the docs. No strong feeling about this.

fsteeg commented 1 year ago

Ah right, sorry, somehow I missed that, I thought latest/index.html was deleted. I've added what I expected as an HTML redirect in https://github.com/reconciliation-api/specs/pull/113/commits/30ac7a6c42f13b0bc971296d7464824bd46a0ecf, which I verified to work with JS disabled locally.

I also like the idea of redirecting latest to 0.2, the latest stable version.