Index: utils/apidoc/apidoc.dart |
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart |
index bbd2f58a6fdd949c9b99cd644f21dfd49c9c03ee..fe12e4ee7185b48b99a2b10a83c3df11c275cbbb 100644 |
--- a/utils/apidoc/apidoc.dart |
+++ b/utils/apidoc/apidoc.dart |
@@ -64,7 +64,7 @@ void main() { |
} |
} |
- final libPath = doc.scriptDir.append('../../sdk/lib'); |
+ final libPath = doc.scriptDir.append('../../sdk/'); |
final pkgPath = doc.scriptDir.append('../../pkg/'); |
doc.cleanOutputDirectory(outputDir); |
@@ -553,7 +553,7 @@ class Apidoc extends doc.Dartdoc { |
String _linkMember(MemberMirror member) { |
final typeName = member.owner.simpleName; |
var memberName = '$typeName.${member.simpleName}'; |
- if (member is MethodMirror && (member.isConstructor || member.isFactory)) { |
+ if (member is MethodMirror && member.isConstructor) { |
final separator = member.constructorName == '' ? '' : '.'; |
memberName = 'new $typeName$separator${member.constructorName}'; |
} |