| Index: utils/dartdoc/files.dart
|
| diff --git a/utils/dartdoc/files.dart b/utils/dartdoc/files.dart
|
| index 53a463e37d68402ec5e9fc2953dfbd9954a91d91..a51c78c33ad8918d31178ca5bde874839c1266c3 100644
|
| --- a/utils/dartdoc/files.dart
|
| +++ b/utils/dartdoc/files.dart
|
| @@ -61,6 +61,7 @@ libraryUrl(Library library) => '${sanitize(library.name)}.html';
|
|
|
| /** Gets the URL for the documentation for [type]. */
|
| typeUrl(Type type) {
|
| + if (type.isTop) return '${sanitize(type.library.name)}.html';
|
| // Always get the generic type to strip off any type parameters or arguments.
|
| // If the type isn't generic, genericType returns `this`, so it works for
|
| // non-generic types too.
|
|
|