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

Issue 11412144: HTML human writable docs working end to end!... mostly... (Closed)

Created:
8 years, 1 month ago by Andrei Mouravski
Modified:
8 years ago
Reviewers:
Bob Nystrom, sra1, blois
CC:
reviews_dartlang.org
Visibility:
Public.

Description

HTML human writable docs working end to end!... mostly... Included is the first bit of hand-written HTML docs in MenuElement (since it was first on the list of files.) Note that this CL is a super set of https://codereview.chromium.org/11280133/ Things are still very, very fragile, but it works! Committed: https://code.google.com/p/dart/source/detail?r=15360

Patch Set 1 #

Patch Set 2 : Removed stupid thing that got in there somehow. #

Patch Set 3 : Fixed two small issues. #

Total comments: 22

Patch Set 4 : Removed the extracter from go.sh #

Patch Set 5 : Added svg. #

Patch Set 6 : Code review changes. #

Patch Set 7 : Updated the location of library. #

Patch Set 8 : All of Bob's code review changes.' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3511 lines, -14 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 2 3 4 5 2 chunks +11 lines, -4 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 2 chunks +1 line, -9 lines 0 comments Download
A sdk/lib/html/docs/html_docs.json View 1 2 3 4 5 6 7 1 chunk +1634 lines, -0 lines 0 comments Download
A sdk/lib/html/docs/svg_docs.json View 1 2 3 4 1 chunk +606 lines, -0 lines 0 comments Download
M sdk/lib/html/scripts/dartdomgenerator.py View 1 2 3 4 5 6 4 chunks +18 lines, -1 line 0 comments Download
M sdk/lib/html/scripts/htmlrenamer.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 2 comments Download
A tools/html_json_doc/bin/html_json_doc.dart View 1 2 3 4 5 6 7 1 chunk +69 lines, -0 lines 0 comments Download
A tools/html_json_doc/lib/html_to_json.dart View 1 2 3 4 5 6 7 1 chunk +314 lines, -0 lines 0 comments Download
A tools/html_json_doc/lib/json_to_html.dart View 1 2 3 4 5 6 7 1 chunk +151 lines, -0 lines 0 comments Download
A tools/html_json_doc/test/html_json_doc_test.dart View 1 2 3 4 5 6 7 1 chunk +103 lines, -0 lines 0 comments Download
A tools/html_json_doc/test/test_data/html_to_json/html_to_json_test_golden_output.json View 1 2 3 4 5 6 1 chunk +79 lines, -0 lines 0 comments Download
A tools/html_json_doc/test/test_data/html_to_json/test_html_input.dart View 1 2 3 4 5 6 1 chunk +80 lines, -0 lines 0 comments Download
A tools/html_json_doc/test/test_data/html_to_json/test_html_input2.dart View 1 2 3 4 5 6 1 chunk +79 lines, -0 lines 0 comments Download
A tools/html_json_doc/test/test_data/json_to_html/test_html_input.dart View 1 2 3 4 5 6 1 chunk +62 lines, -0 lines 0 comments Download
A tools/html_json_doc/test/test_data/json_to_html/test_html_input2.dart View 1 2 3 4 5 6 1 chunk +65 lines, -0 lines 0 comments Download
A tools/html_json_doc/test/test_output/html_to_json_test.json View 1 2 3 4 5 6 1 chunk +79 lines, -0 lines 0 comments Download
A tools/html_json_doc/test/test_output/test_html_input.dart View 1 2 3 4 5 6 1 chunk +80 lines, -0 lines 0 comments Download
A tools/html_json_doc/test/test_output/test_html_input2.dart View 1 2 3 4 5 6 1 chunk +79 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Andrei Mouravski
8 years, 1 month ago (2012-11-22 04:07:44 UTC) #1
blois
https://codereview.chromium.org/11412144/diff/4001/sdk/lib/html/scripts/dartdomgenerator.py File sdk/lib/html/scripts/dartdomgenerator.py (right): https://codereview.chromium.org/11412144/diff/4001/sdk/lib/html/scripts/dartdomgenerator.py#newcode175 sdk/lib/html/scripts/dartdomgenerator.py:175: print 'Extracting documentation from HTML.' _logger.info rather than print. ...
8 years ago (2012-11-26 20:07:43 UTC) #2
sra1
https://codereview.chromium.org/11412144/diff/4001/tools/html-json-doc/lib/HtmlToJson.dart File tools/html-json-doc/lib/HtmlToJson.dart (right): https://codereview.chromium.org/11412144/diff/4001/tools/html-json-doc/lib/HtmlToJson.dart#newcode290 tools/html-json-doc/lib/HtmlToJson.dart:290: new List<String>(depth + 1).map((e) => ''), ' '); Call ...
8 years ago (2012-11-26 20:36:57 UTC) #3
blois
https://codereview.chromium.org/11412144/diff/4001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/11412144/diff/4001/sdk/lib/html/dart2js/html_dart2js.dart#newcode72 sdk/lib/html/dart2js/html_dart2js.dart:72: }// Copyright (c) 2012, the Dart project authors. Please ...
8 years ago (2012-11-26 21:50:44 UTC) #4
Andrei Mouravski
Sorry for a bajillion patches and all the renames. PTAL. https://codereview.chromium.org/11412144/diff/4001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/11412144/diff/4001/sdk/lib/html/dart2js/html_dart2js.dart#newcode72 ...
8 years ago (2012-11-26 23:24:11 UTC) #5
Andrei Mouravski
Okay, it should be good now.
8 years ago (2012-11-27 00:18:29 UTC) #6
blois
https://codereview.chromium.org/11412144/diff/13001/sdk/lib/html/scripts/htmlrenamer.py File sdk/lib/html/scripts/htmlrenamer.py (right): https://codereview.chromium.org/11412144/diff/13001/sdk/lib/html/scripts/htmlrenamer.py#newcode257 sdk/lib/html/scripts/htmlrenamer.py:257: "MenuElement.compact", Why this change?
8 years ago (2012-11-27 00:21:43 UTC) #7
Andrei Mouravski
PTAL. https://codereview.chromium.org/11412144/diff/13001/sdk/lib/html/scripts/htmlrenamer.py File sdk/lib/html/scripts/htmlrenamer.py (right): https://codereview.chromium.org/11412144/diff/13001/sdk/lib/html/scripts/htmlrenamer.py#newcode257 sdk/lib/html/scripts/htmlrenamer.py:257: "MenuElement.compact", On 2012/11/27 00:21:43, blois wrote: > Why ...
8 years ago (2012-11-27 00:30:14 UTC) #8
blois
8 years ago (2012-11-27 00:31:44 UTC) #9
lgtm

Suppose it's good for now, I'm still concerned about the fragility of the JSON
file.

Powered by Google App Engine
This is Rietveld 408576698