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

api.dartlang.org is not serving version 2.0.0-dev api docs #65

Closed whesse closed 6 years ago

whesse commented 6 years ago

One problem is that server/scripts/redirector.py needs to check both the major and minor version number in the build_gcs_path function.

Checking everything else, that seems to be the only problem.

whesse commented 6 years ago

@keertip @kevmoo I can temporarily fix by copying them to the old location.

keertip commented 6 years ago

Thanks Bill!

whesse commented 6 years ago

The fix should be: The lines release_num = nums[1] if int(release_num) < 15: shoudl be if nums[0] == 1 and nums[1] < 15:

jcollins-g commented 6 years ago

This version is now live, should be safe to ship new 2.0 SDKs without breaking api.dartlang.org.

dotdoom commented 6 years ago

For whoever is searching for api.dartlang.org for 2.0.0, the link is https://api.dartlang.org/dev/ (redirect), or a specific version is e.g. https://api.dartlang.org/dev/2.0.0-dev.43.0/index.html