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

Issue 9555013: Get dartdoc in the SDK and working correctly. (Closed)

Created:
8 years, 9 months ago by Bob Nystrom
Modified:
8 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Get dartdoc in the SDK and working correctly. Committed: https://code.google.com/p/dart/source/detail?r=4905

Patch Set 1 #

Total comments: 3

Patch Set 2 : ReplaceInFile -> ReplaceInFiles. #

Patch Set 3 : Move dartdoc from utils/ to lib/ in the repo. #

Patch Set 4 : Fix merge error. #

Total comments: 2

Patch Set 5 : Update copyright date. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -4612 lines) Patch
M frog/presubmit.py View 1 2 1 chunk +6 lines, -2 lines 1 comment Download
M frog/reader.dart View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
A + lib/dartdoc/.gitignore View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + lib/dartdoc/README.txt View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + lib/dartdoc/ast.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + lib/dartdoc/block_parser.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + lib/dartdoc/classify.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + lib/dartdoc/client-live-nav.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + lib/dartdoc/client-shared.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + lib/dartdoc/client-static.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + lib/dartdoc/comment_map.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + lib/dartdoc/dartdoc View 1 2 3 4 3 chunks +6 lines, -8 lines 0 comments Download
A + lib/dartdoc/dartdoc.dart View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
A + lib/dartdoc/html_renderer.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + lib/dartdoc/inline_parser.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + lib/dartdoc/markdown.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + lib/dartdoc/static/body-bg.png View 1 2 Binary file 0 comments Download
A + lib/dartdoc/static/class.png View 1 2 Binary file 0 comments Download
A + lib/dartdoc/static/content-bg.png View 1 2 Binary file 0 comments Download
A + lib/dartdoc/static/dart-logo-small.png View 1 2 Binary file 0 comments Download
A + lib/dartdoc/static/exception.png View 1 2 Binary file 0 comments Download
A + lib/dartdoc/static/external-link.png View 1 2 Binary file 0 comments Download
A + lib/dartdoc/static/favicon.ico View 1 2 Binary file 0 comments Download
A + lib/dartdoc/static/header-bg.png View 1 2 Binary file 0 comments Download
A + lib/dartdoc/static/interface.png View 1 2 Binary file 0 comments Download
A + lib/dartdoc/static/library.png View 1 2 Binary file 0 comments Download
A + lib/dartdoc/static/styles.css View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + lib/dartdoc/utils.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + tests/utils/src/DartdocTest.dart View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
A + tests/utils/src/MarkdownTest.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + tests/utils/src/dummy.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M tests/utils/utils.status View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M tools/create_sdk.py View 1 2 3 10 chunks +61 lines, -22 lines 0 comments Download
M tools/test.dart View 1 2 2 chunks +0 lines, -4 lines 0 comments Download
M utils/apidoc/apidoc View 1 2 3 chunks +5 lines, -10 lines 0 comments Download
M utils/apidoc/apidoc.dart View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M utils/apidoc/html_diff.dart View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
D utils/dartdoc/.gitignore View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
D utils/dartdoc/README.txt View 1 2 1 chunk +0 lines, -84 lines 0 comments Download
D utils/dartdoc/ast.dart View 1 2 1 chunk +0 lines, -63 lines 0 comments Download
D utils/dartdoc/block_parser.dart View 1 2 1 chunk +0 lines, -436 lines 0 comments Download
D utils/dartdoc/classify.dart View 1 2 1 chunk +0 lines, -249 lines 0 comments Download
D utils/dartdoc/client-live-nav.dart View 1 2 1 chunk +0 lines, -110 lines 0 comments Download
D utils/dartdoc/client-shared.dart View 1 2 1 chunk +0 lines, -33 lines 0 comments Download
D utils/dartdoc/client-static.dart View 1 2 1 chunk +0 lines, -18 lines 0 comments Download
D utils/dartdoc/comment_map.dart View 1 2 1 chunk +0 lines, -122 lines 0 comments Download
M utils/dartdoc/dartdoc View 1 2 1 chunk +0 lines, -61 lines 0 comments Download
M utils/dartdoc/dartdoc.dart View 1 2 1 chunk +0 lines, -1218 lines 0 comments Download
D utils/dartdoc/html_renderer.dart View 1 2 1 chunk +0 lines, -59 lines 0 comments Download
D utils/dartdoc/htmldoc View 1 chunk +0 lines, -33 lines 0 comments Download
D utils/dartdoc/inline_parser.dart View 1 2 1 chunk +0 lines, -395 lines 0 comments Download
D utils/dartdoc/markdown.dart View 1 2 1 chunk +0 lines, -111 lines 0 comments Download
D utils/dartdoc/static/body-bg.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D utils/dartdoc/static/class.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D utils/dartdoc/static/content-bg.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D utils/dartdoc/static/dart-logo-small.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D utils/dartdoc/static/exception.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D utils/dartdoc/static/external-link.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D utils/dartdoc/static/favicon.ico View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D utils/dartdoc/static/header-bg.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D utils/dartdoc/static/interface.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D utils/dartdoc/static/library.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D utils/dartdoc/static/styles.css View 1 2 1 chunk +0 lines, -383 lines 0 comments Download
D utils/dartdoc/utils.dart View 1 2 1 chunk +0 lines, -79 lines 0 comments Download
D utils/tests/dartdoc/dartdoc.status View 1 2 1 chunk +0 lines, -17 lines 0 comments Download
D utils/tests/dartdoc/src/dartdoc_tests.dart View 1 2 1 chunk +0 lines, -224 lines 0 comments Download
D utils/tests/dartdoc/src/dummy.dart View 1 2 1 chunk +0 lines, -18 lines 0 comments Download
D utils/tests/dartdoc/src/markdown_tests.dart View 1 2 1 chunk +0 lines, -806 lines 0 comments Download
D utils/tests/dartdoc/test_config.dart View 1 2 1 chunk +0 lines, -26 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Bob Nystrom
Note that apidoc isn't here because I don't think we expect that to be part ...
8 years, 9 months ago (2012-03-01 01:32:52 UTC) #1
dgrove
Can you please make the move from utils/dartdoc to lib/dartdoc ? https://chromiumcodereview.appspot.com/9555013/diff/1/tools/create_sdk.py File tools/create_sdk.py (right): ...
8 years, 9 months ago (2012-03-01 08:38:00 UTC) #2
Bob Nystrom
Thanks! I'd like to move dartdoc (and maybe apidoc) in the repo too, but I'm ...
8 years, 9 months ago (2012-03-01 23:03:27 UTC) #3
Bob Nystrom
OK, moved dartdoc over to lib and wired up the tests the same way the ...
8 years, 9 months ago (2012-03-02 21:36:51 UTC) #4
dgrove
lgtm https://chromiumcodereview.appspot.com/9555013/diff/6002/lib/dartdoc/ast.dart File lib/dartdoc/ast.dart (right): https://chromiumcodereview.appspot.com/9555013/diff/6002/lib/dartdoc/ast.dart#newcode1 lib/dartdoc/ast.dart:1: // Copyright (c) 2011, the Dart project authors. ...
8 years, 9 months ago (2012-03-02 21:48:29 UTC) #5
Bob Nystrom
Thanks! https://chromiumcodereview.appspot.com/9555013/diff/6002/lib/dartdoc/ast.dart File lib/dartdoc/ast.dart (right): https://chromiumcodereview.appspot.com/9555013/diff/6002/lib/dartdoc/ast.dart#newcode1 lib/dartdoc/ast.dart:1: // Copyright (c) 2011, the Dart project authors. ...
8 years, 9 months ago (2012-03-02 21:54:28 UTC) #6
Ivan Posva
I don't think dartdoc is a general library that should live in lib/. Granted it ...
8 years, 9 months ago (2012-03-02 22:58:55 UTC) #7
Bob Nystrom
On 2012/03/02 22:58:55, Ivan Posva wrote: > I don't think dartdoc is a general library ...
8 years, 9 months ago (2012-03-02 23:07:42 UTC) #8
ahe
On 2012/03/02 23:07:42, Bob Nystrom wrote: > On 2012/03/02 22:58:55, Ivan Posva wrote: > > ...
8 years, 9 months ago (2012-03-03 08:57:16 UTC) #9
ahe
https://chromiumcodereview.appspot.com/9555013/diff/10070/frog/presubmit.py File frog/presubmit.py (right): https://chromiumcodereview.appspot.com/9555013/diff/10070/frog/presubmit.py#newcode153 frog/presubmit.py:153: cmd = test_cmd + ['--component=vm', 'utils'] The tests are ...
8 years, 9 months ago (2012-03-03 08:59:15 UTC) #10
dgrove
It is an API and a tool. Once we have a mirror implementation, then that ...
8 years, 9 months ago (2012-03-03 10:58:02 UTC) #11
ahe
8 years, 9 months ago (2012-03-03 11:00:51 UTC) #12
We need to provide dart docs for http://dartlang.org and perhaps the Dart
Editor.

Both of these should be able to do with a tool.

What else are you thinking about?

Cheers,
Peter

On 2012/03/03 10:58:02, dgrove wrote:
> It is an API and a tool. Once we have a mirror implementation, then that could
> clearly change. 
> 
> As of now, we don't have mirrors, and we do have a need for a library that can
> generate docs from dart code.
> 
> If we don't keep this in lib, where do you suggest putting it, given that
there
> are users of the API?
> 
> 
> On 2012/03/03 08:57:16, ahe wrote:
> > On 2012/03/02 23:07:42, Bob Nystrom wrote:
> > > On 2012/03/02 22:58:55, Ivan Posva wrote:
> > > > I don't think dartdoc is a general library that should live in lib/.
> Granted
> > > it
> > > > is a library, but I cannot see any use of it outside of the apidoc
> utility.
> > > 
> > > Dartdoc is like Javadoc (and RDoc, godoc, ReStructured Text, etc.): it's a
> > > general purpose application/library for generating documentation from any
> Dart
> > > code. Apidoc is the only thing in the repo that uses it directly, but we
> have
> > > Dart users outside of Google that use it.
> > > 
> > > - bob
> > 
> > And just like javadoc, dartdoc should not be part of the platform APIs. It
is
> a
> > tool, not an API. If it is an API, you have gotten ahead of yourself as the
> API
> > isn't based on mirrors.

Powered by Google App Engine
This is Rietveld 408576698