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

Unified Diff: utils/apidoc/mdn/postProcess.dart

Issue 1361163002: remove docgen remnants from repo, update CHANGELOG (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: remove unused code Created 5 years, 3 months 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 | « utils/apidoc/mdn/obsolete.json ('k') | utils/apidoc/mdn/prettyPrint.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/mdn/postProcess.dart
diff --git a/utils/apidoc/mdn/postProcess.dart b/utils/apidoc/mdn/postProcess.dart
deleted file mode 100644
index ee61723a0aab43464aaa72fd35e6aa80c7122a1c..0000000000000000000000000000000000000000
--- a/utils/apidoc/mdn/postProcess.dart
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * Read database.json,
- * write database.filtered.json (with "best" entries)
- * and obsolete.json (with entries marked obsolete).
- */
-
-library postProcess;
-
-import 'dart:convert';
-import 'dart:io';
-import 'util.dart';
-
-void main() {
- // Database of code documentation.
- Map<String, List> database = JSON.decode(
- new File('output/database.json').readAsStringSync());
- final filteredDb = {};
- final obsolete = [];
- for (String type in database.keys) {
- final entry = pickBestEntry(database[type], type);
- if (entry == null) {
- print("Can't find ${type} in database. Skipping.");
- continue;
- }
- filteredDb[type] = entry;
- if (entry.containsKey("members")) {
- Map members = getMembersMap(entry);
- for (String name in members.keys) {
- Map memberData = members[name];
- if (memberData['obsolete'] == true) {
- obsolete.add({'type': type, 'member' : name});
- }
- }
- }
- }
- writeFileSync("output/database.filtered.json", JSON.encode(filteredDb));
- writeFileSync("output/obsolete.json", JSON.encode(obsolete));
-}
« no previous file with comments | « utils/apidoc/mdn/obsolete.json ('k') | utils/apidoc/mdn/prettyPrint.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698