cityjson / website

Source code for https://cityjson.org
MIT License
3 stars 9 forks source link

Link to a section of 'latest' specs #2

Closed balazsdukai closed 5 years ago

balazsdukai commented 5 years ago

I would like to use permanent link to a specific section of latest version of the specs:

For example: https://www.cityjson.org/specs/latest/#transform-object

But this redirects me to the root: https://www.cityjson.org/specs/1.0.0

While using a specific version works as expected: https://www.cityjson.org/specs/1.0.0/#transform-object

hugoledoux commented 5 years ago

I wanted to do this, but I don't know how 🤷‍♂️

One option is to have /specs/#transform-object as the latest, and for previous version the number is added.

balazsdukai commented 5 years ago

Yes, this is good: "One option is to have /specs/#transform-object as the latest, and for previous version the number is added."

hugoledoux commented 5 years ago

fixed in 0a6c3fcbd2eb1dce6e4500f3e050f88478476d61