Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(893)

Unified Diff: utils/apidoc/apidoc.dart

Issue 11369076: Revert "Handle (missing) trailing slash in dartdoc" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/create_sdk.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/apidoc.dart
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart
index fe12e4ee7185b48b99a2b10a83c3df11c275cbbb..bbd2f58a6fdd949c9b99cd644f21dfd49c9c03ee 100644
--- a/utils/apidoc/apidoc.dart
+++ b/utils/apidoc/apidoc.dart
@@ -64,7 +64,7 @@ void main() {
}
}
- final libPath = doc.scriptDir.append('../../sdk/');
+ final libPath = doc.scriptDir.append('../../sdk/lib');
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) {
+ if (member is MethodMirror && (member.isConstructor || member.isFactory)) {
final separator = member.constructorName == '' ? '' : '.';
memberName = 'new $typeName$separator${member.constructorName}';
}
« no previous file with comments | « tools/create_sdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698