dart-lang / api.dart.dev

Dart API docs
https://api.dart.dev
BSD 3-Clause "New" or "Revised" License
19 stars 17 forks source link

Release agnostic links to API pages not working #62

Closed Sfshaza closed 8 years ago

Sfshaza commented 8 years ago

For example, https://api.dartlang.org/stable/dart-io/Directory-class.html should take you to the latest stable page for the Directory class.

But it's not currently working.

We need this for the docs.

thx

kwalrath commented 8 years ago

Similarly, URLs like https://api.dartlang.org/dart_io/HttpResponse.html are rewritten to https://api.dartlang.org/stable/1.16.0/index.html, but should instead go to https://api.dartlang.org/stable/1.16.0/dart-io/HttpResponse-class.html (as reported in https://github.com/dart-lang/sdk/issues/26433).

This used to work, and it'd be good to get them working again. The .../stable/... links, however, are more important.

@keertip can you help us figure out how to get the stable links working again?

kwalrath commented 8 years ago

I just ran into this problem again with the angular.io/dart docs, which have to link to https://api.dartlang.org/stable/1.16.0/dart-core/Map-class.html. It's a real problem to have to point people to a specific version of Dart when you just want the latest stable docs!