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

Unified Diff: pkg/docgen/lib/docgen.dart

Issue 58573002: Fix triple slash comments new paragraph spacing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/lib/docgen.dart
diff --git a/pkg/docgen/lib/docgen.dart b/pkg/docgen/lib/docgen.dart
index 4c8ffe74ecf7d9497451acfa2352fe6678b02de0..239d08a76056b204a6280ae97ef76727ac68e39f 100644
--- a/pkg/docgen/lib/docgen.dart
+++ b/pkg/docgen/lib/docgen.dart
@@ -343,10 +343,12 @@ void _documentLibraries(List<LibraryMirror> libs, {bool includeSdk: false,
};
}
_writeToFile(JSON.encode(libraryMap), 'library_list.json');
+
// Output libraries and classes to file after all information is generated.
filteredEntities.where((e) => e is Class || e is Library).forEach((output) {
_writeIndexableToFile(output, outputToYaml);
});
+
// Outputs all the qualified names documented with their type.
// This will help generate search results.
_writeToFile(filteredEntities.map((e) =>
@@ -450,7 +452,7 @@ String _commentToHtml(DeclarationMirror mirror) {
if (commentText == null) {
commentText = comment.trimmedText;
} else {
- commentText = '$commentText ${comment.trimmedText}';
+ commentText = '$commentText\n${comment.trimmedText}';
}
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698