-
Notifications
You must be signed in to change notification settings - Fork 149
API docs link broken on downloads archive page for stable 1.13.0 #1528
Comments
@whesse, can you take a look please? |
@keertip Is this intended, that we are publishing the docs in a different format? I'll look at when the change happened, to see what caused it. |
While working out the cause, getting the website link to work would be good. |
Yes, I'll work on fixing it that way. |
The download link on dartlang.org is now working, for 1.13.0. We still need to verify that the zip file downloaded is correct when unzipped, and works like the old one. We also need to fix the script that is putting the zip file in the incorrect place. I think someone is just trying to copy to that directory, not realizing that directories don't really exist in cloud storage, and if the directory doesn't exist, it moves a file to that name. |
Looks OK. |
My change to the promote script to copy the whole api directory is broken, when there is only one file in the source directory that we copy to the target. Reverting it, so we just copy the one file to the new location, in https://codereview.chromium.org/1502253002/ Running the new script leaves the old file there with the "api-docs" name, so we have both an "api-docs" file and an "api-docs" directory. Deleting the file by hand. |
… promote script." This reverts commit f03279a. When there is only one file in the directory, this does not move the file into the target directory, but moves it to replace the target directory with a file. Reverting to the old behavior, with a changed filename, since we are now only copying one file. tools/bots/bot_utils.py:124 is changed to use dartdocs_zipfilename() instead of the deleted apidocs_zipfilename(). BUG=dart-archive/www.dartlang.org#1528 R=ricow@google.com Review URL: https://codereview.chromium.org/1502253002 .
I spent a lot of time fixing the links to the API docs on the new sites. Closing. |
API Doc link is broken for stable channel 1.13.0 and for dev since 1.13.0-dev.5.0
https://www.dartlang.org/downloads/archive/
In 1.12.2 there are two zip files a dart-api-docs.zip (4.9M) and dartdocs-gen-api.zip (37.2M) in the api-docs directory. http://gsdview.appspot.com/dart-archive/channels/stable/release/1.12.2/api-docs/
Now in the stable 1.13.0 the api-docs is a file link "api-docs 18-Nov-2015 22:52 46.1M"
A solution would be just to put the dartdocs-gen-api.zip file under an api-docs directory again, download_archive.dart is looking for doc zip at 'api-docs/dartdocs-gen-api.zip'.
The text was updated successfully, but these errors were encountered: